Skip to content

Indicator constraints in linear solver #3907

Closed Answered by lperron
SYury asked this question in Linear Solver questions
Discussion options

You must be logged in to vote

Currently, the MPSolver interface does not offer it.
Math-opt (in development) will offers this natively. Currently, it is C++ only using Bazel (and not cmake). We will soon support CMake and python.

If your problem only uses integer or Boolean variables, you can use the native CP-SAT API. It supports indicator constraints natively, in all languages.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SYury
Comment options

Answer selected by SYury
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants