CPXXreadcopysolnpoolfilters and CPXreadcopysolnpoolfilters

The routine CPXXreadcopysolnpoolfilters/CPXreadcopysolnpoolfilters reads solution pool filters from an FLT format file and copies the filters into a CPLEX problem object.

int  CPXXreadcopysolnpoolfilters( CPXCENVptr env, CPXLPptr lp, char const * filename_str )

int  CPXreadcopysolnpoolfilters( CPXCENVptr env, CPXLPptr lp, char const * filename_str )

Description

The routine CPXXreadcopysolnpoolfilters/CPXreadcopysolnpoolfilters reads solution pool filters from an FLT format file and copies the filters into a CPLEX problem object. This operation replaces all existing filters previously associated with the CPLEX problem object. This format is documented in the CPLEX File Formats Reference Manual.

Arguments

env
A pointer to the CPLEX environment as returned by CPXXopenCPLEX/CPXopenCPLEX.
lp
A pointer to a CPLEX problem object as returned by CPXXcreateprob/CPXcreateprob.
filename_str
The name of the file from which the filters should be read.

Return

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

Example


 status = CPXreadcopysolnpoolfilters (env, lp, "myfilters.flt");