Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETprimopt
can be called after a network
problem has been copied to a network problem object, to find a solution to
that problem using the primal network simplex method. When this function is
called, the CPLEX primal network algorithm attempts to optimize the problem.
The results of the optimization are recorded in the problem object and can
be retrieved by calling the appropriate solution functions for that
object.
Example
status = CPXNETprimopt (env, net);
See also the examples netex1.c
and netex2.c
in the standard distribution of the product.
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
CPXNETsolninfo
, CPXNETgetstat
, and CPXNETsolution
to obtain further information about the status of the optimization.