CPXembwrite


Description

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.

Return Value

The routine returns a zero on success, and a nonzero if an error occurs.

Synopsis

  int CPXembwrite (CPXCENVptr env,
                   CPXLPptr lp,
                   const char *filename_str);

Arguments

CPXCENVptr env

The pointer to the CPLEX environment as returned by CPXopenCPLEX().

CPXLPptr lp

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

const char *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");


Previous Page: CPXdualwrite Return to Top Next Page: CPXfclose