Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETchgobjsen
is used to change the sense of
the network problem to a minimization or maximization problem.
Any solution information stored in the problem object is lost.
CPX_MAX | For a maximization problem. |
CPX_MIN | For a minimization problem. |
Example
status = CPXNETchgobjsen (env, net, CPX_MAX);
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
maxormin | New optimization sense for the network problem. The possible values are in the table. |