|
This routine does not return a result.
void CPXchgobjsen (CPXCENVptr env, CPXLPptr lp, int maxormin); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
An integer that indicates the new sense of the problem.
CPX_MIN | ( 1 ) | new sense is minimize |
CPX_MAX | (- 1 ) | new sense is maximize |
CPXchgobjsen (env, lp, CPX_MAX); |