Optimization Methods in Management Science

Similar documents
Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique.

Cutting Plane Methods I

Section Notes 9. Midterm 2 Review. Applied Math / Engineering Sciences 121. Week of December 3, 2018

Foundations of Operations Research

CO 250 Final Exam Guide

Gomory Cuts and a little more

The Simplex Method. Standard form (max) z c T x = 0 such that Ax = b.

A Review of Linear Programming

AM 121: Intro to Optimization! Models and Methods! Fall 2018!

Operations Research Lecture 6: Integer Programming

Lecture 8: Column Generation

Section Notes 8. Integer Programming II. Applied Math 121. Week of April 5, expand your knowledge of big M s and logical constraints.

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.

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

Math 354 Summer 2004 Solutions to review problems for Midterm #1

The Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science

Lecture 8: Column Generation

IE 400 Principles of Engineering Management. The Simplex Algorithm-I: Set 3

3.7 Cutting plane methods

Lecture 5 Simplex Method. September 2, 2009

CS Algorithms and Complexity

MATH 445/545 Test 1 Spring 2016

AM 121 Introduction to Optimization: Models and Methods Example Questions for Midterm 1

Review Solutions, Exam 2, Operations Research

Ann-Brith Strömberg. Lecture 4 Linear and Integer Optimization with Applications 1/10

Integer Programming: Cutting Planes

The Simplex Method. Formulate Constrained Maximization or Minimization Problem. Convert to Standard Form. Convert to Canonical Form

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.

maxz = 3x 1 +4x 2 2x 1 +x 2 6 2x 1 +3x 2 9 x 1,x 2

MATH 445/545 Homework 2: Due March 3rd, 2016

Summary of the simplex method

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs

min3x 1 + 4x 2 + 5x 3 2x 1 + 2x 2 + x 3 6 x 1 + 2x 2 + 3x 3 5 x 1, x 2, x 3 0.

Introduction to linear programming

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

Spring 2017 CO 250 Course Notes TABLE OF CONTENTS. richardwu.ca. CO 250 Course Notes. Introduction to Optimization

The Ellipsoid Algorithm

Algebra 1. Standard 1: Operations With Real Numbers Students simplify and compare expressions. They use rational exponents and simplify square roots.

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0

Solutions to Review Questions, Exam 1

2.098/6.255/ Optimization Methods Practice True/False Questions

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions

TIM 206 Lecture 3: The Simplex Method

Week 3: Simplex Method I

Lesson 27 Linear Programming; The Simplex Method

Metode Kuantitatif Bisnis. Week 4 Linear Programming Simplex Method - Minimize

Chapter 4 The Simplex Algorithm Part I

Integer Programming. The focus of this chapter is on solution techniques for integer programming models.

Today s class. Constrained optimization Linear programming. Prof. Jinbo Bi CSE, UConn. Numerical Methods, Fall 2011 Lecture 12

Review Problems Solutions MATH 3300A (01) Optimization Fall Graphically, the optimal solution is found to be x 1 = 36/7, x 2 = 66/7, z = 69/7.

On the knapsack closure of 0-1 Integer Linear Programs. Matteo Fischetti University of Padova, Italy

1 Column Generation and the Cutting Stock Problem

Spring 2018 IE 102. Operations Research and Mathematical Programming Part 2

Foundations of Operations Research

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2)

Part 1. The Review of Linear Programming

IE 400: Principles of Engineering Management. Simplex Method Continued

Integer Programming Chapter 15

Integer Linear Programming Modeling

4.4 The Simplex Method and the Standard Minimization Problem

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta

Cutting Plane Methods II

Generating Gomory's Cuts for linear integer programming problems: the HOW and WHY

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations

Variants of Simplex Method

Integer Programming Methods LNMB

Optimization Exercise Set n.5 :

The augmented form of this LP is the following linear system of equations:

Math 1 Variable Manipulation Part 5 Absolute Value & Inequalities

Cutting Plane Separators in SCIP

Simplex Method for LP (II)

arxiv: v1 [cs.cc] 5 Dec 2018

LINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:

March 2002, December Introduction. We investigate the facial structure of the convex hull of the mixed integer knapsack set

Fundamental Theorems of Optimization

Small (Explicit) Extended Formulation for Knapsack Cover Inequalities from Monotone Circuits

Dual fitting approximation for Set Cover, and Primal Dual approximation for Set Cover

Systems Analysis in Construction

Introduction to Integer Linear Programming

February 17, Simplex Method Continued

Sensitivity Analysis

Linear Programming, Lecture 4

Today: Linear Programming (con t.)

Gomory Cuts. Chapter 5. Linear Arithmetic. Decision Procedures. An Algorithmic Point of View. Revision 1.0

Understanding the Simplex algorithm. Standard Optimization Problems.

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

Branch-and-cut Approaches for Chance-constrained Formulations of Reliable Network Design Problems

On the Chvatál-Complexity of Binary Knapsack Problems. Gergely Kovács 1 Béla Vizvári College for Modern Business Studies, Hungary

On the knapsack closure of 0-1 Integer Linear Programs

Computational Integer Programming Universidad de los Andes. Lecture 1. Dr. Ted Ralphs

An overview of key ideas

x 1 + 4x 2 = 5, 7x 1 + 5x 2 + 2x 3 4,

Lectures 6, 7 and part of 8

4. Duality and Sensitivity

1 Review Session. 1.1 Lecture 2

The Strength of Multi-row Aggregation Cuts for Sign-pattern Integer Programs

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

1 The Knapsack Problem

ECE 307 Techniques for Engineering Decisions

Transcription:

Optimization Methods in Management Science MIT 15.05 Recitation 8 TAs: Giacomo Nannicini, Ebrahim Nasrabadi At the end of this recitation, students should be able to: 1. Derive Gomory cut from fractional rows of the Simplex tableau. 2. Have an intuitition of the geometry of Gomory cuts.. Understand the concept of valid cover and of minimal cover for a knapsack problem. Problem 1 Consider the linear programming feasible region and the integer program feasible region given in the diagram to the right. Figure 1: Sketch of the feasible region of the LP relaxation for Problem 1 Which of the following are valid inequalities for the integer program? (a) x 4 No (b) x 2 Yes (c) y 1 Yes

x 2 x 1 Figure 2: Sketch of the feasible region of the LP relaxation for Part 2.A. (d) y 6 Yes (e) x + y. Yes Problem 2 Consider the feasible region of an Integer Program defined by the following constraints: x 1 + 5x 2 12 4x 1 + x 2 20 x 1 + x 2 11/2 (IP ) j = 1, 2 x j 0 j = 1, 2 x j Z. (a) Sketch the feasible region of the LP relaxation of the problem. Then, determine the convex hull of the feasible integer points of (IP), first graphically, and then algebraically, using your sketch to determine the inequalities that define the convex hull. (Note: the first constraint passes through the points ( 4, 0) and (1, ), and the second constraint passes through the points (5, 0) and (2, 4). This should allow you to draw the feasible region very quickly.) The feasible region of the LP relaxation is sketched in Figure 2. The feasible integer points are those inside the yellow region. The convex hull of the feasible integer points is the smallest convex set that contains all of them. We can determine the set graphically as shown in Figure. It is sometimes also called simply the convex hull of the Integer Program. It is not hard too see graphically that the integer hull is defined by three constraints: x 1 + x 2 2, x 2 and x 1 + x 2 5, together with nonnegativity x 1 0, x 2 0. 2

x 2 x 1 Figure : Sketch of the integer hull of the integer points for Part 2.A. (b) Let F be the feasible region of (IP). (Note: F is a set of integer points, it is not the feasible region of the LP relaxation of (IP).) Consider the set X defined as: X = {x 1 + x 2 11/2 : x 1, x 2 Z}. What is the relationship between F and X, in terms of inclusion? Now determine a valid inequality for the set X. Is this inequality also valid for (IP)? Justify your answer based on the relationship between F and X. (Recall the definition of valid inequality for a set: it is an inequality that does not cut off any integer feasible point of the set.) The set X is defined by only some of the constraints that define F : it has integrality on the two variables, and the constraint x 1 + x 2 11/2. It is therefore clear that every point that satisfies (IP) also satisfies the constraints of X. Hence, F X. Any inequality that does not cut off integer points that satisfy x 1 + x 2 11/2 is a valid inequality for X. We can easily determine such an inequality by noticing that the lefthand side of the inequality integer, therefore we can round down the right-hand side. We obtain x 1 + x 2 5. This inequality is valid for X and is valid for (IP) as well: in fact, it is one of the inequalities that define the convex hull of (IP). It is easy to show validity: because x 1 + x 2 5 is valid for X, it does not cut off any point in X. Because X is a relaxation of F (that is, F X), x 1 + x 2 5 cannot cut off any point in F. It follows that the inequality is valid for (IP). Problem We want to solve an integer program (which is a maximization problem) using the Gomory cutting plane technique. We first consider the linear programming relaxation with the following initial LP tableau.

Basic x 1 x 2 x s 1 s 2 s Rhs ( z) -2 4 1 0 s 1 2 1 1 1 8 s 2-4 4 2 1 8 s 1 2 1 9 After three pivots, we obtain the following optimal tableau for the LP relaxation: Basic x 1 x 2 x s 1 s 2 s Rhs ( z) 0 0-2 1-2 - 2-11 1 s 1-1 1 1 2 1 x 2 1 1 1 4-1 1 1 1 6 x 1 1 1 2 12 1 2 1 6 1 2 (a) Derive two Gomory cuts based on the final two constraints of the second tableau. Gomory cut from the second row: By rounding down the coefficients and the RHS, we obtain x 1 + x + 0s 2 + 0s, By subtracting this inequality from the the second constraint in the tableau, we get the following Gomory cut: x / + s 2 /12 + s / 2/. (1) Similarly, we get the following Gomory cut from the third row: 2x / + 5s 2 /6 + s / 2/ (2) (b) Does the basic feasible solution from final tableau satisfy either of the two constraints from Part (a)? No, the current LP solution from Tableau 2 does not satisfy either of the two constraints from part (a). Problem 4 Consider the knapsack set: K = {x {0, 1} 7 : 11x 1 + 6x 2 + 6x + 5x 4 + 5x 5 + 4x 6 + x 7 19}. We want to derive valid inequalities for this set. (a) For each of the following inequalities, identify whether or not they are valid knapsack covers, and explain why. (a) x 4 + x 5 + x 6 2 (b) x 1 + x 2 + x 6 2 (c) x 2 + x + x 6 + x 7 (d) x 2 + x 4 + x 5 + x 6 (e) x 1 + x + x 4 + x 5 (f) x 2 + x + x 4 + x 5 + x 6 4 4

Suppose we have a knapsack constraint n j=1 a j x j b with n variables. Let C {1,..., n}. An inequality of the form j C x j C 1 is valid if j C a j > b. We can use this definition to check validity of the inequalities n above. For example, the first inequality is not valid: we have C = {4, 5, 6} and j C a j = 5 + 5 + 4 19. Intuitively, this can be verified as follows: the weight of items 4, 5 and 6 sums up to 14. Therefore, we cannot say that we must select at most 2 out of these items: we could potentially select all of them without violating the knapsack constraint. At the same time, the second inequality is valid: we have C = {1, 2, 6}, which yields 11 + 6 + 4 > 19. So, we can safely state that we can select at most 2 items out of the set {1, 2, 6}: otherwise, we would violate the knapsack constraint. With the same logic, we can verify validity of all the inequalities. (a) Not valid. (b) Valid. (c) Not valid. (d) Valid. (e) Valid. (f) Valid. (b) For all valid knapsack covers in Part (a), identify whether or not they are minimal. A knapsack cover is minimal if removing any element from the cover yields a set that is not a cover. This is better explained by an example. Consider inequality 2) above: x 1 + x 2 + x 6 2. The cover is formed by the elements {1, 2, 6}, whose weight sums up to 21 > 19. If we remove any element from the cover, the sum of the weights will be less than 19, hence we would not obtain another cover. It follows that the cover {1, 2, 6} and the corresponding inequality are minimal. Similarly, we can determine that 4) is minimal, 5) is not minimal, and 6) is not minimal. (c) (Advanced material: understanding this question is not required for the Midterm.) n n Consider the knapsack cover C = {2,, 4, 5} that yields the inequality x 2 +x +x 4 +x 5. Do you see a way of enlarging the cover while keeping the same right-hand side of the inequality? That is: can you find a valid inequality of the form x 2 + x + x 4 + x 5 + [... ], where the [... ] stands for one or more variables? If you can find such an inequality (called an extended cover), do you think that it is stronger or weaker than the initial cover? Justify your answer. If we look at the weight of the items in the cover (i.e. the coefficient with which the items appear in the knapsack constraint), we see that x 1 has larger weight than every item in the cover. Therefore, if we can select at most items out of the set C, we can also select at most items out of the set C {1}. This can be proven as follows. By hypothesis, x 2 + x + x 4 + x 5 is a valid cover inequality. We want to prove that x 1 + x 2 + x + x 4 + x 5 is valid. Suppose not. Then there exists a set a feasible solution to the knapsack set K such that four items out of {1, 2,, 4, 5} are selected. Note that the four items with least weight out of {1, 2,, 4, 5} are 2,, 4, 5. Therefore, every set of four items out of {1, 2,, 4, 5} has weight at least equal to the weight of {2,, 4, 5}. But {2,, 4, 5} is a valid cover by hypothesis, which 5

implies that the sum of the weight of every four items out of {1, 2,, 4, 5} is larger than 19. The contradiction follows. The inequality x 1 + x 2 + x + x 4 + x 5 is an extended cover. The extended cover is at least as strong as the initial cover. In fact, because x 1 0, we have x 2 + x + x 4 + x 5 x 1 + x 2 + x + x 4 + x 5. It follows that every point that satisfies the extended cover also satisfies the initial cover: the extended cover cuts off at least the same points that are cut off by the initial cover. However, the converse is not necessarily true. For example, the point x 1 = /4, x 2 = /4, x = /4, x 4 = /4, x 5 = /4, which is not feasible for K, is not cut off by the initial cover, but is cut off by the extended cover. 6

MIT OpenCourseWare http://ocw.mit.edu 15.05 Optimization Methods in Management Science Spring 201 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.