sym_is_binary

[f]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
2010-03-24