An existing filter file (such as one you create in your favorite text editor, or one you have saved from a previous session) can be added to your application and associated with the solution pool by one of these means:
-
Concert Technology
-
CPXreadcopysolnpoolfilters
routine of the Callable Library;
-
read
filename flt
command of the Interactive Optimizer.
The diversity and range filters already associated with a solution pool can be saved in a formatted file, as explained in Filter Files in the ILOG CPLEX User's Manual.
-
In Concert Technology,
-
In the Callable Library, use the routine
CPXfltwrite
.
-
write
filename flt
command of the Interactive Optimizer, where filename is the name of a file that the user supplies, and flt
specifies the format of the file .