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¶
Added
constArray()operator.Added
union()operator.
Python¶
Added
HxOperator.CONST_ARRAYoperator.Added
HxModel.create_int_const_array()to create integer constArray expressions.Added
HxModel.create_double_const_array()to create double constArray expressions.Added
HxOperator.UNIONoperator.Added
HxModel.union()to create union expressions.
C++¶
Added
O_ConstArrayoperator.Added
HxModel::createConstArray()to create constArray expressions.Added
O_Unionoperator.Added
HxModel::union_()to create union expressions.
C#¶
Added
HxOperator.ConstArrayoperator.Added
HxModel.CreateIntConstArrayto create integer constArray expressions.Added
HxModel.CreateDoubleConstArrayto create double constArray expressions.Added
HxOperator.Unionoperator.Added
HxModel.Unionto create union expressions.
Java¶
Added
HxOperator.ConstArrayoperator.Added
HxModel.createIntConstArrayto create integer constArray expressions.Added
HxModel.createDoubleConstArrayto create double constArray expressions.Added
HxOperator.Unionoperator.Added
HxModel.Unionto create union expressions.