Reputation: 1361
I am trying to use Gurobi's MVar class.
MVar
import gurobipy as gp m = gp.Model() v = m.addMVar((10,)) v.lb # raises GurobiError, index out of range...
Upvotes: 0
Views: 119
Call
m.update()
before accessing lb.
lb
Upvotes: 1