NO FRAMES

CPXclpwrite

public int CPXclpwrite(CPXCENVptr env, CPXCLPptr lp, const char * filename_str)
Definition file: cplex.h

After CPXrefineconflict or CPXrefineconflictext has been invoked on an infeasible model to identify a minimal set of constraints that are in conflict, this routine will write an LP format file containing the identified conflict. The names will be modified to conform to LP format.

Parameters:

env

A pointer to the CPLEX environment as returned by the routine CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

filename_str

Pointer to a character string naming the file.

Returns:

The routine returns zero if successful and nonzero if an error occurs.