15'082 and 6'855J - PowerPoint PPT Presentation

1 / 40
About This Presentation
Title:

15'082 and 6'855J

Description:

In solving network flow problems, we not only solve the problem, but we provide ... This Lagrangian Relaxation was formulated by Held and Karp [1970 and 1971] ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 41
Provided by: jimo158
Category:
Tags: 855j | karp

less

Transcript and Presenter's Notes

Title: 15'082 and 6'855J


1
15.082 and 6.855J
  • Lagrangian Relaxation
  • I never missed the opportunity to remove
    obstacles in the way of unity.

  • Mohandas Gandhi

2
On bounding in optimization
  • In solving network flow problems, we not only
    solve the problem, but we provide a guarantee
    that we solved the problem.
  • Guarantees are one of the major contributions of
    an optimization approach.
  • But what can we do if a minimization problem is
    too hard to solve to optimality?
  • Sometimes, the best we can do is to offer a
    lower bound on the best objective value. If the
    bound is close to the best solution found, it is
    almost as good as optimizing.

3
Overview
  • Decomposition based approach.
  • Start with
  • Easy constraints
  • Complicating Constraints.
  • Put the complicating constraints into the
    objective.
  • We will obtain a lower bound on the optimal
    solution for minimization problems.
  • In many situations, this bound is close to the
    optimal solution value.

4
An Example Constrained Shortest Paths
  • Given a network G (N,A)
  • cij cost for arc (i,j)
  • tij traversal time for arc (i,j)

5
Example
Find the shortest path from node 1 to node 6 with
a transit time at most 10
(cij,tij)
i
j
(1,1)
2
4
(1,7)
(1,10)
(2,3)
(10,1)
1
6
(1,2)
(5,7)
(10,3)
(2,2)
5
3
(12,3)
6
Shortest Paths with Transit Time Restrictions
  • Shortest path problems are easy.
  • Shortest path problems with transit time
    restrictions are NP-hard.
  • We say that constrained optimization problem Y
    is a relaxation of problem X if Y is obtained
    from X by eliminating one or more constraints.
  • We will relax the complicating constraint, and
    then use a heuristic of penalizing too much
    transit time. We will then connect it to the
    theory of Lagrangian relaxations.

7
Shortest Paths with Transit Time Restrictions
  • Step 1. (A relaxation approach). Solve the
    problem without the complicating constraint.
  • If the solution satisfies the complicating
    constraint, then it is optimal for the original
    problem.

8
What is the shortest path from node 1 to node 6?
(1,1)
2
4
(1,7)
(1,10)
(2,3)
(10,1)
1
6
(1,2)
(5,7)
(10,3)
(2,2)
5
3
(12,3)
9
The shortest path is 1-2-4-6
The transit time of 1-2-4-6 is 18.
To reduce the transit time of the shortest path,
we put a penalty proportional to transit time.
(1,1)
2
4
(1,7)
(1,10)
(2,3)
(10,1)
1
6
(1,2)
(5,7)
(10,3)
(2,2)
Suppose that we charge a toll of 1 per unit
transit time.
5
3
(12,3)
10
What is the new shortest path from 1 to 6?
The modified cost of 1-2-5-6 is 20. The transit
time is 15. The cost is 5.
2
2
4
8
11
5
11
1
6
3
1-2-5-6 is still not feasible.
12
13
4
5
3
15
We increase the toll to 2
11
What is the new shortest path from 1 to 6?
The path 1-2-5-6 is still an optimal path.
3
2
4
15
21
8
12
1
6
5
19
16
6
5
3
18
12
And there is an alternative shortest path.
The modified costs of 1-2-5-6 is 35.
3
2
4
1-3-2-5-6 is also optimal And it is optimal for
the original problem as well!
15
21
8
12
1
6
5
19
16
6
5
3
The transit time of 1-3-2-5-6 is 10. The cost is
15.
18
13
A parametric analysis
14
(No Transcript)
15
(No Transcript)
16
On Bounding
  • We could charge any non-negative toll on ?
    transit times.
  • For a path P, let cP ?(i,j)?P cij
  • tP ?(i,j)?P tij
  • For fixed ? and P, let cP(?) ?(i,j)?P cij
    ? tij
  • Bounding Principle. Suppose that ? ???? 0 and
    that P is the minimum cost path with respect to
    modified costs cP(?). Then cP(?) - ? T is a
    lower bound on the length of the constrained
    shortest path.

17
Towards the Lagrangian Relaxation
For each ? ? 0, replace the objective by
18
The Lagrangian Relaxation
The Lagrangian relaxation was obtained by
penalizing the constraint and then eliminating
(relaxing) the constraint.
Theorem. L(m) z(m) z
19
Application to constrained shortest path
Let c(P) be the cost of path P
Corollary. Suppose P is a shortest path for the
problem with modified costs, and suppose
Then P is optimal.
20
The Lagrangian Relaxation Technique
Lemma 16.1. For all vectors ?, L(?) z.
21
The Lagrangian Multiplier Problem (with equality
constraints)
Lemma 16.1. For all vectors ?, L(?) z.
A bound for a minimization problem is better if
it is higher. The problem of finding the best
bound is called the Lagrangian multiplier problem.
Lemma 16.2. For all vectors ?, L(?) L z.
22
The Optimality Test
  • Property 16.3 (Optimality test). If L(?) L
    z cx, then x is optimal for the original
    problem, and ? is optimal for the Lagrangian
    multiplier problem.
  • More typically, a Lagrangian bound is useful when
    it shows that a solution is close to being
    optimal.

23
Summary
  • Each solution value L(?) is a lower bound on the
    optimum objective value.
  • L is the best (highest) lower bound.
  • If L(?) cx, then L z cx. (This is not
    guaranteed to happen.)
  • L (or some good lower bound) is useful in
    heuristics and in branch and bound. Sometimes it
    can be used to give a short proof of optimality.

24
Lagrangian Relaxation and Inequality Constraints
  • z Min cx
  • subject to Ax ? b, (P?)
  • x ? X.
  • L(?) Min cx ?(Ax - b) (P?(?))
  • subject to x ? X,
  • Lemma. L(?) ? z for ? ? 0.
  • The Lagrange Multiplier Problem maximize
    (L(?) ? ? 0).
  • Suppose L denotes the optimal objective value,
    and suppose x is feasible for P? and ? ? 0. Then
    L(?) ? L ? z ? cx.

25
Travelling Salesman Problem (TSP)
  • INPUT n cities, denoted as 1, . . . , n
  • cij travel distance from city i to city j
  • OUTPUT A minimum distance tour.

26
Representing the TSP problem
A collection of arcs is a tour if There are two
arcs incident to each node The red arcs (those
not incident to node 1) form a spanning tree in
G\1.
27
A Lagrangian Relaxation for the TSP
Let A(j) be the arcs incident to node j.
Let X denote all 1-trees, that is, there are two
arcs incident to node 1, and deleting these arcs
leaves a tree.
P(?)
where for e (i,j),
28
More on the TSP
  • This Lagrangian Relaxation was formulated by Held
    and Karp 1970 and 1971.
  • Seminal paper showing how useful Lagrangian
    Relaxation is in integer programming.
  • The solution to the Lagrange Multiplier Problem
    gives an excellent solution, and it tends to be
    close to a tour.

29
An optimal spanning tree for the Lagrangian
problem L(?) for optimal ? usually has few leaf
nodes.
30
Towards another Lagrangian Relaxation
1
S
In a tour, the number of arcs with both endpoints
in S is at most S - 1 for S lt n
31
Another Lagrangian Relaxation for the TSP
where for e (i,j),
A surprising fact this relaxation gives exactly
the same bound as the 1-tree relaxation for each
?.
32
Generalized assignment problem ex. 16.8 Ross
and Soland 1975
aij the amount of processing time of
job i on machine j
xij 1 if job i is processed on
machine j 0 otherwise
Job i gets processed.
Machine j has at most dj units of processing
Set I of jobs
Set J of machines
33
Generalized assignment problem ex. 16.8 Ross
and Soland 1975
Generalized flow with integer constraints.
Class exercise write two different Lagrangian
relaxations.
34
Facility Location Problem ex. 16.9Erlenkotter
1978
  • Consider a set J of potential facilities
  • Opening facility j ? J incurs a cost Fj.
  • The capacity of facility j is Kj.
  • Consider a set I of customers that must be served
  • The total demand of customer i is di.
  • Serving one unit of customer is from location
    j costs cij.

35
A pictorial representation
36
A possible solution
37
Class Exercise
Formulate the facility location problem as an
integer program. Assume that a customer can be
served by more than one facility.
Suggest a way that Lagrangian Relaxation can be
used to help solve this problem.
Let xij be the amount of demand of customer i
served by facility j.
Let yj be 1 if facility j is opened, and 0
otherwise.
38
The facility location model
39
Summary of the Lecture
  • Lagrangian Relaxation
  • Illustration using constrained shortest path
  • Bounding principle
  • Lagrangian Relaxation in a more general form
  • The Lagrangian Multiplier Problem
  • Lagrangian Relaxation and inequality constraints
  • Very popular approach when relaxing some
    constraints makes the problem easy
  • Applications
  • TSP
  • Generalized assignment
  • Facility Location

40
Next Lecture
  • Review of Lagrangian Relaxation
  • Lagrangian Relaxation for Linear Programs
  • Solving the Lagrangian Multiplier Problem
  • Dantzig-Wolfe decomposition
Write a Comment
User Comments (0)
About PowerShow.com