NO FRAMES

CPXsoswrite

int CPXPUBLIC CPXsoswrite(CPXCENVptr env, CPXCLPptr lp, const char * filename_str)
Definition file: cplex.h
Include files: cplex.h

The routine CPXsoswrite is used to write SOS information for a problem into an SOS format file.

Example

 status = CPXsoswrite (env, lp, "myprob.sos");

See also the example mipex3.c in the standard distribution.

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 SOS information should be written.

Returns:

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