(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.

Slides:



Advertisements
Similar presentations
Integer Optimization Basic Concepts Integer Linear Program(ILP): A linear program except that some or all of the decision variables must have integer.
Advertisements

ENM 503 Lesson 7 – Discrete Models Combinatorial Problems and their Solutions I am very discrete.
Branch-and-Bound Technique for Solving Integer Programs
Linear Programming Problem
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,
Linear Programming Graphical Solution Procedure. Two Variable Linear Programs When a linear programming model consists of only two variables, a graphical.
BA 452 Lesson B.3 Integer Programming 11ReadingsReadings Chapter 7 Integer Linear Programming.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Lecture 10: Integer Programming & Branch-and-Bound
Water Resources Development and Management Optimization (Integer Programming) CVEN 5393 Mar 11, 2013.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Kerimcan OzcanMNGT 379 Operations Research1 Integer Linear Programming Chapter 8.
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
Chapter 2: Introduction to Linear Programming
Integer Programming Integer programming is a solution method for many discrete optimization problems Programming = Planning in this context Origins go.
Linear Programming Integer Linear Models. When Variables Have To Be Integers Example – one time production decisions –Fractional values make no sense.
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
D Nagesh Kumar, IIScOptimization Methods: M7L1 1 Integer Programming All Integer Linear Programming.
Review of Reservoir Problem OR753 October 29, 2014 Remote Sensing and GISc, IST.
Integer Programming Integer Linear Programming A ll-Integer Linear Program AA ll variables must be integers Mixed-Integer Linear Program SSome, but.
Chapter 3 An Introduction to Linear Programming
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
1 1 Slides by John Loucks St. Edward’s University Modifications by A. Asef-Vaziri.
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’
Integer programming Branch & bound algorithm ( B&B )
1 1 Slide © 2005 Thomson/South-Western Chapter 8 Integer Linear Programming n Types of Integer Linear Programming Models n Graphical and Computer Solutions.
1 1 Slide Integer Linear Programming Professor Ahmadi.
1 1 Slide Integer Linear Programming Professor Ahmadi.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
Chapter 7 Introduction to Linear Programming
1 1 Slide © 2005 Thomson/South-Western Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
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.
A LINEAR PROGRAMMING PROBLEM HAS LINEAR OBJECTIVE FUNCTION AND LINEAR CONSTRAINT AND VARIABLES THAT ARE RESTRICTED TO NON-NEGATIVE VALUES. 1. -X 1 +2X.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
15.053Tuesday, April 9 Branch and Bound Handouts: Lecture Notes.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Integer LP In-class Prob
Highline Class, BI 348 Basic Business Analytics using Excel Chapter 08 & 09: Introduction to Linear Programing 1.
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
Chapter 8 Integer Linear Programming n Types of Integer Linear Programming Models n Graphical and Computer Solutions for an All- Integer Linear Program.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming Chapter 2.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Chapter 6 Optimization Models with Integer Variables.
1 Introduction to Linear Programming Linear Programming Problem Linear Programming Problem Problem Formulation Problem Formulation A Simple Maximization.
1 1 Slide Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
An Introduction to Linear Programming Pertemuan 4
Solve a system of linear equation in two variables
Slides by John Loucks St. Edward’s University.
3-3 Optimization with Linear Programming
Integer Linear Programming
Graphical Solution Procedure
Objectives Identify solutions of linear equations in two variables.
ENGM 435/535 Integer Programming.
Linear Programming Problem
Linear Programming Integer Linear Models.
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Branch-and-Bound Algorithm for Integer Program
1.2 Guidelines for strong formulations
Branch-and-Bound Technique for Solving Integer Programs
Presentation transcript:

(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 that results from dropping the integer requirements is called the LP Relaxation of the IP.  If only a subset of the variables are restricted to be integers, the problem is called a mixed-integer linear program (MIP).  Binary variables are variables whose values are restricted to be 0 or 1. If all variables are restricted to be 0 or 1, the problem is called a 0-1 or binary IP.

 Consider the following IP Max 3 x x 2 s.t. 3 x 1 + x 2 < 9 x x 2 < 7 - x 1 + x 2 < 1 x 1, x 2 > 0 and integer

 LP Relaxation Solving the LP relaxation (i.e. ignoring the integer constraints), gives fractional values for both x 1 and x 2. From the graph on the next slide, we see that the optimal solution to the LP relaxation is: x 1 = 2.5, x 2 = 1.5, z = 10.5 But we need the values for x 1 & x 2 to be integer…

 LP Relaxation LP Optimal (2.5, 1.5) Max 3 x x 2 Max 3 x x 2 - x 1 + x 2 < 1 x2x2x2x2 x1x1x1x1 3 x 1 + x 2 < x x 2 < 7 x x 2 < 7

 Rounding Up If we round up the fractional solution ( x 1 = 2.5, x 2 = 1.5) to the LP relaxation problem, we get x 1 = 3 and x 2 = 2. From the graph on the next slide, we see that this point lies outside the feasible region, making this solution infeasible.

 Rounded Up Solution LP Optimal (2.5, 1.5) Max 3 x x 2 Max 3 x x 2 x2x2x2x2 x1x1x1x1 IP Infeasible (3, 2) IP Infeasible (3, 2) x 1 + x 2 < 1 3 x 1 + x 2 < 9 x x 2 < 7 x x 2 < 7

 Rounding Down By rounding the optimal solution down to x 1 = 2, x 2 = 1, we see that this solution indeed is an integer solution within the feasible region, and substituting in the objective function, it gives z = 8. We have found a feasible all-integer solution, but have we found the OPTIMAL all-integer solution? The answer is NO! The optimal solution is x 1 = 3 and x 2 = 0 giving z = 9, as evidenced in the next two slides.

 Complete Enumeration of Feasible IP Solutions There are eight feasible integer solutions to this problem, where z = 3 x x 2 : x 1 x 2 z optimal solution

IP Optimal (3, 0) Max 3 x x 2 Max 3 x x 2 x2x2x2x2 x1x1x1x x 1 + x 2 < 1 3 x 1 + x 2 < 9 x x 2 < 7 x x 2 < 7

IP Optimal (3, 0) Max 3 x x 2 Max 3 x x 2 x2x2x2x2 x1x1x1x x 1 + x 2 < 1 3 x 1 + x 2 < 10 x x 2 < 7 x x 2 < 7 (This was 9) LP extreme point

 While complete enumeration is one possible solution method, it is not efficient on larger problems  Specialized solution techniques have been developed to solve IPs that have been incorporated into commercially-available software packages.  Premium Solver, included in your textbook Student CD, can solve IPs. It is an enhanced version of Excel’s Solver package.

 Suppose selecting some of the projects is conditional on whether others are selected. 1. Project1 can only be selected if Project 5 is selected 2. At most 2 of these projects can be selected:  Project6, Project7, Project8, Project9, Project10 3. Projects 15 and 16 must both be selected or not. (i.e. we can’t do one without the other) 4. Projects 18 and 19 are mutually exclusive

1. Project1 can only be selected if Project 5 is selected X 1 - X 5 ≤ 0 2. At most 2 of these projects can be selected:  Project6, Project7, Project8, Project9, Project10 X 6 + X 7 + X 8 + X 9 + X 10 ≤ 2 3. Projects 15 and 16 must both be selected or not. (i.e. we can’t do one without the other) X 15 -X 16 = 0 4. Projects 18 and 19 are mutually exclusive X 18 +X 19 ≤ 1