Simple quick question

17 views
Skip to first unread message

LJN

unread,
Oct 5, 2015, 9:28:28 AM10/5/15
to Gurobi Optimization
Hi All,

Under gurobipy, when using Model.getConstrs(), are the elements of the returned list of constraints always in the same order in which the constraints were declared? I appears to be that way, although I would like to make sure.

Thanks you,  

Renan Garcia

unread,
Oct 5, 2015, 9:32:24 AM10/5/15
to gur...@googlegroups.com
Yes, they should be returned in the same order in which they were added to the model.

--

---
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.

Reply all
Reply to author
Forward
0 new messages