ILOG CPLEX 11.0 User's Manual > Discrete Optimization > Solution Pool: Generating and Keeping Multiple Solutions > Examining the Solution Pool

In the Interactive Optimizer, the command display solution pool produces a synopsis about the solution pool.

Also in the Interactive Optimizer, the command display solution list shows the objective value of solutions in the pool, along with the percentage of discrete variables that take a value different from the incumbent. To display all solutions in the pool, use display solution list *. Alternatively, you can specify the indices of the solutions to display, for example: display solution list 2-4.

The information displayed by both of these commands in the Interactive Optimizer is available through methods or routines in Concert Technology and the Callable Library, as shown in Table 15.1.

Table 15.1 summarizes methods, routines, and commands that access aggregated information about the solution pool itself, such information as the number of solutions in the pool, the number of solutions that have been replaced, and the arithmetic mean of the objective value of solutions in the pool.

Solutions are replaced, according to the replacement policy, when the pool reaches the limit on its capacity. In the presence of an objective tolerance specific to the solution pool, as specified either by the relative gap parameter (SolnPoolGap, CPX_PARAM_SOLNPOOLGAP) or by the absolute gap parameter (SolnPoolAGap, CPX_PARAM_SOLNPOOLAGAP), solutions that are generated but then deleted because of the improvement in the best integer value are also counted as replaced.

Table 15.1 Accessing information about the solution pool
Purpose 
Concert method 
Callable Library routine 
Interactive Optimizer command 
Number of solutions 
getSolnPoolNsolns 
CPXgetsolnpoolnumsolns 
display solution pool 
Number replaced 
getSolnPoolNreplaced 
CPXPgetsolnpoolnumreplaced 
display solution pool 
Arithmetic mean of objective values 
getSolnPoolMeanObjValue 
CPXPgetsolnpoolmeanobjval 
display solution pool