Open
Description
There are many constraint handlers that haven't been brought over to PySCIPOpt. It can be useful to have them when trying to query/alter transformed constraints, as mentioned in #941.
This issue will track the progress of interfacing all these methods. Some handlers may be left out, and it's not reasonable to expect all methods to be interfaced, let alone tested.
- AND Support for AND-constraints #980
- benders
- benderslp
- bounddisjunction
- cardinality Add support for cardinality constraints #982
- conjunction
- countsols
- cumulative
- disjunction
- indicator Add support for indicator constraints #981
- integral
- knapsack Add support for knapsack constraints #975
- linear
- linking
- logicor
- nonlinear
- or Add support for OR-constraints #983
- orbisack
- orbitope
- pseudoboolean
- setppc
- sos1 Add support for SOS1 constraints #984
- sos2
- superindicator
- symresack
- varbound
- xor
- rpa
- optcumulative
Not marking anything yet because there are some methods that can be easily wrapped (e.g., SCIPgetNVarsAnd
, even though there already is some partial support for AND constraints).
Please let us know in case you have some feedback or would like to contribute. Most of the work should be easy, there's just a lot of it.