Juan De Dios Diaz

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

Activity overview

Latest activity by Juan De Dios Diaz
  • Juan De Dios Diaz created a post,

    Constraint Programming

    Open

    Hi, i need to program this constraint and i have this code line: model.addConstrs((quicksum(X[e, t_prima, s] for t_prima in range(t, t + 4)) <= 3 for e in E for t in range(1, len(T) - 2) for s in...

  • Juan De Dios Diaz commented,

    Can you give me de code line please?

  • Juan De Dios Diaz created a post,

    Binary Variable Activation

    Answered

    Hi, i need to activate the Variable Z[i,j] according to: G(i,j)>MG(i,j), then Z[i,j]=1 G(i,j)<=MG(i,j) then Z[i,j]=0 I need to do it with the big M technique PD: G(i,j) and MG(i,j) are parameters.