LocalSolver 7.5

API Changes

LSP

  • The built-in function contains() has been added.

  • The field value now returns the array value if the expression is an array.

Python

C++

C#

Java

  • Added the method LSModel.contains().

  • The array value of an array expression can now be obtained with the methods LSExpression.getArrayValue() or LSSolution.getArrayValue(). These methods both return an object of type LSArray.