CPXXembwrite and CPXembwrite
The routine CPXXembwrite/CPXembwrite writes out the network
embedded in the selected problem object.
int CPXXembwrite( CPXCENVptr env, CPXLPptr lp, char const * filename_str )
int CPXembwrite( CPXCENVptr env, CPXLPptr lp, char const * filename_str )
Description
The routine
CPXXembwrite/CPXembwrite
writes out the network
embedded in the selected problem object. MPS format is used. The specific
network extracted depends on the current setting of the parameter that controls
simplex network extraction level
(CPXPARAM_Network_NetFind).
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX. - lp
-
A pointer to a CPLEX problem object as returned by
CPXXcreateprob/CPXcreateprob. - filename_str
- A character string containing the name of the file to which the embedded network should be written.
Return
The routine returns 0 (zero) if successful and nonzero if an error occurs.Example
status = CPXembwrite (env, lp, "myfile.emb");