Lagrangean Relaxation

Slides:



Advertisements
Similar presentations
1 Branch-and-Price (Column Generation) Solving Integer Programs With a Huge Number of Variables CP-AI-OR02 School on Optimization Le Croisic, France March.
Advertisements

Outline LP formulation of minimal cost flow problem
Lecture 10: Integer Programming & Branch-and-Bound
Crew Scheduling Housos Efthymios, Professor Computer Systems Laboratory (CSL) Electrical & Computer Engineering University of Patras.
Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
1 EL736 Communications Networks II: Design and Algorithms Class8: Networks with Shortest-Path Routing Yong Liu 10/31/2007.
Chapter 10: Iterative Improvement The Maximum Flow Problem The Design and Analysis of Algorithms.
Chapter 7 Maximum Flows: Polynomial Algorithms
1 Internet Networking Spring 2006 Tutorial 6 Network Cost of Minimum Spanning Tree.
Approximation Algorithms
The Theory of NP-Completeness
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
Chapter 7 Network Flow Models.
Jean-Charles REGIN Michel RUEHER ILOG Sophia Antipolis Université de Nice – Sophia Antipolis A global constraint combining.
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
Ant Colony Optimization Optimisation Methods. Overview.
2-Layer Crossing Minimisation Johan van Rooij. Overview Problem definitions NP-Hardness proof Heuristics & Performance Practical Computation One layer:
1 Internet Networking Spring 2004 Tutorial 6 Network Cost of Minimum Spanning Tree.
1 Internet Networking Spring 2002 Tutorial 6 Network Cost of Minimum Spanning Tree.
LINEAR EQUATION IN TWO VARIABLES. System of equations or simultaneous equations – System of equations or simultaneous equations – A pair of linear equations.
Max-flow/min-cut theorem Theorem: For each network with one source and one sink, the maximum flow from the source to the destination is equal to the minimal.
Network and Dynamic Segmentation Chapter 16. Introduction A network consists of connected linear features. Dynamic segmentation is a data model that is.
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
Package Transportation Scheduling Albert Lee Robert Z. Lee.
Flow Models and Optimal Routing. How can we evaluate the performance of a routing algorithm –quantify how well they do –use arrival rates at nodes and.
1.3 Modeling with exponentially many constr.  Some strong formulations (or even formulation itself) may involve exponentially many constraints (cutting.
15.082J and 6.855J and ESD.78J November 30, 2010 The Multicommodity Flow Problem.
Network Models (2) Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
Building “ Problem Solving Engines ” for Combinatorial Optimization Toshi Ibaraki Kwansei Gakuin University (+ M. Yagiura, K. Nonobe and students, Kyoto.
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
Topology aggregation and Multi-constraint QoS routing Presented by Almas Ansari.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Minimum Cost Flows. 2 The Minimum Cost Flow Problem u ij = capacity of arc (i,j). c ij = unit cost of shipping flow from node i to node j on (i,j). x.
De-Nian Young Ming-Syan Chen IEEE Transactions on Mobile Computing Slide content thanks in part to Yu-Hsun Chen, University of Taiwan.
MIT and James Orlin1 NP-completeness in 2005.
15.082J and 6.855J and ESD.78J Lagrangian Relaxation 2 Applications Algorithms Theory.
Models in I.E. Lectures Introduction to Optimization Models: Shortest Paths.
Chap 10. Integer Prog. Formulations
and 6.855J Lagrangian Relaxation I never missed the opportunity to remove obstacles in the way of unity. —Mohandas Gandhi.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Lagrangean Relaxation --- Bounding through penalty adjustment.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
1 Branch and Bound Searching Strategies Updated: 12/27/2010.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
Branch-and-Cut Valid inequality: an inequality satisfied by all feasible solutions Cut: a valid inequality that is not part of the current formulation.
1/74 Lagrangian Relaxation and Network Optimization Cheng-Ta Lee Department of Information Management National Taiwan University September 29, 2005.
Chapter 8 Network Models to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
Network Simplex Animations Network Simplex Animations.
1 Slides by Yong Liu 1, Deep Medhi 2, and Michał Pióro 3 1 Polytechnic University, New York, USA 2 University of Missouri-Kansas City, USA 3 Warsaw University.
EMIS 8373: Integer Programming Column Generation updated 12 April 2005.
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
Supplementary: Feasible Labels and Linear Programming  Consider the LP formulation of the shortest s-t path problem: (P) Minimize  (i, j)  A c ij x.
A* optimality proof, cycle checking CPSC 322 – Search 5 Textbook § 3.6 and January 21, 2011 Taught by Mike Chiang.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
1.3 Modeling with exponentially many constr. Integer Programming
Searching a Linear Subspace Lecture VI. Deriving Subspaces There are several ways to derive the nullspace matrix (or kernel matrix). ◦ The methodology.
Computationally speaking, we can partition problems into two categories. Easy Problems and Hard Problems We can say that easy problem ( or in some languages.
15.082J and 6.855J and ESD.78J Network Simplex Animations.
Tuesday, March 19 The Network Simplex Method for Solving the Minimum Cost Flow Problem Handouts: Lecture Notes Warning: there is a lot to the network.
The minimum cost flow problem
Network Simplex Animations
An Applications Oriented Guide to Lagrangian Relaxation
1.3 Modeling with exponentially many constr.
2 TSP algorithms: (1) AP+B&B, (2) min spanning tree.
Introduction Basic formulations Applications
1.206J/16.77J/ESD.215J Airline Schedule Planning
Lecture 19-Problem Solving 4 Incremental Method
1.3 Modeling with exponentially many constr.
Chapter 6 Network Flow Models.
Network Simplex Animations
Presentation transcript:

Lagrangean Relaxation

Overview Decomposition based approach. Start with Easy constraints Complicating Constraints. Put the complicating constraints into the objective and delete them from the constraints. 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.

An Example: Constrained Shortest Paths Given: a network G = (N,A) cij cost for arc (i,j) tij traversal time for arc (i,j) z* = Min s. t. Complicating constraint

Example Find the shortest path from node 1 to node 6 with a transit time at most 10 $cij, tij i j $1,10 $1,1 $1,7 $2,3 $10,3 $12,3 $2,2 $1,2 $10,1 $5,7 1 2 4 5 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.

Shortest Paths with Transit Time Restrictions Step 1. (A Lagrangian relaxation approach). Penalize violation of the constraint in the objective function. z(λ) = Min Complicating constraint Note: z*(λ) ≤ z* ∀λ ≥ 0

Shortest Paths with Transit Time Restrictions Step 2. Delete the complicating constraint(s) from the problem. The resulting problem is called the Lagrangian relaxation. Complicating constraint L(λ) = Min Note: L(λ) ≤ z(λ) ≤ z* ∀λ ≥ 0

What is the effect of varying λ? $1,10 $1,1 $1,7 $2,3 $10,3 $12,3 $2,2 $1,2 $10,1 $5,7 1 2 4 5 3 6 Case 1: λ = 0 1 2 4 5 3 6 10 12 cij + λ tij j i P = P = 1-2-4-6 c(P) = c(P) = 3 t(P) = t(P) = 18

Question to class If λ = 0, the min cost path is found. What happens to the (real) cost of the path as λ increases from 0? What path is determined as λ gets VERY large? What happens to the (real) transit time of the path as λ increases from 0? cij + λ tij j i

Let λ = 1 Case 2: λ = 1 2 4 1 6 5 3 P = P = 1-2-5-6 c(P) = 5 c(P) = $1,10 $1,1 $1,7 $2,3 $10,3 $12,3 $2,2 $1,2 $10,1 $5,7 1 2 4 5 3 6 Case 2: λ = 1 2 2 4 8 11 5 1 11 6 3 12 13 4 5 3 15 P = P = 1-2-5-6 c(P) = 5 c(P) = t(P) = t(P) = 15

Let λ = 2 Case 3: λ = 2 2 4 1 6 5 3 P = P = 1-2-5-6 c(P) = 5 c(P) = $1,10 $1,1 $1,7 $2,3 $10,3 $12,3 $2,2 $1,2 $10,1 $5,7 1 2 4 5 3 6 Case 3: λ = 2 3 2 4 15 21 8 1 12 6 5 19 16 6 5 3 18 P = P = 1-2-5-6 c(P) = 5 c(P) = t(P) = t(P) = 15

And alternative shortest path when λ = 2 $1,10 $1,1 $1,7 $2,3 $10,3 $12,3 $2,2 $1,2 $10,1 $5,7 1 2 4 5 3 6 3 2 4 15 21 8 1 12 6 5 19 16 6 5 3 18 P = P = 1-3-2-5-6 c(P) = c(P) = 15 t(P) = t(P) = 10

Let λ = 5 Case 4: λ = 5 2 4 1 6 5 3 P = P = 1-3-2-4-5-6 c(P) = 24 $1,10 $1,1 $1,7 $2,3 $10,3 $12,3 $2,2 $1,2 $10,1 $5,7 1 2 4 5 3 6 Case 4: λ = 5 3 2 4 15 21 8 1 12 6 5 19 16 6 5 3 18 P = P = 1-3-2-4-5-6 c(P) = 24 c(P) = t(P) = t(P) = 8

A parametric analysis Toll modified cost Cost Transit Time Modified cost -10λ 0 ≤ λ ≤ ⅔ 3 + 18λ 3 18 3 + 8λ ⅔ ≤ λ ≤ 2 5 + 15λ 5 15 5 + 3λ 2 ≤ λ ≤ 4.5 15 + 10λ 10 4.5 ≤ λ < ∞ 24 + 8λ 24 8 24 - 2λ A lower bound on z* The best value of λ is the one that maximizes the lower bound.

Costs Modified Cost – 10λ Transit Times λ λ

Problem splitting tricks

Embedded Network Structure Application Embedded Network Structure Networks with side constraints minimum cost flows shortest paths Traveling Salesman Problem assignment problem minimum cost spanning tree Vehicle routing assignment problem variant of min cost spanning tree Network design shortest paths Two-duty operator scheduling shortest paths minimum cost flows Multi-time production planning shortest paths / DPs minimum cost flows

Problem splitting tricks

Lagrangian Relaxation What can this be used for ? Primary usage: Bounding ! Because it is a relaxation, the optimal value will bound the optimal value of the real problem ! Lagrangian heuristics, i.e. generate a “good” solution based on a solution to the relaxed problem. Problem reduction, i.e. reduce the original problem based on the solution to the relaxed problem.

Two Problems Facing a problem we need to decide: Which constraints to relax (strategic choice) How to find the best lagrangean multipliers, (tactical choice)

Which constraints to relax Which constraints to relax depends on two things: Computational effort: Number of Lagrangian multipliers Hardness of relaxed problem to solve Integrality of relaxed problem: If it is integral, we can only do as good as the straightforward LP relaxation ! (Integrality: the solution to relaxed problem is guaranteed to be integral.)

Multiplier adjustment Two different types are given: Subgradient optimisation Constraint generation method Of these, subgradient optimisation is the method of choice. This is general method which nearly always works ! Here we will only consider this Method, although more efficient (but much more complicated) adjustment methods have been suggested.

Linear Program Min: s.t.

Lagrangian Relaxation

Problem reformulation Note: Each constraint is associated with a multiplier i.

The subgradient (subgradient of multiplier i)

Subgradient Optimization

Subgradient Optimization In the subgradient search; Try to update UB in every iteration Halve the step multiplier,Π, if there is no improvement in LB in the last certain number of iterations. Stop the alpgorithm either based on the number of iterations or based on the gap between UB and LB.

Example: Set covering

Relaxed Set coverint How can we solve this problem to optimality ???

Optimization Algorithm The answer is so simple that we are reluctant calling it an optimization algorithm: Choose all x’s with negative coefficients ! What does this tell us about the strength of the relaxation ?

Rewritten: Relaxed Set covering where

Lower bound

Try it out yourself Starting with ZUB=6,=2 and i=0 for i=1,2,3, perform 3 iterations of the subgradient optimization method on the previous example problem. Please show the lower bound and multiplier values of each iteration.