OR-Tools Next Release (10.0)

1,355 views
Skip to first unread message

Laurent Perron

unread,
Nov 18, 2023, 3:10:22 AM11/18/23
to or-tools-discuss
Hello all, 

a bit of announcement.

Next release should be 10.0. We aim for the end of December, early January.

The big change will be around linear and MIP solvers.
  • MPSolver is deprecated. 
  • ModelBuilder (Python, Java, .NET) is already available. This is for simple solve as there is no support for fast incremental solve (you can update the model, but the solver state is lost). I have added support for indicator constraints.
  • MathOpt will be available for Python and C++. Java will follow. C# will most likely never be implemented.
  • Currently MathOpt is already supported on the main branch with bazel. CMake support will be added for 10.0 and is being worked on.
  • For the solvers:
    • We will remove CLP/CBC from the default build. 
    • We plan to add Highs support for MathOpt.
    • SCIP is there, with the good license.
    • Gurobi is pre-loaded.
    • Our internal solvers (CP-SAT, GLOP, PDLP) are there.
    • We are working with RTE and the Fico team on supporting XPRESS-MP. RTE is working hard on the sideloading of the XPRESS-MP shared libraries (no need to recompile). This is done for MPSolver. It should be propagated to ModelBuilder. I do not know yet when it will be available for MathOpt.
    • We have just started talking with CardinalOpt. My goal is to have support with sideloading for ModelBuilder and MathOpt.
 For the rest of the tools:
  • CP-SAT python has been rewritten for PEP8 (snake_case names) after the 9.8 release. The previous CamelCase methods are still available. I will provide a sed script to rename all methods.
  • We are cleaning the graph API, removing the old code.   
Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00

aire...@gmail.com

unread,
Feb 21, 2024, 6:27:49 AM2/21/24
to or-tools-discuss
Hi Lauren, Any update, when can we use 10.0 ? I am waiting for Highs solver in mathopt API.

Laurent Perron

unread,
Feb 21, 2024, 6:34:01 AM2/21/24
to or-tools...@googlegroups.com
We are releasing 9.9 this week with math_opt c++ working, and math_opt python mostly working.

I do not recommend highs.

Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00


--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/37d25dc4-86eb-4f9f-9afe-47de71ff8c7bn%40googlegroups.com.

aire...@gmail.com

unread,
Feb 21, 2024, 6:38:06 AM2/21/24
to or-tools-discuss
Thanks and can we use math_opt python in production in 9.9 ?

Laurent Perron

unread,
Feb 21, 2024, 7:19:05 AM2/21/24
to or-tools-discuss
C++ should be stable.
We have issues dith python. 


Juan J. Lastra-Díaz

unread,
Feb 21, 2024, 7:29:05 AM2/21/24
to or-tools...@googlegroups.com
Dear Laurent,

What does it mean that MPSolver will be deprecated in 10.0version?
Do you plan to remove MPSolver from release 10.0?, or on the contrary, do you only plan to stop its development and maintenance, but this API will remain within the 10.0 distribution?.

I also suggest, if possible, to have a .NET interface for the future MathOpt API.

Thank you for your clarification.

Regards,
Juan

Laurent Perron

unread,
Feb 21, 2024, 7:31:14 AM2/21/24
to or-tools-discuss
I will not remove mpsolver, but no development will occur.

The math_opt is is busy and we do not have .net internally. You can assume it will not happen. 

Juan J. Lastra-Díaz

unread,
Feb 21, 2024, 7:58:53 AM2/21/24
to or-tools...@googlegroups.com
  Thank you so much, Laurent. It is great news that you keep the MPSolver API in future versions.

Regards,
Juan

pierpaolo...@gmail.com

unread,
Feb 22, 2024, 6:23:34 AM2/22/24
to or-tools-discuss
Am I the only one here feeling the lack of a HUGE main competitor among solvers? What about IBM CPLEX? With the right license, of course, as it is with Gurobi...

Laurent Perron

unread,
Feb 22, 2024, 6:27:17 AM2/22/24
to or-tools...@googlegroups.com
CPLEX team was fired years ago. All development has stopped.

CPLEX support is and has always been community driven, meaning we accept PR but we are not working on it.

We actually miss Cardinal Opt support. 

Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00


--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages