DM865 (10 ECTS) Heuristikker og Approximationsalgoritmer - - PowerPoint PPT Presentation

dm865 10 ects heuristikker og approximationsalgoritmer
SMART_READER_LITE
LIVE PREVIEW

DM865 (10 ECTS) Heuristikker og Approximationsalgoritmer - - PowerPoint PPT Presentation

DM865 (10 ECTS) Heuristikker og Approximationsalgoritmer [Heuristics and Approximation Algorithms] dm865.github.io Spring semester Lene Monrad Favrholdt Marco Chiarandini lektorer, IMADA Approximation Algorithms A 2 -approximation


slide-1
SLIDE 1

DM865 (10 ECTS) Heuristikker og Approximationsalgoritmer

[Heuristics and Approximation Algorithms]

dm865.github.io

Spring semester Lene Monrad Favrholdt • Marco Chiarandini lektorer, IMADA

slide-2
SLIDE 2

Approximation Algorithms

A 2-approximation algorithm for TSP

c(TSP) c(MST) Double tree algorithm:

  • 1. T ← MST
  • 2. Double all edges in T
  • 3. Etour ← Eurler tour
  • 4. H ← vertices in order of appearance in Etour
slide-3
SLIDE 3

Approximation Algorithms

A 2-approximation algorithm for TSP

c(TSP) c(MST) c(MST) ≤ c(TSP)

slide-4
SLIDE 4

Approximation Algorithms

A 2-approximation algorithm for TSP

c(TSP) c(MST) c(MST) ≤ c(TSP) c(H) ≤ 2 · c(MST) ≤ 2 · c(TSP)

slide-5
SLIDE 5

Approximation Algorithms

A 3/2-approximation algorithm for TSP

c(TSP) c(MST) Christofide’s algorithm:

  • 1. T ← MST
  • 2. M ← minimum perfect matching of odd degree vertices in T
  • 3. Etour ← Euler tour in the subgraph (V , E(T) ∪ M)
  • 4. H ← vertices in order of appearance in the Etour
slide-6
SLIDE 6

Approximation Algorithms

A 3/2-approximation algorithm for TSP

c(TSP) c(MST) c(MST) ≤ c(TSP)

slide-7
SLIDE 7

Approximation Algorithms

A 3/2-approximation algorithm for TSP

c(TSP) c(MST) c(MST) ≤ c(TSP) c(H) ≤ c(MST) + c(M)

slide-8
SLIDE 8

Approximation Algorithms

A 3/2-approximation algorithm for TSP

c(TSP) c(MST) c(MST) ≤ c(TSP) c(H) ≤ c(MST) + c(M) ≤ c(TSP) + 1 2c(TSP)

slide-9
SLIDE 9

Approximation Algorithms

A 3/2-approximation algorithm for TSP

c(TSP) c(MST) c(MST) ≤ c(TSP) c(H) ≤ c(MST) + c(M) ≤ c(TSP) + 1 2c(TSP) = 3 2 · c(TSP)

slide-10
SLIDE 10

Approximation Algorithms

Theorem (2015)

For α < 185

184, there does not exist an α-approximation algorithm for the TSP.

slide-11
SLIDE 11

Local Search

slide-12
SLIDE 12

Local Search

slide-13
SLIDE 13

Local Search

slide-14
SLIDE 14

Local Search

slide-15
SLIDE 15

Local Search

slide-16
SLIDE 16

Metaheuristics

Accepting worsening changes

slide-17
SLIDE 17

Metaheuristics

Accepting worsening changes

slide-18
SLIDE 18

Metaheuristics

Accepting worsening changes

slide-19
SLIDE 19

Metaheuristics

Accepting worsening changes

slide-20
SLIDE 20

Metaheuristics

Accepting worsening changes

slide-21
SLIDE 21

Metaheuristics

Accepting worsening changes Trying different changes

slide-22
SLIDE 22

Metaheuristics

Accepting worsening changes Trying different changes

slide-23
SLIDE 23

Metaheuristics

Accepting worsening changes Trying different changes

slide-24
SLIDE 24

Metaheuristics

Accepting worsening changes Trying different changes

slide-25
SLIDE 25

Metaheuristics

Accepting worsening changes Trying different changes

slide-26
SLIDE 26

Metaheuristics

Accepting worsening changes Trying different changes

slide-27
SLIDE 27

Contents

Apporx Algorithms Local Search + Metaheuristics Set Cover Satisfiability Traveling Salesman Scheduling Knapsack Bin packing

slide-28
SLIDE 28

Course Formalities

Prerequisites: ✧ Programming (DM502, DM503, DM550) ✧ Algorithms and Datastructures (DM507) ✦ Complexity and Computability (DM508, DM553) ✦ Linear and Integer Programming (DM559, DM545, DM554) Credits: 10 ECTS Language: English or Danish Classes: intro: 2h × 24; training: 2h × 24 Material: slides + text book + articles + starting code

slide-29
SLIDE 29

Assessment (10 ECTS)

  • Two practical project assignments passed/failed with internal censor by the teacher

(include programming in Python)

  • Oral exam based on:
  • the theoretical part
  • two practical assignments

Grading by the Danish 7-mark scale with external examiner. Exam aids allowed.

slide-30
SLIDE 30

DM865 (10 ECTS) Heuristikker og Approximationsalgoritmer

[Heuristics and Approximation Algorithms]

dm865.github.io

Spring semester Lene Monrad Favrholdt • Marco Chiarandini lektorer, IMADA