NO FRAMES

CPXNETgetobjsen

int CPXPUBLIC CPXNETgetobjsen(CPXCENVptr env, CPXCNETptr net)
Definition file: cplex.h
Include files: cplex.h

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);

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

net

A pointer to a CPLEX network problem object as returned by CPXNETcreateprob.

Returns:

The value 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.