NO FRAMES

CPXembwrite

public int CPXembwrite(CPXCENVptr env, CPXLPptr lp, const char * filename_str)
Definition file: cplex.h

The routine CPXembwrite is used to write out the network embedded in the selected problem object. MPS format is used. The specific network extracted depends on the current setting of the CPX_PARAM_NETFIND parameter.

Example

 status = CPXembwrite (env, lp, "myfile.emb");

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

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

filename_str

A character string containing the name of the file to which the embedded network should be written.

Example

 status = CPXembwrite (env, lp, "myfile.emb");

Returns:

The routine returns zero if successful and nonzero if an error occurs.