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

  • Added support for Python 3.6

  • Added the method LSModel.contains.

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

C++

  • 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.

C#

  • 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.

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.