Description
The routine CPXembwrite() is used to write out the network embedded in the selected problem object. The file is written in MPS format. The specific network extracted depends on the current setting of the CPX_PARAM_NETFIND parameter.Return Value
The routine returns a zero on success, and a nonzero if an error occurs.Synopsis
int CPXembwrite (CPXENVptr env,
CPXLPptr lp,
char *filename);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
char *filenameA character string containing the name of the file to which the embedded network should be written.
status = CPXembwrite (env, lp, "myfile.emb");