Skip to content

Add support for all constraint types #977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
29 tasks
Joao-Dionisio opened this issue Apr 22, 2025 · 0 comments
Open
29 tasks

Add support for all constraint types #977

Joao-Dionisio opened this issue Apr 22, 2025 · 0 comments

Comments

@Joao-Dionisio
Copy link
Member

Joao-Dionisio commented Apr 22, 2025

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
  • benders
  • benderslp
  • bounddisjunction
  • cardinality
  • conjunction
  • countsols
  • cumulative
  • disjunction
  • indicator
  • integral
  • knapsack Add support for knapsack constraints #975
  • linear
  • linking
  • logicor
  • nonlinear
  • or
  • orbisack
  • orbitope
  • pseudoboolean
  • setppc
  • sos1
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant