int sym_set_obj_sense(sym_environment *env, int sense)
This routine is used to set the objective sense. By default, SYMPHONY will solve a minimization problem.
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. |
FUNCTION_TERMINATED_NORMALLY | Function invoked successfully. |
FUNCTION_TERMINATED_ABNORMALLY | Function invoked unsuccessfully |