Validating composition of general constraints
回答済みHi there,
I know it is possible to retrieve information about the composition of linear and quadratic constraints (such as the participating variables and their coefficients) from the model. I couldn't find any functionality that enables me to extract the variables participating in a general constraint (in python, Gurobi 8.1). Is this possible aside from parsing model.write() outputs?
Thanks
Thomas
0
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Here is an example:
http://www.gurobi.com/documentation/8.1/refman/py_model_getgenconstrmin.html
0 -
Perfect, thank you Daniel. Not sure how I missed those.
Thomas
0
投稿コメントは受け付けていません。
コメント
3件のコメント