Previous Page: CPXreadcopyprobFirst PageNext Page: CPXreadcopysos

CPXreadcopyqp


Usage

Barrier Users Only

Description

This routine reads in a QP file specified by the parameter filename and then copies the quadratic matrix data into the CPLEX LP problem object.

Return Value

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

Synopsis

int CPXreadcopyqp (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 QP information should be read.

Example

status = CPXreadcopyqp (env, lp, "myprob.qp");

Previous Page: CPXreadcopyprobFirst PageNext Page: CPXreadcopysos