IBM ILOG Solver User's Manual > Local Search > Combining Complete and Local Search: Locating Warehouses > Solve > Use complete search for optimization |
Use complete search for optimization |
INDEX
![]() |
If the option to use complete search has been selected, we first set the upper bound for the search. If local search has been run first, the best objective value obtained in local search is used as the upper bound. Thus, local search provides a method for pruning the search tree used by the complete search method.
We create a standard optimization goal to solve the problem. If local search has not been performed, we extract the model for the solver. We also add code to output information about how the solution is found:
After the search is complete, the best solution is restored and displayed.
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |