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_ARRAY
operator.Added
HxModel.create_int_const_array()
to create integer constArray expressions.Added
HxModel.create_double_const_array()
to create double constArray expressions.Added
HxOperator.UNION
operator.Added
HxModel.union()
to create union expressions.
C++¶
Added
O_ConstArray
operator.Added
HxModel::createConstArray()
to create constArray expressions.Added
O_Union
operator.Added
HxModel::union_()
to create union expressions.
C#¶
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.
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.