Python/Mathopt: access to Gurobi's addGenConstrIndicator #4403
Answered
by
sschnug
quentinplsrd
asked this question in
Linear Solver questions
-
In the current version of python mathopt, is there a way to generate an indicator constraint? |
Beta Was this translation helpful? Give feedback.
Answered by
sschnug
Oct 8, 2024
Replies: 1 comment 1 reply
-
I guess so. See:
(There are surely some steps in-between one should check to make sure the information of the model is passed on to gurobi) EDIT: Oops. Did not see your python requirement. It "looks" to me that this is not wrapped yet but it will surely land eventually. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rma350
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I guess so. See:
message IndicatorConstraintProto
AddIndicator(...)
(There are surely some steps in-between one should check to make sure the information of the model is passed on to gurobi)
EDIT: Oops. Did not see your python requirement. It "looks" to me that this is not wrapped yet but it will surely land eventually.