Previous Page: CPXprimoptFirst PageNext Page: CPXreadcopybase

CPXqpwrite


Usage

Barrier Users Only

Description

The CPXqpwrite() routine is used to write a QP format file corresponding to the quadratic coefficient matrix of the problem object.

Return Value

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

Synopsis

int CPXqpwrite (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
A character string containing the name of the file to which the QP information should be written.

Example

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

Previous Page: CPXprimoptFirst PageNext Page: CPXreadcopybase