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

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

Fundamentals of Integer Programming

5.3 Cutting plane methods and Gomory fractional cuts

Integer Programming: Algorithms - 2

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

Algorithms for Decision Support. Integer linear programming models

3 INTEGER LINEAR PROGRAMMING

MVE165/MMG631 Linear and integer optimization with applications Lecture 7 Discrete optimization models and applications; complexity

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

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

The MIP-Solving-Framework SCIP

Lagrangean relaxation - exercises

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

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

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

Assignment 3b: The traveling salesman problem

15.082J and 6.855J. Lagrangian Relaxation 2 Algorithms Application to LPs

Algorithms for Integer Programming

Integer Programming as Projection

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

A Generic Separation Algorithm and Its Application to the Vehicle Routing Problem

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

Integer Programming Theory

DM515 Spring 2011 Weekly Note 7

Integer and Combinatorial Optimization

/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang

Nonlinear Programming

2. Modeling AEA 2018/2019. Based on Algorithm Engineering: Bridging the Gap Between Algorithm Theory and Practice - ch. 2

Lagrangian Relaxation: An overview

DETERMINISTIC OPERATIONS RESEARCH

Unit.9 Integer Programming

THEORY OF LINEAR AND INTEGER PROGRAMMING

Algorithms for the Precedence Constrained Generalized Travelling Salesperson Problem

Applied Lagrange Duality for Constrained Optimization

Lecture 3. Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets. Tepper School of Business Carnegie Mellon University, Pittsburgh

Combinatorial Auctions: A Survey by de Vries and Vohra

Optimization Methods in Management Science

Financial Optimization ISE 347/447. Lecture 13. Dr. Ted Ralphs

Advanced Operations Research Techniques IE316. Quiz 2 Review. Dr. Ted Ralphs

Surrogate Gradient Algorithm for Lagrangian Relaxation 1,2

Mathematical Tools for Engineering and Management

A List Heuristic for Vertex Cover

lpsymphony - Integer Linear Programming in R

Approximation Algorithms

GENERAL ASSIGNMENT PROBLEM via Branch and Price JOHN AND LEI

Integer Programming! Using linear programming to solve discrete problems

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

Some Advanced Topics in Linear Programming

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

Design and Analysis of Algorithms (V)

An Improved Subgradiend Optimization Technique for Solving IPs with Lagrangean Relaxation

From the Separation to the Intersection Sub-problem in Benders Decomposition Models with Prohibitively-Many Constraints

Improved Gomory Cuts for Primal Cutting Plane Algorithms

Lagrangian Relaxation in CP

5. DUAL LP, SOLUTION INTERPRETATION, AND POST-OPTIMALITY

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 1: Introduction to Optimization. Instructor: Shaddin Dughmi

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

Motivation for Heuristics

Exploiting Degeneracy in MIP

Exact solutions to mixed-integer linear programming problems

11. APPROXIMATION ALGORITHMS

Pivot and Gomory Cut. A MIP Feasibility Heuristic NSERC

A constant-factor approximation algorithm for the asymmetric travelling salesman problem

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

TSP! Find a tour (hamiltonian circuit) that visits! every city exactly once and is of minimal cost.!

CS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018

Combinatorial Optimization

Combinatorial Optimization - Lecture 14 - TSP EPFL

Selected Topics in Column Generation

1 date: September 15, 1998 file: mitche1

Integer Programming Explained Through Gomory s Cutting Plane Algorithm and Column Generation

Minimum Weight Constrained Forest Problems. Problem Definition

Embedding Formulations, Complexity and Representability for Unions of Convex Sets

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

How to use your favorite MIP Solver: modeling, solving, cannibalizing. Andrea Lodi University of Bologna, Italy

Research Interests Optimization:

Solvers for Mixed Integer Programming /425 Declarative Methods - J. Eisner 1

Lagrangean Methods bounding through penalty adjustment

The Gurobi Solver V1.0

On Mixed-Integer (Linear) Programming and its connection with Data Science

Decomposition and Dynamic Cut Generation in Integer Linear Programming

Contents. Preface CHAPTER III

Primal Heuristics in SCIP

Gurobi Guidelines for Numerical Issues February 2017

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Integer Programming ISE 418. Lecture 7. Dr. Ted Ralphs

Heuristic Optimization Today: Linear Programming. Tobias Friedrich Chair for Algorithm Engineering Hasso Plattner Institute, Potsdam

Improving Dual Bound for Stochastic MILP Models Using Sensitivity Analysis

TMA946/MAN280 APPLIED OPTIMIZATION. Exam instructions

1. Lecture notes on bipartite matching February 4th,

Decomposition in Integer Linear Programming

TIM 206 Lecture Notes Integer Programming

7KH9HKLFOH5RXWLQJSUREOHP

Integer Programming ISE 418. Lecture 1. Dr. Ted Ralphs

Computational Integer Programming. Lecture 12: Branch and Cut. Dr. Ted Ralphs

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Linear Programming and Integer Linear Programming

Part 4. Decomposition Algorithms Dantzig-Wolf Decomposition Algorithm

Convex Optimization CMU-10725

Decomposition in Integer Linear Programming

Transcription:

MVE165/MMG631 Linear and integer optimization with applications Lecture 9 Discrete optimization: theory and algorithms Ann-Brith Strömberg 2018 04 24 Lecture 9 Linear and integer optimization with applications 1/16

Overview Relaxations: cutting planes and Lagrangean duals TSP and routing problems Branch and bound for structured problems Lecture 9 Linear and integer optimization with applications 2/16

Good and ideal formulations (Ch. 14.3) Ax b Ideal since all extreme points are integral The linear program has integer extreme points Lecture 9 Linear and integer optimization with applications 3/16

Cutting planes: A very small example Consider the following ILP: min{ x 1 x 2 :2x 1 +4x 2 7, x 1, x 2 0andinteger} ILP optimal solution: z = 3, x =(3, 0) LP (continuous relaxation) optimum: z = 3.5, x =(3.5, 0) Generate a simple cut Divide the constraint by 2 and round the RHS down x 1 +2x 2 3.5 x 1 +2x 2 3 Adding this cut to the continuous relaxation yields the optimal ILP solution Lecture 9 Linear and integer optimization with applications 4/16

Cutting planes: valid inequalities (Ch. 14.4) Consider the ILP max 7x 1 +10x 2 subject to x 1 +3x 2 6 (1) 7x 1 + x 2 35 (2) x 1, x 2 0, integer LP optimum: z =66.5, x =(4.5, 3.5) ILP optimum: z =58,x =(4, 3) Generate a VI: Add the two constraints (1) and (2): 6x 1 +4x 2 41 3x 1 +2x 2 20 x =(4.36, 3.45) Generate another VI: 7 (1)+(2) : 22x 2 77 x 2 3 x =(4.57, 3) (2) (1) Lecture 9 Linear and integer optimization with applications 5/16

Cutting plane algorithms (iterativley better approximations of the convex hull) (Ch. 14.5) Choose a suitable mathematical formulation of the problem A general cutting plane algorithm (cf. p. 378) 1 Solve the linear programming (LP) relaxation 2 If the LP solution is integer: stop; an optimal solution to ILP is found 3 Add one or several valid inequalities that cut off the fractional solution but none of the integer solutions 4 Resolve the new problem and go to step 2. Remark: An inequality in higher dimensions defines a hyper-plane; therefore the name cutting plane Lecture 9 Linear and integer optimization with applications 6/16

About cutting plane algorithms Problem: It may be necessary to generate VERY MANY cuts Each cut should also pass through at least one integer point faster convergence Methods for generating valid inequalities Chvatal-Gomory cuts (combine constraints, make beneficial roundings of LHS and RHS) Gomory s method: generate cuts from an optimal simplex basis (Ch. 14.5.1) Pure cutting plane algorithms are usually less efficient than branch & bound In commercial solvers (e.g. CPLEX), cuts are used to help (presolve) the branch & bound algorithm For problems with specific structures (e.g. TSP and set covering) problem specific classes of cuts are used Lecture 9 Linear and integer optimization with applications 7/16

Gomory s cutting plane algorithm (Ch. 14.5.1) Step 3 of the algorithm when the linear programming optimal solution is fractional Consider the optimal basis B: x B + B 1 Nx N = B 1 b For all i B, definingā ij =(B 1 N) ij and b i =(B 1 b) i,then x i + j N āijx j = b i (1) Consider an i B such that b i is non-integer and define the fractions b i := b i b i (0, 1); ã ij := ā ij ā ij [0, 1), j N From (1) then follows that x i + j N ā ij x j b i = b i j N ãijx j (2) Lecture 9 Linear and integer optimization with applications 8/16

Gomory s cutting plane algorithm (Ch. 14.5.1) By construction, the LHS of (2), i.e., x i + j N ā ij x j b i is integer (3) Then, also b i j N ãijx j must be integer (RHS of (2)) Since b i < 1, ã ij 0andx j 0, j N, itfollowsthat b i ã ij x j < 1 j N = b i ã ij x j j N Add the constraint j N ãijx j x n+1 = b i to the problem Since b i > 0andx j =0,j N, itisclearthatthecurrent basic solution becomes infeasible But the added constraint does not cut any integer solutions Lecture 9 Linear and integer optimization with applications 9/16

Lagrangian relaxation ( optimistic estimates of z ) (Ch. 17.1 17.2) Consider a minimization integer linear program (ILP) [ILP] z = min c x subject to Ax b (1) Dx d (2) x 0 and integer Assume that the constraints (1) are complicating (subtour eliminating constraints for TSP, e.g.) Define the set X = {x Z n + Dx d} Remove the constraints (1) and add them with penalty parameters v to the objective function { } h(v) =min c x + v (Ax b) (3) x X Lecture 9 Linear and integer optimization with applications 10/16

Weak duality of Lagrangian relaxations Theorem For any v 0 it holds that h(v) z. Bevis. Let x be feasible in [ILP] x X and Ax b. Itthenholdsthat { } h(v) =min c x + v (Ax b) c x + v (Ax b) c x. x X Since an optimal solution x to [ILP] is also feasible, it holds that h(v) c x = z. h(v) isalower bound on the optimal value z for any v 0 The best lower bound is given by { h =maxh(v) =max v 0 v 0 min x X { c x + v (Ax b) } } z Lecture 9 Linear and integer optimization with applications 11/16

Tractable Lagrangian relaxations Special algorithms for maximizing the Lagrangian dual function h exist (e.g., subgradient optimization, Ch. 17.3) h is always concave but typically nondifferentiable For each value of v chosen, a subproblem (3) must be solved For general ILP s: typically a non-zero duality gap h < z The Lagrangian relaxation bound is never worse that the linear programming relaxation bound, i.e. z LP h z If the set X has the integrality property (i.e., X LP has integral extreme points) then h = z LP Choose the constraints (Ax b) to dualize such that the relaxed problem (3) is computationally tractable but still does not possess the integrality property Lecture 9 Linear and integer optimization with applications 12/16

An ILP Example [Homework] Find optimistic and pessimistic bounds for the following ILP example using the branch & bound algorithm, a cutting plane algorithm, and Lagrangean relaxation. max 5x 1 +4x 2 s.t. x 1 + x 2 5 10x 1 +6x 2 45 x 1, x 2 0andinteger The linear programming optimal solution is given by the basis x B = {x 1, x 2 } with optimal values z =23.75, x 1 =3.75 and x 2 =1.25 Lecture 9 Linear and integer optimization with applications 13/16

ILP formulation of the TSP problem d ij : distance from city i to city j Binary variables x ij for each connection V = {1,...,n}: setofnodes(cities) min s.t. d ij x ij, (0) i V j V x ij = 1, i V, (1) j V x ij = 1, j V, (2) i V x ij 1, U V :2 U V 2, (3) i U,j V \U x ij {0, 1}, i, j V (4) (0) (2), (4): assignment problem Enter and leave each city exactly once (1) and (2) Constraints (3): subtour elimination Lecture 9 Linear and integer optimization with applications 14/16

Solution methods for the TSP Problem Tailored branch & bound (Ch. 15) Heuristics Constructive heuristics (Ch. 16.3) Local search heuristics (Ch. 16.4) Approximation algorithms (Ch. 16.6) Metaheuristics (Ch. 16.5) Lagrangean relaxation and subgradient optimization (Ch. 17). Common difficulty for all solution methods for the TSP: Combinatorial explosion: # possible tours n! Very many subtour elimination constraints (3) Lecture 9 Linear and integer optimization with applications 15/16

Branch and bound algorithm for TSP (Ch. 15.4.2) Relaxing just the binary constraints (4) in TSP does not yield a tractable problem, since the number of subtour elimination constraints (3) is very large An LP with very many constraints Relaxing the subtour eliminating constraints (3) yields an assignment problem, which can be solved in polynomial time Solutions to a relaxed problem typically contains a number of sub-tours Branch on these sub-tours (rather than on fractional variables) Branching partitioning of the solution space Draw an example Lecture 9 Linear and integer optimization with applications 16/16