NO FRAMES

CPXcopynettolp

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

The routine CPXcopynettolp copies 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 if successful and nonzero if an error occurs.