3 ms·
Yeah. GUROBI makes it really easy to just do something like m.addConstr(x+y<=limit); Where m is a model object, x & y are decision variables and limit is a co
by 7thaccount 3y ago
Yeah. GUROBI makes it really easy to just do something like
m.addConstr(x+y<=limit);
Where m is a model object, x & y are decision variables and limit is a constant.
The above is a no brainer for any business expert. Some solvers are a LOT more low level though and you have to think of the problem in matrix form and specify row/column stuff and it's a lot more involved and assumes significantly more knowledge of the user than the former.
- TimTheTinker 3y agoGurobi does require you to iterate over doubly-nested arrays frequently (like when establishing a constraint between two entity sets)