Gomory Cuts and a little more

Similar documents
Optimization Methods in Management Science

Lecture 4: Constructing the Integers, Rationals and Reals

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

Solving Systems of Equations: A brief tutorial for

Part III: A Simplex pivot

February 22, Introduction to the Simplex Algorithm

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

Review Solutions, Exam 2, Operations Research

Note: Please use the actual date you accessed this material in your citation.

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

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

Math Fundamentals for Statistics I (Math 52) Unit 7: Connections (Graphs, Equations and Inequalities)

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.

Topics in Theoretical Computer Science April 08, Lecture 8

September 12, Math Analysis Ch 1 Review Solutions. #1. 8x + 10 = 4x 30 4x 4x 4x + 10 = x = x = 10.

Lesson 3-1: Solving Linear Systems by Graphing

Sample Problems. Lecture Notes Proof by Induction page 1. Prove each of the following statements by induction.

MITOCW MITRES18_005S10_DerivOfSinXCosX_300k_512kb-mp4

Methods of Mathematics

A. Incorrect! This inequality is a disjunction and has a solution set shaded outside the boundary points.

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

Conceptual Explanations: Simultaneous Equations Distance, rate, and time

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

MA 1128: Lecture 08 03/02/2018. Linear Equations from Graphs And Linear Inequalities

MITOCW ocw-18_02-f07-lec02_220k

MITOCW MITRES_18-007_Part1_lec5_300k.mp4

Quadratic Equations Part I

Operations Research Lecture 6: Integer Programming

Grades 7 & 8, Math Circles 10/11/12 October, Series & Polygonal Numbers

Algebra Exam. Solutions and Grading Guide

MITOCW MITRES_18-007_Part3_lec5_300k.mp4

Chapter 26: Comparing Counts (Chi Square)

PMD/X Tutorial. Physics and Joints. First Published: 07/07/12 Updated On: 12/08/12

Solution Guide for Chapter 10

MITOCW MITRES_18-007_Part5_lec3_300k.mp4

MITOCW watch?v=pqkyqu11eta

Descriptive Statistics (And a little bit on rounding and significant digits)

MA 3280 Lecture 05 - Generalized Echelon Form and Free Variables. Friday, January 31, 2014.

24. Nonlinear programming

Summary of the simplex method

Beyonce s Lunar Adventure

Regression, part II. I. What does it all mean? A) Notice that so far all we ve done is math.

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

Chapter 1 Review of Equations and Inequalities

MITOCW MITRES_18-007_Part1_lec3_300k.mp4

Linear Programming, Lecture 4

OPTIMISATION /09 EXAM PREPARATION GUIDELINES

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

6.041SC Probabilistic Systems Analysis and Applied Probability, Fall 2013 Transcript Tutorial:A Random Number of Coin Flips

Math Lab 10: Differential Equations and Direction Fields Complete before class Wed. Feb. 28; Due noon Thu. Mar. 1 in class

MA 1125 Lecture 15 - The Standard Normal Distribution. Friday, October 6, Objectives: Introduce the standard normal distribution and table.

Section 1.x: The Variety of Asymptotic Experiences

4.3 Minimizing & Mixed Constraints

Physics Motion Math. (Read objectives on screen.)

MITOCW ocw feb k

HAMPSHIRE COLLEGE: YOU CAN T GET THERE FROM HERE : WHY YOU CAN T TRISECT AN ANGLE, DOUBLE THE CUBE, OR SQUARE THE CIRCLE. Contents. 1.

Note: Please use the actual date you accessed this material in your citation.

Linear Programming Duality

Optimization Methods in Management Science

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

1 Column Generation and the Cutting Stock Problem

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011

MITOCW MITRES18_006F10_26_0501_300k-mp4

Lecture 10: Powers of Matrices, Difference Equations

Luyện đọc Tiếng Anh: The Monkey and the Crocodile

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

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

3: Linear Systems. Examples. [1.] Solve. The first equation is in blue; the second is in red. Here's the graph: The solution is ( 0.8,3.4 ).

Toss 1. Fig.1. 2 Heads 2 Tails Heads/Tails (H, H) (T, T) (H, T) Fig.2

Vectors and their uses

March 13, Duality 3

MITOCW watch?v=ed_xr1bzuqs

THE EVIL QUEEN AND THE RED CACTUS By Dilmehr Kaur. The. Story Analysis BY JIHAN KAMILA AULIRAHAM. And The

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

Quantum Entanglement. Chapter Introduction. 8.2 Entangled Two-Particle States

Talk Science Professional Development

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

The Basics COPYRIGHTED MATERIAL. chapter. Algebra is a very logical way to solve

Conditional Probability, Independence and Bayes Theorem Class 3, Jeremy Orloff and Jonathan Bloom

OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES

MITOCW ocw f99-lec30_300k

Outside the house, Alice saw a table under a tree. The

1 Measurement Uncertainties

Hi, I'm Jocelyn, and we're going to go over Fall 2009, Exam 1, problem number 2.

CH 54 PREPARING FOR THE QUADRATIC FORMULA

base 2 4 The EXPONENT tells you how many times to write the base as a factor. Evaluate the following expressions in standard notation.

Linear Programming Inverse Projection Theory Chapter 3

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

( )( b + c) = ab + ac, but it can also be ( )( a) = ba + ca. Let s use the distributive property on a couple of

Gaussian elimination

1 General Tips and Guidelines for Proofs

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

23. Cutting planes and branch & bound

Integer Linear Programs

1.10 Continuity Brian E. Veitch

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Duality in Linear Programs. Lecturer: Ryan Tibshirani Convex Optimization /36-725

MITOCW watch?v=b1ekhyc9tto

ASTRO 114 Lecture Okay. What we re going to discuss today are what we call radiation laws. We ve

Episode 1: Phis wants to be a physicist

Transcription:

Gomory Cuts and a little more Hi, Mita and I are here to introduce a tutorial on cutting planes. Cutting planes are a useful technique that, in conjunction with branch and bound, enable us to solve integer programs more quickly. Our friends from the course will tell you more Amit This tutorial was developed by Zach Leung in April 2012. Mita 1

I heard professor Orlin say in lecture that cutting planes are a useful technique to enable us to solve IPs more quickly. What are these cutting planes? Is cutting planes something that terrorists do? It sure sounds dangerous to me. After what happened to the dinosaurs, I've become extremely risk-averse. Tom Don t be alarmed, Stan. Cutting planes are linear inequalities that allow us to improve IP formulations, by cutting down the feasible region. This makes it more likely that the LP relaxation finds an integer optimal solution, as well as improving the upper bound (for maximization problems). Stan Ella 2

Ella, your explanation is too abstract for me. Could you please go through an example for me? Of course your horse! That's what friends are for. da da da da da, du du du du du du du, Well you came in loving me Hey, isn t that the song That's what friends are for by Dianne Warwick and friends? Well, you sang that during the last tutorial on branch and bound. I have been paying attention, you know. This repeated joke suggests to me that the writer of this tutorial is running out of fresh jokes. By the way, I didn t get the joke last time or this time.** Tom, you re right. Er, how did you know? I thought it was a song before your time. ** Stan s comment was added by Professor Orlin during editing. 3

Suppose that we are trying to solve the IP problem on the right. What should I do? IP max x 1 + x 2 subject to -5x 1 + 4x 2 0 5x 1 + 2x 2 15 x 1, x 2 0 x 1, x 2 integral The starting point is to solve the linear programming relaxation of the problem, which is shown below. Basically, we relax the integrality constraints, i.e. we forget about them. LP(1) max x 1 + x 2 subject to -5x 1 + 4x 2 0 5x 1 + 2x 2 15 x 1, x 2 0 Acknowledgements: This example is taken from Professor Forbes Lewis from the University of Kentucky 4

Ella, could you use graphs in your explanation? I find that seeing graphs helps me to understand what is going on. Tom, that s an excellent idea! The graph below shows the feasible region, represented by the green shaded triangle, and the feasible integer solutions, represented by the black dots. The optimal solution is shown as a red square. 5

I notice that the optimal solution to the LP is not integer. Rats! Don t worry Tom, I eat rats for breakfast! We can use a Gomory cut to reduce the feasible region. In the later part of the tutorial, we will derive the Gomory cut. But for now, you can take my word for it that the Gomory cut is x 2 2. The region that has been cut off is shown in orange. I notice that this is a valid cut because: (1) The linear inequality has cut the feasible region so that the original LP optimal solution is now outside the feasible region; and (2) all the feasible integer solutions are still in the feasible region. Very cool! 6

By adding the new Gomory cut to the original LP, we now have a new LP formulation shown below. The feasible region, and the optimal solution is shown below as well. Notice that the feasible region has shrunk to more closely surround the integer feasible solutions. LP(2) max x 1 + x 2 subject to -5x 1 + 4x 2 0 5x 1 + 2x 2 15 x 2 2 x 1, x 2 0 7

The optimal solution is still not integral. What a bummer! Don t give up Tom, we re getting close. We can add yet another Gomory cut, this time the cut is x 1 2. 8

OK, if I add in the new cut, I get the LP shown below. And the optimal solution is integral! Booyah! See, I told you we were close! LP(2) max x 1 + x 2 subject to -5x 1 + 4x 2 0 5x 1 + 2x 2 15 x 2 2 x 1 2 x 1, x 2 0 9

I now understand why cuts are useful to help us solve IPs. But how did you derive the Gomory cuts in the previous example? Example 1. 1.6 x - y = 1.8 x 0, y 0 x, y integer Tom, that s a great question. I don t know how we would do these tutorials if you didn t come up with all your great questions. Let s look first at the example that is right over my head. Step 1: Notice that we can round down the left hand side coefficients, and we obtain the inequality. x y 1.8 Step 2: Notice that the lhs is integer valued because x and y are integers. Therefore x y 1 Step 3: Subtract the constraint of Step 2 from the original constraint. Thus 0.6 x 0.8 10

I like your explanation. How about another example? Example 2. 2.3 x -.6 y = 3.9 x 0, y 0 x, y integer It s done in much the same way. Step 1: Round down the positive coefficients of the lhs of the constraint. Also round down the negative coefficients. e.g., treat 2.3 x -.6 y = 3.9 as 2.3 x + -.6 y = 3.9. 2x - y 3.9 Step 2: Round down the rhs. 2x 3 Step 3: Subtract the constraint in Step 2 from the original constraint. 0.3 x + 0.4 y 0.9 11

I ve tried to give another explanation for how the steps to work out a Gomory cut are derived. But if you re the type of person who just wants to know the steps, here they are as found in the lecture. If we just apply the steps, we get the answer very easily. Example 1. 1.6 x - y = 1.8 x 0, y 0 x, y integer 1. Round down coefficients of the LHS and replace the equality sign by a sign. 2. Round down the RHS. 3. Subtract the constraint obtained in Step 2 from the original constraint. 0.6 x 0.8 12

I ve tried to give another explanation for how the steps to work out a Gomory cut are derived. But if you re the type of person who just wants to know the steps, here they are as found in the lecture. Example 2. 2.3 x -.6 y = 3.9 x 0, y 0 x, y integer 1. Replace each coefficient by its fractional part, 0 FractionalPart < 1 2. Replace the RHS by its fractional part 3. Replace the equality by a.3 x +.4 y.9 13

OK, I understand how you derive the Gomory cuts for the two examples in the lecture, but how about for our original cutting plane example? To derive the Gomory cuts, first you work out the simplex tableau. Here is the optimal tableau for LP(1). As you can see, the first constraint row (not the z-row) has the rhs = 5/2 which is nonintegral, and so we apply a Gomory cut based on that constraint. x 1 x 2 y 1 y 2 b i 0 0-1/10-3/10-9/2 0 1 1/6 1/6 5/2 1 0-1/15-1/15 2 14

Ella, aren t you going to show me how to work out the Gomory cuts? Please, pretty pretty please? Tom, you should figure it out on your own. Whatever you do, don t click if you are using PowerPoint. Otherwise, the answer will be revealed. By the way, the tableau below is the optimal tableau for LP (2). This time, I ll really let you work out the details. x 1 x 2 y 1 Y 2 Y 3 b i I don t see it. Are you trying to trick me? 0 But perhaps 0 Hey, you if covered I 0 click again. -1/5-4/5-21/5 up what I 0 1 0 0 1 2 just said. 1 OK. 03 rd time s 0 a charm 1/5-2/5 11/5 0 0 1 1-6 3 (1) x 2 + 1/6 y 1 + 1/6 y 2 = 5/2 (2) x 2 ½ (3) 1/6 y 1 + 1/6 y 2 ½. Click one more time. Note: If you write (3) after substituting for y 1 and y 2, you get (2). 15

That s it for this tutorial. We hope it was helpful. Bye for now, but I m sure we ll meet again soon! 16

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