LocalSolver logo
is now
Hexaly logo

We're excited to share that we are moving forward. We're leaving behind the LocalSolver brand and transitioning to our new identity: Hexaly. This represents a leap forward in our mission to enable every organization to make better decisions faster when faced with operational and strategic challenges.

This page is for an old version of Hexaly Optimizer. We recommend that you update your version and read the documentation for the latest stable release.

LocalSolver 6.0

Release notes

  • Native functions have been added to the set of modeling features. You can use these expressions to define your own custom mathematical operators. See the section on native functions for more details.

  • Two new callback types have been added. You can now provide a callback function that will be executed every time tick or every iteration tick. The frequency of ticks can be modified via the solver’s parameters.

API Changes

LSP

Python

C++

C#

Java

  • Removed the callback type LScallbackType.Ticked.

  • Added the method LSParam.setIterationBetweenTicks().

  • Added the callback type LSCallbackType.IterationTicked.

  • Added the method LSParam.setTimeBetweenTicks().

  • Added the callback type LSCallbackType.TimeTicked.

  • Native functions can be created with the method LSModel.createNativeFunction() or with with the dedicated shortcut LSModel.nativeFunction().

  • Added the operator LSOperator.NativeFunction.

  • Native functions can be called in the model with the method LSModel.call().