Previous Page: CPXreadcopyqpFirst PageNext Page: CPXreadcopytree

CPXreadcopysos


Usage

Mixed Integer Users Only

Description

This routine reads in SOS data from an SOS file, and copies the data into a problem object.

Return Value

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

Synopsis

int CPXreadcopysos (CPXENVptr env,
                    CPXLPptr lp,
                    char *filename);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

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

char *filename
The name of the file from which the SOS information should be read.

Example

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

Previous Page: CPXreadcopyqpFirst PageNext Page: CPXreadcopytree