1.206J/16.77J/ESD.215J Airline Schedule Planning

Slides:



Advertisements
Similar presentations
1 Column Generation. 2 Outline trim loss problem different formulations column generation the trim loss problem master problem and subproblem in column.
Advertisements

Outline LP formulation of minimal cost flow problem
ECE Longest Path dual 1 ECE 665 Spring 2005 ECE 665 Spring 2005 Computer Algorithms with Applications to VLSI CAD Linear Programming Duality – Longest.
Linear Programming. Introduction: Linear Programming deals with the optimization (max. or min.) of a function of variables, known as ‘objective function’,
Transportation Problem (TP) and Assignment Problem (AP)
Notes 4IE 3121 Why Sensitivity Analysis So far: find an optimium solution given certain constant parameters (costs, demand, etc) How well do we know these.
Introduction to Algorithms
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
Computational Methods for Management and Economics Carla Gomes
5.6 Maximization and Minimization with Mixed Problem Constraints
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
LINEAR PROGRAMMING SIMPLEX METHOD.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming: The Simplex Method Chapter 5.
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.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234: Lecture 4  Linear Programming  LP and Simplex Algorithm [PS82]-Ch2.
Advanced Operations Research Models Instructor: Dr. A. Seifi Teaching Assistant: Golbarg Kazemi 1.
 Minimization Problem  First Approach  Introduce the basis variable  To solve minimization problem we simple reverse the rule that is we select the.
1 1 Slide © 2005 Thomson/South-Western Linear Programming: The Simplex Method n An Overview of the Simplex Method n Standard Form n Tableau Form n Setting.
Chapter 4 Linear Programming: The Simplex Method
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 THE REVISED SIMPLEX METHOD CONTENTS Linear Program in the Matrix Notation Basic Feasible Solution in Matrix Notation Revised Simplex Method in Matrix.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234: Lecture 4  Linear Programming  LP and Simplex Algorithm [PS82]-Ch2.
1 An Arc-Path Model for OSPF Weight Setting Problem Dr.Jeffery Kennington Anusha Madhavan.
EMIS 8373: Integer Programming Column Generation updated 12 April 2005.
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.
Dominance and Indifference in Airline Planning Decisions NEXTOR Conference: INFORMS Aviation Session June 2 – 5, 2003 Amy Mainville Cohn, KoMing Liu, and.
1 Chapter 2 Notation and Definitions Data Structures Transformations.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
The minimum cost flow problem. Solving the minimum cost flow problem.
Approximation Algorithms Duality My T. UF.
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.
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Solving Linear Program by Simplex Method The Concept
Chap 10. Sensitivity Analysis
The minimum cost flow problem
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Perturbation method, lexicographic method
6.5 Stochastic Prog. and Benders’ decomposition
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
MBA 651 Quantitative Methods for Decision Making
Chapter 1. Introduction Mathematical Programming (Optimization) Problem: min/max
1.206J/16.77J/ESD.215J Airline Schedule Planning
EMIS 8373: Integer Programming
Lecture 5 – Integration of Network Flow Programming Models
1.3 Modeling with exponentially many constr.
James B. Orlin Presented by Tal Kaminker
Chapter 4 Linear Programming: The Simplex Method
Chap 9. General LP problems: Duality and Infeasibility
1.206J/16.77J/ESD.215J Airline Schedule Planning
1.206J/16.77J/ESD.215J Airline Schedule Planning
Chapter 6. Large Scale Optimization
1.206J/16.77J/ESD.215J Airline Schedule Planning
1.206J/16.77J/ESD.215J Airline Schedule Planning
Analysis of Algorithms
1.206J/16.77J/ESD.215J Airline Schedule Planning
1.206J/16.77J/ESD.215J Airline Schedule Planning
Well, just how many basic
EMIS 8374 Arc-Path Formulation Updated 2 April 2008
Chapter 5 Transportation, Assignment, and Transshipment Problems
Chapter 6 Network Flow Models.
Flow Feasibility Problems
Advanced LP models column generation.
The Network Simplex Method
6.5 Stochastic Prog. and Benders’ decomposition
Chapter 6. Large Scale Optimization
EMIS The Maximum Flow Problem: Flows and Cuts Updated 6 March 2008
Lecture 12 Network Models.
Constraints.
Presentation transcript:

1.206J/16.77J/ESD.215J Airline Schedule Planning Cynthia Barnhart Spring 2003

1.206J/16.77J/ESD.215J Multi-commodity Network Flows: A Keypath Formulation Outline Path formulation for multi-commodity flow problems revisited Keypath formulation Example Keypath solution algorithm Column generation Row generation 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Path Notation Sets Parameters Parameters (cont.) Decision Variables A: set of all network arcs K: set of all commodities N: set of all network nodes Parameters uij : total capacity on arc ij dk : total quantity of commodity k Pk: set of all paths for commodity k, for all k Parameters (cont.) cp : per unit cost of commodity k on path p = ij p cijk ijp : = 1 if path p contains arc ij; and = 0 otherwise Decision Variables fp: fraction of total quantity of commodity k assigned to path p 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

The Path Formulation Revisited MINIMIZE  k K  pPk dk cp fp subject to: pPk  k K dk fpijp  uij  ijA pPk fp = 1  kK fp  0  pPk,  kK 10-Dec-18 1.224J/ESD.204J

The Keypath Concept The path formulation for MCF problems can be recast equivalently as follows: Assign all flow of commodity k to a selected path p, called the keypath, for each commodity kK Often the keypath is the minimum cost path for k The resulting flow assignment is often infeasible One or more arc capacity constraints are violated If the resulting flows are feasible and the keypaths are minimum cost, the flow assignment is optimal Solve a linear programming formulation to minimize the cost of adjusting flows to achieve feasibility Flow adjustments involve removing flow of k from its keypath p and placing it on alternative path p’Pk, for each kK 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Additional Keypath Notation Parameters p(k) : keypath for commodity k Qij : total initial (flow assigned to keypaths) on arc ij =  k K dkijp(k) crp(k) : = cr – cp(k) =  ij A cijijr -  ij A cijijp(k); change in cost when one unit of commodity k is shifted from keypath p(k) to path r (Note: typically non-negative if p(k) has minimum cost) Decision Variables frp(k): fraction of total quantity of commodity k removed from keypath p(k) to path r 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

The Keypath Formulation 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Associated Dual Variables Duals - ij : the dual variable associated with the bundle constraint for arc ij ( is non-negative) - k: the dual variable associated with the commodity constraints ( is non-negative) Economic Interpretation  ij : the value of an additional unit of capacity on arc ij  k/dk : the minimal cost to remove an additional unit of commodity k from its keypath and place on another path 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J 1 1

Optimality Conditions for the Path Formulation f*p and *ij , *k are optimal for all k and all ij if: Primal feasibility is satisfied Complementary slackness is satisfied Dual feasibility is satisfied (reduced cost is non-negative for a minimization problem) 10-Dec-18 1.224J/ESD.204J

Modified Costs Definition: Reduced cost for path r, commodity k = ijA cijk dk ijr - ijA cijk dk ijp(k) + ijA ijdkijr - ijA ij dk ijp(k) + k = ijA (cijk + ij ) ijr – ijA (cijk + ij) ijp(k) + k /dk Definition: Let modified cost for arc ij and commodity k = cijk + ij Reduced cost is non-negative for all commodity k variables if the modified cost of path r equals or exceeds the modified cost of p(k) less k/dk 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J 1 1

Column Generation- A Price Directive Decomposition Millions/Billions of Variables Restricted Master Problem (RMP) Constraints Never Considered Start Added 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

LP Solution: Column Generation Step 1: Solve Restricted Master Problem (RMP) with subset of all variables (columns) Step 2: Solve Pricing Problem to determine if any variables when added to the RMP can improve the objective function value (that is, if any variables have negative reduced cost) Step 3: If variables are identified in Step 2, add them to the RMP and return to Step 1; otherwise STOP 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J 10

Pricing Problem min r Pk  ij A (cijk + ij) ijr - C Given  and k, the optimal (non-negative) duals for the current restricted master problem and the keypath p(k), the pricing problem, for each k K is min r Pk (dk (ijA (cijk + ij ) ijr – ijA (cijk + ij) ijp(k) + k /dk ) Or, letting C = ijA (cijk + ij) ijp(k) - k /dk equivalently: min r Pk  ij A (cijk + ij) ijr - C A shortest path problem for commodity k (with modified arc costs). If min r Pk  ij A (cijk + ij) ijr - C  0, then the original problem is solved, else add column corresponding to xp(k)r to the master problem 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Let p(1) = 2; p(2) = 4; p(3) = 7; p(4) = 8 (** denotes keypath) Example- Iteration 1 Let p(1) = 2; p(2) = 4; p(3) = 7; p(4) = 8 (** denotes keypath) NOTE: Gray columns not included in keypath formulation; purple elements are initial keypath matrix 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Let p(1) = 2; p(2) = 4; p(3) = 7; p(4) = 8 (** denotes keypath) Example- Iteration 2 Let p(1) = 2; p(2) = 4; p(3) = 7; p(4) = 8 (** denotes keypath) 2nd iteration: no columns price out, one constraint for commodity 3 is violated and added; and the problem is resolved– feasibility and optimality achieved 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Column Generation 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Row Generation 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Column and Row Generation 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Column and Row Generation: Constraint Matrix 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

The Benefit of the Keypath Concept We are now minimizing the objective function and most of the objective coefficients are __________. Therefore, this will guide the decision variables to values of __________. How does this help? positive 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Solution Procedure Use Both Column Generation and Row Generation Actual flow of problem Step 1- Define RMP for Iteration 1: Set k =1. Denote an initial subset of columns (A1) which is to be used. Step 2- Solve RMP for Iteration k: Solve a problem with the subset of columns Ak. Step 3- Generate Rows: Determine if any constraints are violated and express them explicitly in the constraint matrix. Step 4- Generate Columns: Price some of the remaining columns, and add a group (A*) that have a reduced cost less than zero, i.e., Ak+1=[Ak |A*] Step 5- Test Optimality: If no columns or rows are added, terminate. Otherwise, k =k+1, go to Step 2 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J

Conclusions Variable redefinition Allows relaxation of constraints and subsequent (limited) cut generation Does not alter the pricing problem solution Shortest paths with modified costs Allows problems with many commodities, as well as a large underlying network, to be solved with limited memory requirements 12/10/2018 Barnhart 1.206J/16.77J/ESD.215J