james l

  • 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 james l
  • james l commented,

    Thank you, Riley. When I changed all `m._vars` to `m._varis`, the code worked fine.I did use `m._vars` in the code because I need to obtain the variable names with values greater than 0 in the call...

  • james l created a post,

    model.getVars() TypeError: unhashable type: 'slice'

    Answered

    gurobipy 11.0.3 is normal, but after I updated gurobipy 12.0.0, an error occurred when using model. getVars(). Thank you for your support and help:allvars = m.getVars()  File "src\\gurobipy\\_model...