This is a major release that adds adapters for new Constraint and Linear/MIP solvers and updates the existing adapters to the latest releases of open-sourced solvers. It was done with help from OpenAI Codex.
Constraint Solvers
The following Constraint Solvers are supported by JSR 331, listed in alphabetical order:
- CHOCO version 6.0.1
- CONSTRAINER version 5.4.4 (JSR 331-specific version supported by OpenRules)
- JACOP version 4.10.0
- JSETL version 3.0
- MAXICP version 1.0.0
- SUGAR version 2.1.3
All these solvers are open-sourced.
Linear/MIP Solvers
The following Linear/MIP Solvers are supported by JSR 331, listed in alphabetical order:
- CLP version 3.0.0 (a linear/MIP programming library based on the Coin-OR CLP linear solver)
- COIN version 1.8.0
- CPLEX
- GLPK version 4-65
- GUROBI version 5.0.1
- LPSOLVE version 5.5.2
- OJALGO version 57.6.2
- SCIP version 10
- SSC version 4.7.8
All these solvers except CPLEX and GUROBI are open-sourced.
A preferred solver can be defined by the property SOLVER in the bat-file or sh-file that runs your model. The names of solvers should use all capital letters as shown above. If the property SOLVER is not defined the default constraint solver is MAXICP and the default linear/MIP solver is SCIP.
To use Rule Solver, you need JDK 21 or higher to be installed.