CPMpy / cpmpy

Constraint Programming and Modeling library in Python, based on numpy, with direct solver access.
Apache License 2.0
227 stars 24 forks source link

Run constraint testsuite on all solvers #112

Closed IgnaceBleukx closed 1 year ago

IgnaceBleukx commented 2 years ago

When the Gurobi solver was added to the CPMpy library, tests for all flattened constraints were added in /tests/test_constraints.py.

Still to be done is running this suite on OR-tools and Minizinc solvers (and Pysat when int-to-bool is implemented)

IgnaceBleukx commented 2 years ago

Minizinc:

OR-Tools:

Pysat:

Gurobi:

Solver agnostic:

Wout4 commented 1 year ago

we only support integer division (//), and the test_constraints test-suite is now ran on all supported solvers