Gurobipy getConstrByName not working with quadratic constraints
AnsweredI have a quadratic model that i am reading from an MPS file. I was able to find my linear constraints using getConstrByName but is there any similar method for the Quadratic Constraints?
0
-
Hi,
You can retrieve the quadratic constraints in the model by using the Model.getQConstrs() method.Best Regards,
-Ahmed0
Please sign in to leave a comment.
Comments
1 comment