DM515 Spring 2011 Weekly Note 7

Similar documents
Combinatorial Optimization

Linear Programming. Course review MS-E2140. v. 1.1

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I. Instructor: Shaddin Dughmi

MVE165/MMG631 Linear and integer optimization with applications Lecture 9 Discrete optimization: theory and algorithms

Mathematics for Decision Making: An Introduction. Lecture 18

Department of Mathematics Oleg Burdakov of 30 October Consider the following linear programming problem (LP):

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 36

1. Lecture notes on bipartite matching February 4th,

5.3 Cutting plane methods and Gomory fractional cuts

Combinatorial Optimization - Lecture 14 - TSP EPFL

Introduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs

Exam problems for the course Combinatorial Optimization I (DM208)

MATH 409 LECTURE 10 DIJKSTRA S ALGORITHM FOR SHORTEST PATHS

Minimum Cost Edge Disjoint Paths

Institut for Matematik & Datalogi November 15, 2010 Syddansk Universitet. DM528: Combinatorics, Probability and Randomized Algorithms Ugeseddel 3

Integer Programming. Xi Chen. Department of Management Science and Engineering International Business School Beijing Foreign Studies University

Algorithm Design and Analysis

Mathematical Tools for Engineering and Management

EXERCISES SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM. 1 Applications and Modelling

Approximation Algorithms

56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998

Linear Programming and Integer Linear Programming

Algorithms for Integer Programming

Linear and Integer Programming (ADM II) Script. Rolf Möhring WS 2010/11

LECTURES 3 and 4: Flows and Matchings

Introduction to Mathematical Programming IE406. Lecture 20. Dr. Ted Ralphs

Homework 2: Multi-unit combinatorial auctions (due Nov. 7 before class)

Lecture 4: Primal Dual Matching Algorithm and Non-Bipartite Matching. 1 Primal/Dual Algorithm for weighted matchings in Bipartite Graphs

4 Integer Linear Programming (ILP)

Solutions for Operations Research Final Exam

Problem set 2. Problem 1. Problem 2. Problem 3. CS261, Winter Instructor: Ashish Goel.

MVE165/MMG630, Applied Optimization Lecture 8 Integer linear programming algorithms. Ann-Brith Strömberg

Methods and Models for Combinatorial Optimization Exact methods for the Traveling Salesman Problem

12 Introduction to LP-Duality

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Primal-Dual Methods for Approximation Algorithms

Last topic: Summary; Heuristics and Approximation Algorithms Topics we studied so far:

Approximation Algorithms Based on the Primal-Dual Method

Approximation Algorithms

5. Lecture notes on matroid intersection

CSE 417 Branch & Bound (pt 4) Branch & Bound

ACO Comprehensive Exam October 12 and 13, Computability, Complexity and Algorithms

Approximation Algorithms: The Primal-Dual Method. My T. Thai

Notes for Lecture 24

and 6.855J Lagrangian Relaxation I never missed the opportunity to remove obstacles in the way of unity. Mohandas Gandhi

February 19, Integer programming. Outline. Problem formulation. Branch-andbound

Lecture 7. s.t. e = (u,v) E x u + x v 1 (2) v V x v 0 (3)

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

Integer Programming as Projection

6. Lecture notes on matroid intersection

DETERMINISTIC OPERATIONS RESEARCH

Fundamentals of Integer Programming

CSE 417 Network Flows (pt 4) Min Cost Flows

Linear Programming Duality and Algorithms

Optimization Methods in Management Science

Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity

Graph Algorithms (part 3 of CSC 282),

Integer Programming Theory

to the Traveling Salesman Problem 1 Susanne Timsj Applied Optimization and Modeling Group (TOM) Department of Mathematics and Physics

Lecture 14: Linear Programming II

Notes for Lecture 20

Outline: Finish uncapacitated simplex method Negative cost cycle algorithm The max-flow problem Max-flow min-cut theorem

A Note on the Separation of Subtour Elimination Constraints in Asymmetric Routing Problems

Approximation Algorithms

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

Graphs and Network Flows IE411. Lecture 13. Dr. Ted Ralphs

THEORY OF LINEAR AND INTEGER PROGRAMMING

Jörgen Bang-Jensen and Gregory Gutin. Digraphs. Theory, Algorithms and Applications. Springer

1 Linear programming relaxation

Solving problems on graph algorithms

Linear Programming. Linear Programming. Linear Programming. Example: Profit Maximization (1/4) Iris Hui-Ru Jiang Fall Linear programming

Practice Final Exam 2: Solutions

Minimum Weight Constrained Forest Problems. Problem Definition

Design and Analysis of Algorithms (V)

1. Lecture notes on bipartite matching

Lecture Overview. 2 Shortest s t path. 2.1 The LP. 2.2 The Algorithm. COMPSCI 530: Design and Analysis of Algorithms 11/14/2013

Final Exam Spring 2003

College of Computer & Information Science Fall 2007 Northeastern University 14 September 2007

Computer Science & Engineering 423/823 Design and Analysis of Algorithms

3 INTEGER LINEAR PROGRAMMING

Outline. Column Generation: Cutting Stock A very applied method. Introduction to Column Generation. Given an LP problem

Column Generation: Cutting Stock

MA4254: Discrete Optimization. Defeng Sun. Department of Mathematics National University of Singapore Office: S Telephone:

3 No-Wait Job Shops with Variable Processing Times

Steiner Trees and Forests

ME 391Q Network Flow Programming

AM 121: Intro to Optimization Models and Methods Fall 2017

Artificial Intelligence

Polynomial time approximation algorithms

Solutions to Assignment# 4

Combinatorial Optimization Lab No. 10 Traveling Salesman Problem

Primal Dual Schema Approach to the Labeling Problem with Applications to TSP

Lecture 10,11: General Matching Polytope, Maximum Flow. 1 Perfect Matching and Matching Polytope on General Graphs

56:272 Integer Programming & Network Flows Final Exam -- December 16, 1997

of optimization problems. In this chapter, it is explained that what network design

Graphs and Algorithms 2016

Approximation Algorithms

Theorem 2.9: nearest addition algorithm

val(y, I) α (9.0.2) α (9.0.3)

Chapter 24. Shortest path problems. Chapter 24. Shortest path problems. 24. Various shortest path problems. Chapter 24. Shortest path problems

Transcription:

Institut for Matematik og Datalogi Syddansk Universitet May 18, 2011 JBJ DM515 Spring 2011 Weekly Note 7 Stuff covered in Week 20: MG sections 8.2-8,3 Overview of the course Hints for the exam Note that there are no lectures in week 21, but 3 exercise classes! These are Monday, May 23 12-14 in U20 Wednesday 8-10 in U140 Thursday 12-14 in U20 Problems for the exercises in week 21: 1. Read Section 2.3.4 in BG on the Bellman-Ford algorithm and be prepared to discuss the correctness of the algorithm. Just as in Dijkstra s algorithm we can maintain, for every vertex v s a predecessor for v on the current shortest path from s to v. These start out being nil and when d(v) is changed by relaxing the arc uv the predecessor will become u. Show how to use the predecessor arcs to find a negative cycle in the case the step 3 (bottom of page 56) returns the message that D has such a cycle. Hint: consider what happens when the predecessor graph contains a cycle for the first time (its starts having no arcs). 2. Questions 6.5.2 and 6.5.9 in Gutin s notes. 3. Another formulation of TSP. Let x ij be a 0-1 variable indicating whether or not vertex j comes immediately after vertex i in the tour (that is, we fix an orientation of the tour so if i is just after j, then j is not just after i, i.e. at most one of x ij,x ji can be 1) and let c ij be the distance. The length of the tour given by x is then i=1 c ij x ij (1) j=1 1

which we wish to minimize over all x which correspond to a tour (a hamiltonian cycle). Since each vertex is preceeded and followed by exactly one vertex in a tour x must satisfy (2) and (3): x ij = 1, i = 1,2,...,n (2) j=1 x ij = 1, j = 1,2,...,n (3) i=1 The optimal solution to (1)-(3) may still not be a hamiltonian cycle, but it is always a collection of cycles. In fact (1)-(3) describe exactly the assignment problem which you have seen in BG 3.12. In order to force the solution to be just one cycle we add the following sets of conditions: x ij S 1, for every proper subset S {1,2,...,n} (4) i S j S The problem about the formulation above is the there are exponentially many constraints. Now we will look at another formulation (due to Miller, Tucker and Zemlin 1960) which also eliminates subtours and has only a polynomial number of constraints. (a) Fixvertex1tobethehomebaseandforeachothervertexiletu i beanarbitrary real number. Show that if x is a feasible solution to (1)-(4), then we can choose values for u 2,u 3,...,u n so that the following holds: u i u j +nx ij n 1, i,j = 2,3,...,n. (5) Hint: consider the number of edges from vertex 1 to vertex i along the tour corresponding to x and choose u i based on this. (b) Show that if x is a 0-1 solution satisfying (2), (3) but violating (4), then (5) cannot hold for all i,j = 2,3,...,n. Hint: consider the sum of these equations along a subtour which does not contain vertex 1. (c) The observation above shows that (1),(2), (3), (5) and x 0-1 valued is a valid formulation of TSP. Discuss the quality of the LP-relaxation of this formulation compared to the classical one using the subtour constraints. 4. Consider the fractional LP solution to a TSP problem in Figure 1. Find a valid in-equality (one which holds for all 0-1 solutions) which cuts off the LP solution x of Figure 1. Hint: Does x satisfy the constraints (4)? 5. Consider the fractional LP solution y to a TSP problem given in Figure 2. Identify a violated Comb inequality, which when added to the formulation will cut away y. 2

1 3 2 4 6 5 Figure 1: Fractional solution to a TSP problem. Figure 2: A fractional LP solution y to a TSP instance. Dotted lines mean y = 1 2 and full lines mean y = 1. 3

6. Summer 2008 Problem 4. 7. Consider the following instance of the scheduling problem from Section 8.3 in MG: There are 2 machines M = {1,2} and 4 jobs J = {3,4,5,6}. The processing times of the jobs are given by d 13 = 5,d 23 = 3,d 14 = 5,d 24 = 2,d 15 = 10,d 25 = 12,d 16 = 6,d 26 = 8. (a) Formulate the problem of minimizing the makespan as an integer programming problem in the variables x ij,i {1,2},j {3,4,5,6} and t. That is, write out the full integer programming problem. (b) Solve the problem by inspection. (c) Consider the LP-relaxation and show that the following solution is feasible (only non-zero values are shown: x 23 = x 24 = x 16 = 1 and x 15 = x 25 = 1/2. It can be shown that this is an optimal solution (you may check this using the computer softwareifyouwish). UsethemethodofSection8.3toobtainanintegersolution from this LP solution. Discuss the value of this solution compared to the optimal IP solution. (d) Find the dual of the LP-relaxation above (convert primal to a maximization problem first). (e) Use this Dual to find a good bound on the optimal value of the LP problem (guess a solution). 8. Consider again the scheduling problem from Section 8.3 in MG. Suppose that a given subset J J of jobs must be scheduled on the same machine (it can be any of the machines and on this machine they may be scheduled in any of the possible orders). Show how to change the model to handle this case. 9. Clausen and Larsen Section 9.5 Exercises 5, 8 10. DM85 spring 2007 project 2: Problems 1, 2, 3. This is available on the bottom of the home page of the course. Final pensum Matousek and Gaertner: Understanding and using linear programming, Springer Verlag, Berlin, 2006. Pages 1-48, 53-89 (there will be no exam questions in Sections 5.8, 5.9) and 142-156, 204 (complementary slackness). J. Bang-Jensen and G. Gutin, Digraphs: Theory algorithms and applications, Springer Verlag, London 2001. Pages 55-58, 95-116, 128-134, 137-140. G. Gutin, Computational Optimisation, Notes from Department of Computer Science, Royal Holloway, University of London. pages 1-15, 22-24 og 32-60. 4

J. Clausen og J. Larsen, Supplementary notes to networks and integer programming, DTU 2009. Pages 5-18, 69-92 og 143-162. W.J. Cook, W. H. Cunningham, W.R. Pulleyblank og A. Schrijver, Combinatorial optimization, Wiley 1998. Siderne 261-265. This is the section about cutting planes for TSP og Comb-inequalities. These pages (pages 252-271) were handed out at the lectures (several time). In case you still (!) don t have a copy get one from the library or ask Mette for a copy. All weekly notes and material on these. In particular you should know how to use all methods discussed on the weekly notes. The exam June 6 9-13: You are not allowed to use a computer but books notes, pocket calculator is allowed. It is very important that you bring all material in the pensum list to the exam including weekly notes!! At the exam you should be able to formulate simple IP and LP problems from descriptions in words or argue that a proposed model is correct for the problem described. You should be able to apply the methods covered in the course (such as Gomory cuts, Branch and Bound, adding valid inequalities, comb inequalities, reducing to and solving a flow problem, etc). Most of the exam will check that you understand the methods and models and that you can use these. You should be able to use things such as the max flow min cut theorem, (LP) relaxation (such as IP to LP or TSP to the assigment problem). you must be able to derive the dual problem of an LP problem and apply the duality theorem. The above is by no means an exhaustive list (see the competency list for the course) but it should give you a feeling what is expected from you. Everyone who worked well during the course and who can apply the methods will be able to do well at the exam. 5