Linear Programming Integer Linear Models. When Variables Have To Be Integers Example – one time production decisions –Fractional values make no sense.

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

Optimization problems using excel solver
Using Solver to solve a minimization LP + interpretation of output BSAD 30 Dave Novak Source: Anderson et al., 2013 Quantitative Methods for Business 12.
Branch-and-Bound Technique for Solving Integer Programs
BU Decision Models Integer_LP1 Integer Optimization Summer 2013.
Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual 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,
Chapter 19 – Linear Programming
Introduction to Mathematical Programming Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Technologies.
Understanding optimum solution
Lesson 08 Linear Programming
1 Chapter 11 Here we see cases where the basic LP model can not be used.
BA 452 Lesson B.3 Integer Programming 11ReadingsReadings Chapter 7 Integer Linear Programming.
Optimization Models Module 9. MODEL OUTPUT EXTERNAL INPUTS DECISION INPUTS Optimization models answer the question, “What decision values give the best.
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Operations Management Linear Programming Module B - Part 2
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.
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
Example 3 Financial Model Rate of Return Summation Variable/Constraint
Solving Integer Programs. Natural solution ideas that don’t work well Solution idea #1: Explicit enumeration: Try all possible solutions and pick the.
Linear Programming Excel Solver. MAX8X 1 + 5X 2 s.t.2X 1 + 1X 2 ≤ 1000 (Plastic) 3X 1 + 4X 2 ≤ 2400 (Prod. Time) X 1 + X 2 ≤ 700 (Total Prod.) X 1 - X.
Computational Methods for Management and Economics Carla Gomes
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.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
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.
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
DECISION MODELING WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker IntegerOptimization Chapter 6.
Integer programming Branch & bound algorithm ( B&B )
Linear Programming Chapter 13 Supplement.
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.
Spreadsheet Modeling & Decision Analysis:
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.
Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. 6-1 Integer Linear Programming Chapter 6.
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
Integer Programming Each year CrossChek decides which lines of golf clubs and clothing it will market. Consider that each line of golf clubs is expected.
Linear Programming with Excel Solver.  Use Excel’s Solver as a tool to assist the decision maker in identifying the optimal solution for a business decision.
Chapter 24 – Multicriteria Capital Budgeting and Linear Programming u Linear programming is a mathematical procedure, usually carried out by computer software,
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.
Integer programming, MA Operational Research1 Integer Programming Operational Research -Level 4 Prepared by T.M.J.A.Cooray Department of Mathematics.
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.
Gomory Cuts Updated 25 March Example ILP Example taken from “Operations Research: An Introduction” by Hamdy A. Taha (8 th Edition)“Operations Research:
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.
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
ENGM 631 Optimization Using Solver. Sec. 3.1Alt. Model Max Z = 3X 1 + 5X 2 s.t. X 1 < 8,000 X 2 < 6,000 3X 1 + 4X 2 < 36,000 X 1 > 0 X 2 > 0.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
Chapter 8 Integer Linear Programming n Types of Integer Linear Programming Models n Graphical and Computer Solutions for an All- Integer Linear Program.
Integer Programming Definition of Integer Programming If requiring integer values is the only way in which a problem deviates from.
Integer Programming, Branch & Bound Method
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Introduction to linear programming (LP): Minimization
Integer Linear Programming
Max Z = x1 + x2 2 x1 + 3 x2  6 (1) x2  1.5 (2) x1 - x2  2 (3)
Linear Programming Excel Solver.
Linear Programming Integer Linear Models.
Linear Programming Integer Linear Models.
Branch-and-Bound Algorithm for Integer Program
Integer Linear Programming
Presentation transcript:

Linear Programming Integer Linear Models

When Variables Have To Be Integers Example – one time production decisions –Fractional values make no sense –But if ongoing process, fractional values could represent work in progress Example -- building houses or planes, or scheduling crews Binary variables Restricted to be 0 or 1 Example – Is a plant built?

Types of Integer Programs (ILP) All Integer Linear Programs (AILP) –All the decision variables are required to be integers Mixed Integer Linear Programs (MILP) –Only some of the variables are required to be integers Binary Integer Linear Programs (BILP) –Variables are restricted to be 0 or 1

Example Boxcar Burger will build restaurants in the suburbs and downtown Suburbs –Profit $12000/day –$2,000,000 investment –Requires 3 managers Downtown –Profit $20000/day –$6,000,000 investment –Requires 1 manager Constraints –$27,000,000 budget –At least 2 downtown restaurants –19 managers available

Decision Variables/Objective X 1 = Number of restaurants built in suburbs X 2 = Number of restaurants built downtown MAX Expected Daily Profit MAX 12X X 2 (in $1000’s)

Constraints Cannot invest more than $27,000,000 At least 2 downtown restaurants Number of managers used cannot exceed 19 Total Amount Invested Cannot Exceed 27 2X 1 + 6X 2 ≤ 27 # downtown restaurants Must be At least 2 X2X2 ≥ 2 # Managers used Cannot Exceed 19 3X 1 + 1X 2 ≤ 19 In $1,000,000’s

The Complete Model MAX12X X 2 (in $1000’s) s.t. 2X 1 + 6X 2  27 (Budget) X 2  2 (Downtown) 3X 1 + X 2  19 (Managers) Both X’s  0 Both X’s INTEGER!

The Linear Programming Feasible Region X X X 1, X 2 ≥ 0 2X 1 + 6X 2 ≤ 27 X 2 ≥ 2 3X 1 + 1X 2 ≤ 19 LP Feasible Region Max 12X X 2 12X X 2 Rounded down FEASIBLE Objective Value = 100 (5,2) LP Optimum (5 7/16, 2 11/16) Obj. Value = 119 Rounded up (6,3) Rounded off (5,3)

The Integer Programming Feasible Region X X X 1, X 2 ≥ 0 3X 1 + 1X 2 ≤ 19 2X 1 + 6X 2 ≤ 27 X 2 ≥ 2 3X 1 + 1X 2 ≤ 19 X 1, X 2 integer Max 12X X 2 12X X 2 ILP Optimum (4,3) OBJ. VALUE = 108

Why Not Round To Get the Optimal Integer Solution? Rounding may yield the optimal integer solution –None did in this example But it may yield an infeasible solution –Both (5,3) and (6,3) are infeasible solutions Or a feasible solution that is not optimal –(5,2) is feasible but not optimal –Many times a feasible rounded point gives a “good” solution (giving close to the optimal value of the objective function) -- BUT NOT ALWAYS

General Facts About Integer Models The solution time to solve integer models is longer than that of linear programs –Because many linear programs are solved en route to obtaining an optimal integer solution For maximization models, the optimal value of the objective function will be less (or at least not greater than) the value for the equivalent linear model –Because constraints have been added – the integer constraints There is no sensitivity analysis –Because the feasible region is not continuous

Solving ILP’s Using SOLVER The only change in SOLVER is to add the integer constraints –In the Add Constraints dialogue box, highlight the cells required to be integer and choose “int” from the pull down menu for the sign

Optimal Build 4 Suburban Restaurants Build 3 Downtown Restaurants Average Daily Profit $108,000

Review When to use integer models Why rounding will not always work Solution time No sensitivity analysis Objective function value cannot improve SOLVER solution approach