Menglei Ji

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

Activity overview

Latest activity by Menglei Ji
  • Menglei Ji commented,

    Hi Eli, Thanks for your response. I still have a question about addGenConstrNorm.       alpha = model.addVars (I, S,lb=-GRB.INFINITY, vtype=GRB.CONTINUOUS, name= 'alpha')      beta = model.addVars ...

  • Menglei Ji created a post,

    How to use addGenConstrMax function?

    Answered

    Hi there, when I use this sentence to add the infinity norm constraint: model.addGenConstrMax(b, [a_pos[i] + a_neg[i] for i in I])    there is an error: 'GurobiError: Invalid data in vars array'. C...