Linear Programming Integer Linear Models.

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.
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.
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
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
Linear Programming Integer Linear Models. When Variables Have To Be Integers Example – one time production decisions –Fractional values make no sense.
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
(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.
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.
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.
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.
Chapter 8 Integer Linear Programming n Types of Integer Linear Programming Models n Graphical and Computer Solutions for an All- Integer Linear Program.
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.
Appendix A with Woodruff Edits Linear Programming Using the Excel Solver Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Managerial Economics Linear Programming
Linear Programming – Introduction
6.5 Stochastic Prog. and Benders’ decomposition
Integer linear programming
Introduction to Operations Research
Gomory Cuts Updated 25 March 2009.
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 Introduction.
Linear Programming Excel Solver.
Optimization Models Module 9.
Linear Programming Integer Linear Models.
Linear Programming Introduction.
6.5 Stochastic Prog. and Benders’ decomposition
Branch-and-Bound Algorithm for Integer Program
Introduction to Linear Programming
Integer Linear Programming
Applied Statistical and Optimization Models
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 X1 = Number of restaurants built in suburbs X2 = Number of restaurants built downtown MAX Expected Daily Profit MAX 12X1 + 20X2 (in $1000’s) MAX Expected Daily Profit

# downtown restaurants 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 In $1,000,000’s 2X1 + 6X2 27 ≤ # downtown restaurants Must be At least 2 X2 2 ≥ # Managers used Cannot Exceed 19 19 3X1 + 1X2 ≤

The Complete Model MAX 12000X1 + 20000X2 s.t. 2X1 + 6X2  27 (Budget) X2  2 (Downtown) 3X1 + X2  19 (Managers) Both X’s  0 Both X’s INTEGER!

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

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

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

Build 4 Suburban Restaurants Build 3 Downtown Restaurants 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