Roee Idan

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

Activity overview

Latest activity by Roee Idan
  • Roee Idan commented,

    Hi Ryuta, Thank you very much  for the reply, Do you mean something like this: b = m.addMVar(shape=len(numpy_h), vtype=gp.GRB.BINARY, name="b") epsilon = 1e-6 for i in range(len(numpy_h)):  ...

  • Roee Idan commented,

    Hi Riley, Is there a way to use matrix-style operations with boolean variables to define indicator constraints? Specifically, I'm looking to avoid indexing individual elements of MVars while defini...

  • Roee Idan created a post,

    Constraining on parts of vector

    Answered

    I am working on a Gurobi model where I have defined a vector y as a constraint using other variables. Here is the relevant part of my code: python Copy code index_sets = [{0, 1, 2}, {3, 4}, {2, 6...