sym_set_obj_sense

int sym_set_obj_sense(sym_environment *env, int sense)

Description:

This routine is used to set the objective sense. By default, SYMPHONY will solve a minimization problem.

Arguments:

sym_environment *env INOUT Pointer to the SYMPHONY environment.
int sense IN New sense of the objective function. It can be 1 and -1 for minimization and maximization. Otherwise, SYMPHONY will assume the objective sense to be minimization.

Return values:

FUNCTION_TERMINATED_NORMALLY Function invoked successfully.
FUNCTION_TERMINATED_ABNORMALLY Function invoked unsuccessfully