This page is for an old version of Hexaly Optimizer. We recommend that you update your version and read the documentation for the latest stable release.

LSBBOperator Enumeration

enum localsolverblackbox::LSBBOperator

Mathematical operators available for modeling.

These operators are used to type the expressions created in LocalSolverBlackBox mathematical optimization model.

See:LSBBModel
See:LSBBExpression

O_Bool

Boolean decision.

Decisional operator with no operand. Decision variable with domain {0,1}.

O_Int

Integer decision variable.

Decisional operator with two operands min and max. Decision variable with domain [min,max].

O_Float

Float decision.

Decisional operator with two operands min and max. Decision variable with domain [min,max].

O_Const

Constant.

Unary operator. Can be equal to any integer. Note that constants 0 or 1 are considered as boolean.

O_NativeFunction

Native function.

Native functions are used to retrieve the value of expressions from external functions written with your favorite language. Native functions are created with the dedicated method LSBBModel#createNativeFunction.

See:LSBBNativeFunction

O_Call

Call a particular function.

The first operand must be a function (like O_NativeFunction). The other operands are passed to the function as arguments.