NO FRAMES

CPXqpwrite

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

The routine CPXqpwrite is used to write a QP format file corresponding to the quadratic coefficient matrix of the problem object. This format is described in detail in the reference manual ILOG CPLEX File Formats.

Example

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

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

Returns:

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