jijzepttools.modeling.utils.type#

Attributes#

Functions#

union_to_tuple(→ Tuple[Type, Ellipsis])

is_decision_variable(→ bool)

Check if the jijmodeling object is a decision variable.

Module Contents#

DecisionVar#
UnaryOp#
BinaryOp#
CommutativeOp#
ReductionOp#
ConditionalOp#
LogicalOp#
ConstantExpr#
Subscript#
PrimaryExpr#
ConditionalExpr#
Expr#
RangeExpr#
ElementExpr#
ArrayLengthExpr#
NumberValue#
NonZeroIndices#
NonZeroValues#
Shape#
SparseSolution#
FIXED_VARS_INTERFACE#
union_to_tuple(input_type: Type) Tuple[Type, Ellipsis]#
DecisionVarTuple = ()#
is_decision_variable(obj) bool#

Check if the jijmodeling object is a decision variable.

Parameters:

obj (object) – Object.

Returns:

True if the object is a decision variable.

Return type:

bool