yikun wang

  • Gurobi-versary
  • First Comment
  • First Question
  • Total activity 10
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 4

Posts

Recent activity by yikun wang Recent activity Votes
  • how to solve the max-min routing question?

    Awaiting user input

    Hi folks,  I encountered an issue when I tried to solve the problem: we have `U` city pairs, and we know precisely the possible slot that can place a router. If we just want to use $N_need$ routers...

  • how to count a specific number in the Var list

    Answered

    Hi there, I wonder how to count a specific number in the Var list. For example, my variable is X, and it is defined as (m.addVars(M, N, vtype=GRB.CONTINUOUS),lb=0, ub=1, and I want to limit total t...

  • Is there any function like count(X) in gurobi?

    Answered

    Hi there, I wonder how to count a specific number in the Var list. For example, my variable is X, and it is defined as (m.addVars(M, N, vtype=GRB.CONTINUOUS),lb=0, ub=1, and I want to limit total t...

  • How to limit the occurrences of variables with a specific value?

    Answered

    Hi there, I wonder how to count a specific number in the Var list. For example, my variable is X, and it is defined as (m.addVars(M, N, vtype=GRB.CONTINUOUS),lb=0, ub=1, and I want to limit total t...