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
-
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
サインインしてコメントを残してください。
コメント
2件のコメント