The routine returns a zero on success, and a nonzero if an error occurs.
int CPXcopynettolp (CPXCENVptr env, CPXLPptr lp CPXCNETptr net); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
A pointer to a CPLEX network problem object containing the network problem to be copied.
status = CPXcopynettolp (env, lp, net); |