Tomás Rocha

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

Activity overview

Latest activity by Tomás Rocha
  • Tomás Rocha commented,

    Your solution is correct and solved the problem, thank you very much! Best regards, Tomás

  • Tomás Rocha commented,

    Thank you for the quick response! I am not sure if conditional sum is the correct term but I was referring to the summation where the range is dependent on another index, in this case k. Yes!, I ge...

  • Tomás Rocha created a post,

    How to write a conditional summation?

    Answered

    I am modeling the following constraints using Python and Gurobi: I tried to model it as the line bellow, where Nd[k] is equivalent to Nk ∪ {d(k)} m.addConstrs(quicksum(x[i, j, k] for k in K for j ...