NO FRAMES

CPXcopynettolp

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

The routine CPXcopynettolp is used to copy a network problem stored in a network problem object to a CPLEX problem object (as an LP). Any problem data previously stored in the CPLEX problem object is overridden.

Example

 status = CPXcopynettolp (env, lp, net);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

net

A pointer to a CPLEX network problem object containing the network problem to be copied.

Example

 status = CPXcopynettolp (env, lp, net);
 

Returns:

The routine returns zero on success and nonzero if an error occurs.