23.12.2014 Views

Applications #2 Problème du voyageur de commerce (TSP) - gerad

Applications #2 Problème du voyageur de commerce (TSP) - gerad

Applications #2 Problème du voyageur de commerce (TSP) - gerad

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1/3 2/3 3/3<br />

Métho<strong>de</strong>s d’insertion<br />

On commence avec <strong>de</strong>ux noeuds et on ajoute les autres noeuds un<br />

à un. Contrairement à NN, à chaque étape, on a un tour.<br />

Insertion Method (IM)<br />

[1] Choisir v 1 et v 2 ∈ V et poser T = {v 1 , v 2 }<br />

(typiquement on maximise c v1 v 2<br />

)<br />

Poser k ← 2<br />

[2] Tant que k < n<br />

k ← k + 1<br />

choisir v k dans V \ T<br />

insérer v k dans T<br />

Retourner T<br />

MTH6311: Heuristiques pour le <strong>TSP</strong> 19/34

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

Saved successfully!

Ooh no, something went wrong!