<< sym_isBinary Symphony Native Functions sym_isEnvActive >>

FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isContinuous

sym_isContinuous

Check if a variable is continuous

Calling Sequence

sym_isContinuous(index)

Description

This function checks if a variable is continuous.

Arguments

index

Index of the variable to check. Must be in {0,1,2,...n-1} where n is the number of variables in the problem

Return value

Returns 1 if the variable is continuous and 0 if it is not.

Examples

sym_isContinuous(2)

Authors


Report an issue
<< sym_isBinary Symphony Native Functions sym_isEnvActive >>