CPXXclpwrite and CPXclpwrite
After CPXXrefineconflict/CPXrefineconflict or CPXXrefineconflictext/CPXrefineconflictext
has been invoked on an infeasible problem to identify a minimal set of
constraints that are in conflict, this routine will write an LP format file
containing the identified conflict.
int CPXXclpwrite( CPXCENVptr env, CPXCLPptr lp, char const * filename_str )
int CPXclpwrite( CPXCENVptr env, CPXCLPptr lp, char const * filename_str )
Description
After CPXXrefineconflict/CPXrefineconflict or CPXXrefineconflictext/CPXrefineconflictext
has been invoked on an infeasible problem 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.
Arguments
- env
-
A pointer to the CPLEX environment as returned by the routine
CPXXopenCPLEX/CPXopenCPLEX. - lp
-
A pointer to a CPLEX problem object as returned by
CPXXcreateprob/CPXcreateprob. - filename_str
- Pointer to a character string naming the file.
Return
The routine returns 0 (zero) if successful and nonzero if an error occurs.Example
status = CPXclpwrite (env, lp, "myfilename.clp");