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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Populating the Solution Pool<strong>ILOG</strong> <strong>CPLEX</strong> also provides a procedure specifically to generate multiple solutions. You caninvoke this procedure either as an alternative to the usual MIP optimizer or as a successor tothe MIP optimizer. You can also invoke this procedure many times in a row in order toexplore the solution space differently. In particular, you may invoke this procedure multipletimes to find additional solutions, especially if the first solutions found are not satisfactory.The following sections tell you more about the populate procedure:◆ Invoking the Populate Procedure on page 306◆ Algorithm of the Populate Procedure on page 306◆ Example: Calling Populate on page 307◆ Stopping Criteria for the Populate Procedure on page 309Invoking the Populate ProcedureThe populate procedure is available in all application programming interfaces (APIs) of<strong>ILOG</strong> <strong>CPLEX</strong>.◆◆◆In Concert Technology, you invoke this procedure by means of the method:●●●IloCplex::populate in the C++ API.IloCplex.populate in the Java API.Cplex.Populate in the .NET API.In the Callable Library (C API), you invoke this procedure by means of the routineCPXpopulate.In the Interactive Optimizer, you invoke this procedure by means of the commandpopulate.For examples of populating the solution pool in an application, seeyour<strong>CPLEX</strong>installation/examples/src/populate.c and ilopopulate.cpp aswell as Populate.java and Populate.cs.Algorithm of the Populate ProcedureBriefly, the algorithm that populates the solution pool works in two phases.In the first phase, it solves the model to optimality (or some stopping criterion set by theuser) while it sets up a search tree for the second phase.In the second phase, it generates multiple solutions by using the information computed andstored in the first phase and by continuing to explore the tree.306 <strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL

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

Saved successfully!

Ooh no, something went wrong!