Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETgetobjsen
returns the sense of the
objective function, that is, maximization or minimization, of a network
problem object.
Example
objsen = CPXNETgetobjsen (env, net);
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
CPX_MAX
(-1) is returned for a maximization problem; the value CPX_MIN
(1) is returned for a minimization problem. In case of an error, the value zero is returned.