next up previous contents Back to SYMPHONY Home Page
Next: sym_is_integer Up: Data Query Functions Previous: sym_is_continuous

sym_is_binary

int sym_is_binary(sym_environment *env, int index, int *value)

Description:

This routine is used to learn whether the queried variable is binary.

Arguments:

sym_environment *env IN Pointer to the SYMPHONY environment.
int index IN The index of the queried variable. Note that, it has to be at most the number of columns.
int *value OUT Pointer to a boolean indicating the variable status.

Return values:

FUNCTION_TERMINATED_ABNORMALLY Function invoked unsuccessfully.
FUNCTION_TERMINATED_NORMALLY Function invoked successfully.





Ted Ralphs
2004-11-11