int sym_is_binary(sym_environment *env, int index, int *value)
This routine is used to learn whether the queried variable is binary.
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. |
FUNCTION_TERMINATED_ABNORMALLY | Function invoked unsuccessfully. |
FUNCTION_TERMINATED_NORMALLY | Function invoked successfully. |