| IBM ILOG Solver User's Manual > Local Search > Combining Complete and Local Search: Locating Warehouses > Solve > Use local search |
Use local search |
INDEX
PREVIOUS
NEXT
|
We create a goal to generate an initial solution, using the goal IloSetOffer. After execution of this goal we store the initial solution in both our solution instances.
We perform the local search if desired. We build the subgoal to pass to the TabuSearch function. This subgoal is an instance of IloSetOffer and will open warehouses to customers at each move. When local search is complete, we take the value of the best solution as an upper bound and store it.
| © Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |