Mathematical operators available for modeling. These operators are used to type the expressions created in LocalSolverBlackBox mathematical optimization model.
As other enumerations present in the localsolverblackbox module, LSBBOperator is enumerable and indexable:
print (LSBBOperator) # Shows LSBBOperator.BOOL print (LSBBState.BOOL.value) # Shows 0 # Iterates over the members of LSBBOperator for e in LSBBOperator: print e
Boolean decision. Decisional operator with no operand. Decision variable with domain
Integer decision variable. Decisional operator with two operands min and max. Decision variable with domain
Float decision. Decisional operator with two operands min and max. Decision variable with domain
Constant. Unary operator. Can be equal to any integer.
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