m.addConstr(y1<=x1+x2+x3);---(1)
could be added efficiently, however, is there any efficient way to change the constraint to
m.addConstr(y1<=x1+x2+x3+x4);---(2)
i know that i could remove by
m.remove(y1<=x1+x2+x3)
m.addConstr(y1<=x1+x2+x3+x4);
however, imagining that our problem is much much larger (tens thousands of constraints and variables).... How could we achieve this? Thank you.
--
---
You received this message because you are subscribed to the Google Groups "Gurobi Optimization" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gurobi+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
m.addConstr(y1<=x1+x2+x3);
m.addConstr(y1<=x1+x2+x3+x42154461318784);
m.addConstr(y1<=x1+x2+x3+x254215423145130379169);