Hexaly Optimizer 13.5

Modeling operators

Intersection

Intersection operator can now be used on intervals. If the two intervals are disjoint, the empty interval is returned.

ConstArray

Constant array operator is a collection of double or integer constant elements. Unlike classical arrays, its elements are not contained in operands. Using constant arrays instead of classical arrays will reduce the number of operands in the model and improve memory usage when setting up the model.

Union

Union operator accepts n operands of type collection or integer array. The operator returns an unordered set composed of the values present in at least one of the operands.

API Changes

Hexaly Modeler

Python

C++

C#

Java

  • Added HxOperator.ConstArray operator.

  • Added HxModel.createIntConstArray to create integer constArray expressions.

  • Added HxModel.createDoubleConstArray to create double constArray expressions.

  • Added HxOperator.Union operator.

  • Added HxModel.Union to create union expressions.