search strategies for an anytime usage of the branch and prune

16
The Branch and Prune Algorithm The Most Distant First Strategy The Depth and Most Distant First Strategy Experiments Conclusion and Future Work Search Strategies for an Anytime Usage of the Branch and Prune Algorithm R. Chenouard 1 , A. Goldsztejn 2 and C. Jermann 1 SWIM 2009 1 Lina UMR CNRS 6241, University of Nantes, France 2 CNRS, Lina UMR CNRS 6241, France LABORATOIRE D'INFORMATIQUE DE NANTES ATLANTIQUE lin R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 1/16

Upload: others

Post on 03-Feb-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

Search Strategies for an Anytime Usageof the Branch and Prune Algorithm

R. Chenouard1, A. Goldsztejn2 and C. Jermann1

SWIM 2009

1 Lina UMR CNRS 6241, University of Nantes, France2 CNRS, Lina UMR CNRS 6241, France

LABORATOIRE D'INFORMATIQUEDE NANTES ATLANTIQUE

linR. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 1/16

Page 2: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

IntroductionExisting StrategiesIdeal Strategy for an Anytime Usage

The Branch and Prune AlgorithmAlternates search (branch) and filtering (prune).⇒ set of ε-boxes covering the solution set.

I Boxes to be processed : L

I Computed ε-boxes : S (can be post-processed)

Search IssueHow to choose the next box to process in L ?

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 2/16

Page 3: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

IntroductionExisting StrategiesIdeal Strategy for an Anytime Usage

Breadth-First Search

Principle of BFSSelects boxes in L following a FIFO strategy.

Main behaviorExplores uniformely the whole search space.

⇒ At time Ti no ε-boxes are computed.

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 3/16

Page 4: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

IntroductionExisting StrategiesIdeal Strategy for an Anytime Usage

Depth-First Search

Principle of DFSSelects boxes in L following a LIFO strategy.

Main behaviorDescends rapidly to ε-boxes then finds them by neighborhood.

⇒ At time Ti many similiar ε-boxes are computed.

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 4/16

Page 5: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

IntroductionExisting StrategiesIdeal Strategy for an Anytime Usage

Ideal Search Strategy for an Anytime UsagePrincipleSelects boxes in L mixing BFS and DFS principles.

Main behaviorExplores uniformely the whole search space and findwell-ditributed ε-boxes at early stage of the search.

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 5/16

Page 6: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

PrincipleMinDist Evaluation ExampleA Simple ExampleTheoretical Property

Most Distant First Strategy

Principle of MDFSSelect in L the most distant box to ε-boxes in S .

Distance evaluation

MinDist[x1],...,[xm]

(x) = min{d(x, [x1]), . . . ,d(x, [xm])}, (1)

where d is the maximal distance between points of two boxes.

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 6/16

Page 7: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

PrincipleMinDist Evaluation ExampleA Simple ExampleTheoretical Property

MinDist Evaluation Example

MinDist[s1],[s2]

(A) = min{d(A, [s1]),d(A, [s2])} = d(A, [s1]),

MinDist[s1],[s2]

(B) = min{d(B, [s1]),d(B, [s2])} = d(B, [s2]).

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 7/16

Page 8: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

PrincipleMinDist Evaluation ExampleA Simple ExampleTheoretical Property

MDFS : a simple example

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 8/16

Page 9: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

PrincipleMinDist Evaluation ExampleA Simple ExampleTheoretical Property

MDFS Theoretical Property

The next computed ε-box xm+1 satisfies :

|d∗ − MinDist[x1],...,[xm]

(xm+1)| ≤ ε,

where d∗ is the global maximum of MinDist.Therefore :

limε→0

MinDist[x1],...,[xm]

(xm+1) = d∗

⇒ Slow discovery of ε-boxes due to breadth exploration.

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 9/16

Page 10: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

PrincipleA Simple ExampleDMDFS and MDFS Theoretical comparison

Depth and Most Distant First Strategy

Principle of DMDFSMixing MDFS and DFS to quicken the discovery of ε-boxes :

I Select boxes in L following a LIFO∗ strategy.

I Sort L wrt. (1) after each insertion in S .

∗Heuristic based on MinDist for depth search.

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 10/16

Page 11: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

PrincipleA Simple ExampleDMDFS and MDFS Theoretical comparison

DMDFS : a simple example

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 11/16

Page 12: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

PrincipleA Simple ExampleDMDFS and MDFS Theoretical comparison

DMDFS and MDFS Theoretical comparison

Optimum convergence Quick discoveryMDFS + -

DMDFS ? +

Evaluation of the spreading of ε-boxes using DMDFS :

I Homogeneous coverage of solution space.

I Reach every solution spaces.

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 12/16

Page 13: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

Homogeneous coverageMultiple connected component

Homogeneous coverage of DMDFSConsider (x,y) ∈ [−2,2]2, s.t. :

11x8 − x6 −183x4y2 +44x6y2 +117x2y4

+66x4y4 −21y6 +44x2y6 +11y8 ≤ 0. (2)

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 13/16

Page 14: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

Homogeneous coverageMultiple connected component

A scalable problem

n-dimensional balls randomlyplaced in [−100,100]n :

n

∑i=1

(xi − c1i)2 −1 = y1

...n

∑i=1

(xi − cni)2 −1 = yn

n

∏i=1

yi ≤ 0.

Example with n=3 :

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 14/16

Page 15: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

Homogeneous coverageMultiple connected component

DMDFS vs other approaches

Time to find 1 solution in each n-dimensional ball :

æ

æ æ

æ

æ ææ

æ

æ æ

æ

ææ

àà

à

à

à

à

à

àà

àà

à

à

ì

ìì

ìì

ì ìì

ì ìì ì

ì

ò

ò

ò

ò

ò

òò

òò

òò

òò

4 6 8 10 12 14

0.1

1

10

100

1000

ò dmdfs HboxL

ì dmdfs HhullL

à donlp2

æ knitro

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 15/16

Page 16: Search Strategies for an Anytime Usage of the Branch and Prune

The Branch and Prune AlgorithmThe Most Distant First Strategy

The Depth and Most Distant First StrategyExperiments

Conclusion and Future Work

Conclusion and Future Work

New search strategy to use efficiently the BPA as an anytimealgorithm :

I Good theoretical optimal property of MDFS.

I Good practical performances of DMDFS.

Future work

I Extension to discrete or mixed problems.

I Applying DMDFS to real problems in mechanical design.

I Comparison to other approaches ?

R. Chenouard, A. Goldsztejn and C. Jermann Search Strategies for an Anytime Usage of the BPA 16/16