Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,

Slides:



Advertisements
Similar presentations
Integer Linear Programming
Advertisements

WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 16 Integer Programming.
Branch-and-Bound Technique for Solving Integer Programs
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Branch and Bound See Beale paper. Example: Maximize z=x1+x2 x2 x1.
Linear Programming Graphical Solution Procedure. Two Variable Linear Programs When a linear programming model consists of only two variables, a graphical.
Chapter 3 Workforce scheduling.
Nonlinear Programming
1 Cutting Plane Technique for Solving Integer Programs.
Gomory’s cutting plane algorithm for integer programming Prepared by Shin-ichi Tanigawa.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
EMIS 8373: Integer Programming Valid Inequalities updated 4April 2011.
1 State of the art for TSP TSP instances of thousand of cities can be consistently solved to optimality. Instances of up to cities have been solved:
Solving Integer Programs. Natural solution ideas that don’t work well Solution idea #1: Explicit enumeration: Try all possible solutions and pick the.
Computational Methods for Management and Economics Carla Gomes
1 Maximum matching Max Flow Shortest paths Min Cost Flow Linear Programming Mixed Integer Linear Programming Worst case polynomial time by Local Search.
Linear Programming Integer Linear Models. When Variables Have To Be Integers Example – one time production decisions –Fractional values make no sense.
Branch and Bound Algorithm for Solving Integer Linear Programming
D Nagesh Kumar, IIScOptimization Methods: M7L1 1 Integer Programming All Integer Linear Programming.
Cutting Planes II. The Knapsack Problem Recall the knapsack problem: n items to be packed in a knapsack (can take multiple copies of the same item). The.
LP formulation of Economic Dispatch
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding ILPs with Branch & Bound ILP References: ‘Integer Programming’
(Not in text).  An LP with additional constraints requiring that all the variables be integers is called an all-integer linear program (IP).  The LP.
Integer programming Branch & bound algorithm ( B&B )
Decision Procedures An Algorithmic Point of View
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
Linear Programming – Simplex Method
Workforce scheduling – Days off scheduling 1. n is the max weekend demand n = max(n 1,n 7 ) Surplus number of employees in day j is u j = W – n j for.
WOOD 492 MODELLING FOR DECISION SUPPORT
1 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1.
OR Chapter 2. Simplex method (2,0) (2,2/3) (1,2)(0,2)
15.053Tuesday, April 9 Branch and Bound Handouts: Lecture Notes.
Soham Uday Mehta. Linear Programming in 3 variables.
Gomory Cuts Updated 25 March Example ILP Example taken from “Operations Research: An Introduction” by Hamdy A. Taha (8 th Edition)“Operations Research:
Branch-and-Cut Valid inequality: an inequality satisfied by all feasible solutions Cut: a valid inequality that is not part of the current formulation.
Integer Programming (정수계획법)
Integer LP In-class Prob
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
Branch and Bound Algorithms Present by Tina Yang Qianmei Feng.
Chapter 2. Optimal Trees and Paths Combinatorial Optimization
Integer Programming, Branch & Bound Method
1.3 Modeling with exponentially many constr. Integer Programming
Chapter 6 Optimization Models with Integer Variables.
Chapter 9 Integer Programming to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
Gomory Cuts Updated 25 March 2009.
1.3 Modeling with exponentially many constr.
Chapter 9 Integer Programming
Chapter 6. Large Scale Optimization
6-3 Solving Systems Using Elimination
Branch and Bound See Beale paper.
EMIS 8373: Integer Programming
Integer Linear Programming
MIP Tools Branch and Cut with Callbacks Lazy Constraint Callback
Integer Programming (정수계획법)
3-3 Optimization with Linear Programming
ENGM 435/535 Optimization Adapting to Non-standard forms.
Graphical Solution Procedure
Gomory’s cutting plane algorithm for integer programming
2. Generating All Valid Inequalities
1.3 Modeling with exponentially many constr.
Integer Programming (정수계획법)
Linear Programming Integer Linear Models.
Linear Programming Integer Linear Models.
Integer Linear Programming
Part 4 Nonlinear Programming
Practical Issues Finding an initial feasible solution Cycling
Branch-and-Bound Algorithm for Integer Program
Integer LP: Algorithms
Branch-and-Bound Technique for Solving Integer Programs
Discrete Optimization
Presentation transcript:

Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution, then done. Else, add a constraint that “cuts” off the optimal solution obtained from the relaxed problem. Solve this new LP problem. If the new solution is integer, then stop. Else keep repeating this process until an integer solution is obtained. Issue: What constraint can be added such that no feasible integer solutions are cut off when the new constraint is added, but which also eliminates the optimal solution of the relaxed problem from the feasible region.

Solving IPs – Cutting Plane Algorithm Example: Max z = 8x1 + 5x2 s.t. x1 + x2 <= 6 9x1 + 5x2 <= 45 x1, x2 >= 0; x1, x2 are integer zx1x2s1s2rhs What is the optimal solution to the LP problem? Simplex tableau for the optimal solution to the LP problem.

Solving IPs – Cutting Plane Algorithm LP Solution: z = x1 = 2.25 x2 = 3.75 Both x1 and x2 are non-integer. Therefore, choose row from simplex tableau where basic variable has the fractional component closest to ½. Choosing row 2: x1 + 0x s1 +.25s2 = 3.75 Rewrite row with integer and fractional components where the integer is the largest integer less than the coefficient: x1 - 2s1 +.75s1 + 0s2 +.25s2 = or x1 – 2s1 – 3 = -.75s1 -.25s2 +.75

Solving IPs – Cutting Plane Algorithm The cutting plane algorithm suggests that the equation where the fractional components are set <= 0 be used as a new constraint to the original problem. Row 2: x1 – 2s1 – 3 = -.75s1 -.25s Add constraint: -.75s1 -.25s <= 0 Knowing that: s1 = 6 – x1 – x2 and s2 = 45 – 9x1 – 5x2, Equivalent to adding constraint: 3x1 + x2 <= 15

Solving IPs – Cutting Plane Algorithm The original feasible region for the LP relaxed problem, and the new cutting plane constraint. Insert figure 33, pg 546

Solving IPs – Cutting Plane Algorithm Since, Row 2: x1 – 2s1 – 3 = -.75s1 -.25s How does adding the constraint: -.75s1 -.25s <= 0 satisfy the desire not to eliminate any feasible integer solutions, while eliminating the optimal solution to the LP? Any feasible solution to original problem satisfies Row 2 above. Also, any feasible solution must have s1 and s2 >= 0 (non-negativity constraint). Thus, the rhs of row 2 <=.75 < 1. Also because all decision variables are integer, then the lhs of row 2 is integer. Thus the rhs must also be an integer that is less than 1. This implies that point that is feasible for the IP satisfies the constraint: -.75s1 -.25s <= 0

Solving IPs – Cutting Plane Algorithm Since, Row 2: x1 – 2s1 – 3 = -.75s1 -.25s Likewise how does adding the constraint: -.75s1 -.25s <= 0 satisfy the desire to eliminate the optimal solution of the LP? The current optimal solution to the LP is: z = 41.25, x1 = 2.25, x2 = 3.75, s1 and s2 = 0. Thus:-.75s1 -.25s <= 0, so the current optimal solution is not in the feasible region when this constraint is added.

Solving IPs – Cutting Plane Algorithm Adding the new constraint to the final simplex tableau of the LP problem: -.75s1 -.25s <= 0 zx1x2s1s2s3rhs Note: slack variable s3 added. Is this tableau optimal?

Solving IPs – Cutting Plane Algorithm Using the dual simplex method (sec section 6.11), the leaving basic variable is s3 (because of negative rhs) and the entering non-basic variable is s1 (min ratio test). zx1x2s1s2s3rhs Note: all original variable are integer. Therefore integer solution to original IP.