Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Two-phase method

optimization multiobjective-search

The two-phase method finds all Pareto-optimal paths of a two-objective problem. Phase 1 finds the extreme supported solutions, the corners of the convex hull of the Pareto set. It does this by dichotomic search: for two neighbouring solutions it minimizes the weighted sum whose level line runs through both, and keeps a new solution below that line. Phase 2 searches each triangle between two neighbours for the other, non-supported solutions, with BOA*'s pruning limited to that box. The result is the same as BOA*'s.

Pseudocode

algorithm Two-Phase(s₀, goal, h)input: start s₀, goal test goal, consistent two-objective heuristic houtput: one path per Pareto-optimal cost vectorS ← Supported(s₀, goal, h)             ▷ phase 1, sorted by c₁ALL ← Sfor each neighbours a, b in S do       ▷ phase 2▷ every other Pareto point lies in a₁ < c₁ < b₁, b₂ < c₂ < a₂ALL ← ALL ∪ boa-in-box(s₀, goal, h, c₁ < b₁, initial bound a₂)return ALL sorted by costfunction Supported(s₀, goal, h)a ← lexicographic (c₁, c₂) optimumb ← lexicographic (c₂, c₁) optimumif a = b thenreturn {a}return {a} ∪ Dichotomic(a, b) ∪ {b}function Dichotomic(a, b)w ← (a₂ − b₂, b₁ − a₁)                 ▷ level line through a and bx ← A* on the weighted sum w · c, ties lexicographicif w · x ≥ w · a thenreturn ∅                             ▷ no hull vertex between a and breturn Dichotomic(a, x) ∪ {x} ∪ Dichotomic(x, b)

In the crates

Lineage

Comes from

combines BOA*

builds on Dichotomic weighted-sum search (Aneja and Nair)

Papers

  1. A comparison of solution strategies for biobjective shortest path problems Andrea Raith, Matthias Ehrgott · 2009· Computers & Operations Research analyses doi 10.1016/j.cor.2008.02.002
  2. Multiobjective Path Problems and Algorithms in Telecommunication Network Design—Overview and Trends José Craveirinha, João Clímaco, Rita Girão-Silva, Marta Pascoal · 2024· Algorithms survey doi 10.3390/a17060222