12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Filling the Solution PoolThere are two ways to fill the solution pool associated with a model:◆You can accumulate successive incumbents, as explained in Accumulating Incumbents inthe Solution Pool on page 305.◆ You can generate alternative solutions, as explained in Populating the Solution Pool onpage 306.The difference between those ways is explained in Choosing Whether to Accumulate orPopulate on page 310.Other details about filling and managing the solution pool are explained in DeletingSolutions from the Solution Pool on page 319 and Model Changes and the Solution Pool onpage 315.Accumulating Incumbents in the Solution PoolMIP optimization automatically adds incumbents to the solution pool as they are discoveredwhen you call it in one of these conventional ways:◆In Concert Technology, you invoke MIP optimization by means of one of these methods:●●●IloCplex::solve in the C++ API.IloCplex.solve in the Java API.Cplex.Solve in the .NET API.◆ In the Callable Library (C API), you invoke the MIP optimizer by means of the routineCPXmipopt.◆ In the Interactive Optimizer, you invoke the command mipopt.For example, if you read the model of Example: Simple Facility Location Problem onpage 302 into the Interactive Optimizer and invoke the usual command mipopt, MIPoptimization finds solutions that it stores in the solution pool, and the log looks somethinglike this (allowing for variation in the MIP path):Solution pool: 4 solutions saved.MIP - Integer optimal solution: Objective = 4.9900000000e+02Solution time = 0.12 sec. Iterations = 197 Nodes = 33<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 305

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!