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

sym_get_obj_sense

int sym_get_obj_sense(sym_environment *env, int *sense)

Description:

This routine is used to get the objective sense.

Arguments:

sym_environment *env IN Pointer to the SYMPHONY environment.
int *sense OUT Pointer to an integer indicating the objective sense. In return, it will be 1 in case of minimization and -1 in case of maximization.

Return values:

FUNCTION_TERMINATED_ABNORMALLY Function invoked unsuccessfully.
FUNCTION_TERMINATED_NORMALLY Function invoked successfully.





Ted Ralphs
2004-11-11