Hernani Delgado Chantre

  • Gurobi-versary
  • Conversationalist
  • First Question
  • Total activity 11
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 3

Comments

Recent activity by Hernani Delgado Chantre Recent activity Votes
  • Hi Matthias, Thank you for quick response, regarding to the code of the constraint for your experience it seems correct or there is any suggestion you would like to share. Regards, Hernani

  • Dear all, I have this constraint (2) where x_uvik is binary decision variable and r_u, r_m and R_v are parameters to the problem.  I coded the problem as follow: But when I run my program with this...

  • Hi Matthias, Sorry I did not make it clear but the decision variables are x_uvik, r_u[u] and r_u[m] and R_v[v] are constants. Regards, Hernani  

  • Hi Matthias, thank you for the your advise it solved my problem this is how i solve the problem, adding new auxiliary variables and than passing it to the model.addGenConstrMax(psi_ui[u,i,k],maxVar...

  • Hi Matthias, thank you in advance for you time, I wrote the problem as follow for u in U:    for i in range(C_u[u]):        for k in range(K):             model.addConstr(psi_ui[u,i,k] == max_([ta...