1 Chapter 11 A number of important scheduling problems... require the study of an astronomical number of arrangements to determine which one is best....

Slides:



Advertisements
Similar presentations
Introduction to LP Modeling
Advertisements

Solving LP Problems in a Spreadsheet
Optimization problems using excel solver
Understanding optimum solution
Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.
Pure, Mixed-Integer, Zero-One Models
McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T4 PROBLEM SOLVING USING EXCEL Goal Seek, Solver & Pivot Tables.
Decision Analysis Tools in Excel
Linear Programming Models & Case Studies
CCMIII U2D4 Warmup This graph of a linear programming model consists of polygon ABCD and its interior. Under these constraints, at which point does the.
1 Chapter 7 My interest is in the future because I am going to spend the rest of my life there.— Charles F. Kettering Forecasting.
Operations Management Linear Programming Module B - Part 2
Chapter 8: Linear Programming
Introduction to Linear and Integer Programming
Chapter 4 Linear Optimization: Sensitivity Analysis Part 2 Chapter 4 Linear Optimization: Sensitivity Analysis Part 2 DECISION MODELING WITH MICROSOFT.
Example 6.2 Fixed-Cost Models | 6.3 | 6.4 | 6.5 | 6.6 | Background Information n The Great Threads Company is capable of manufacturing.
Approximation Algorithms
QM B Linear Programming
Linear Programming Integer Linear Models. When Variables Have To Be Integers Example – one time production decisions –Fractional values make no sense.
Example 9.1 Goal Programming | 9.3 | Background Information n The Leon Burnit Ad Agency is trying to determine a TV advertising schedule.
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.
Solver & Optimization Problems n An optimization problem is a problem in which we wish to determine the best values for decision variables that will maximize.
Linear Programming The Industrial Revolution resulted in (eventually) -- large companies, large problems How to optimize the utilization of scarce resources?
Graduate Program in Business Information Systems Integer and Goal Programming Aslı Sencer.
Chapter 3 Introduction to Optimization Modeling
START EXCEL BUILD OR RETRIEVE YOUR OPTIMIZATION MODEL SAVE YOUR WORKBOOK!! CHOOSE “Solver…” IN THE “Tools” MENU SPECIFY IN SOLVER DIALOG BOX: 1.CELL TO.
Solver & Optimization Problems n An optimization problem is a problem in which we wish to determine the best values for decision variables that will maximize.
Chapter 19 Linear Programming McGraw-Hill/Irwin
1 Chapter 8 Linear programming is used to allocate resources, plan production, schedule workers, plan investment portfolios and formulate marketing (and.
Spreadsheet Modeling of Linear Programming (LP). Spreadsheet Modeling There is no exact one way to develop an LP spreadsheet model. We will work through.
Example 4.5 Production Process Models | 4.2 | 4.3 | 4.4 | 4.6 | Background Information n Repco produces three drugs, A, B and.
Example 15.1 Daily Scheduling of Postal Employees Workforce Scheduling Models.
Linear Programming: Basic Concepts
We can make Product1 and Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one hour of Resource1, nothing of Resource2,
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.
1 Chapter 10 The primal linear program solution answers the tactical question when it tells us how much to produce. But the dual can have far greater impact.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
MIS 463: Decision Support Systems for Business Review of Linear Programming and Applications Aslı Sencer.
Transportation and Assignment Problems
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.
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 11-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 11.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
CTS130 Spreadsheet Lesson 19 Using What-If Analysis.
Goal Seek and Solver. Goal seeking helps you n Find a specific value for a target cell by adjusting the value of one other cell whose value is allowed.
Goal Programming Linear program has multiple objectives, often conflicting in nature Target values or goals can be set for each objective identified Not.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 11-1 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 11.
3 Characteristics of an Optimization Problem General descriptionKPiller Illustration Decisions that must be made; represented by decision variables How.
Project Planning with PERT and CPM Chapter 14
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
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.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 4 The Simplex Algorithm and Goal Programming
Example 3.1a Sensitivity Analysis and Solver Table Add-in.
1 Chapter 9 If one would take statistics about which mathematical problem is using most of the computer time in the world (not including data base handling.
1 Chapter 13 Mathematical models of networks give us algorithms so computationally efficient that we can employ them to evaluate problems too big to be.
Nonlinear Programming Prepared by Lee Revere and John Large
DECISION MODELING WITH Prentice Hall Publishers and
Solver & Optimization Problems
Excel Solver IE 469 Spring 2017.
Analyzing Data with Excel
Excel Solver.
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
Introduction to Operations Research
Excel Solver IE 469 Spring 2018.
Wyndor Example; Enter data
Introduction to linear programming (LP): Minimization
Navya Thum February 13, 2013 Day 7: MICROSOFT EXCEL Navya Thum February 13, 2013.
Excel Solver IE 469 Fall 2018.
Presentation transcript:

1 Chapter 11 A number of important scheduling problems... require the study of an astronomical number of arrangements to determine which one is best.... Mathematicians have been working on improved techniques.-- George Dantzig Integer and Goal Programming

2 Integer Programming  Consider the following integer program. Maximize P = 14X X 2 Subject to: 4X 1 + 3X 2 < 12 (resource A) 5X 1 + 8X 2 < 24 (resource B) where X 1, X 2 are non-negative integers  An integer program is just like an LP, but restrict- ting the solution to integers (whole numbers).  When solved as a linear program (allowing fractional values), the following is obtained. LP solution: X 1 = 1 5 / 7 X 2 = 1 5 / 7 P = 51 3 / 7  The following slide shows graphical solution by finding the most attractive lattice point. Integer solution: X 1 = 0 X 2 = 3 P = 48

3 Graphical Solution of Integer Program  Rounding the LP solution generally won’t be correct.

4 Branch-and-Bound Method  Consider a modified Redwood Furniture problem. Maximize P = 6X T + 8X C Subject to:30X T + 20X C < 310 (wood) 5X T + 10X C < 113 (labor) where X T, X C are non-negative integers  The above will be solved as a series of LPs.  Problem 1 (fractions okay): X T = 4.2, X C = 9.2, P = 98.8  The above is partitioned into two sub-problems (LPs):  Problem 2: X T 5  Problem 1 is the parent problem.  X T is the branching variable.  Each child LP has all constraints of parent LP, plus one more.  The value P = 98.8 is the upper bound on profit.

5 Problem 1 Graphical Solution

6 Problem Tree

7 Graphical Solutions to Problems 2 and 3

8 The Problem Tree  The problem tree gives the genealogy of the LPs being solved.  Each child LP is defined by a constraint involving the branching variable, chosen (arbitrarily) because its value is non-integer.  One child has constraint: branching variable < (largest integer < current value)  The sibling has constraint: branching variable > (smallest integer > current value)  None of the problems have integer restrictions.  Solutions will be found however in which all variables happen to have integers.  The P of the child LP can never be better than that of its parent. Do you know why?

9 Finding New Branching Point  A problem having one or more non-integer solution values is the next branching point.  It will be the one with greatest P. (Problem 2)

10 Best-Solution-So-Far  Problem 3 provides an LP solution coinci- dentally involving all integers, making it an integer solution and best-solution-so-far.  Its profit of 94 is the current lower bound on P.  But Problem 2 has a greater P. It is the next parent, with X C as branching variable.  Its 98.4 profit is the current upper bound on P.  Problem 4 has all Problem 2 constraints plus:  X C < 9  Problem 5 has all Problem 2 constraints plus:  X C > 10

11 Solving More LPs

12 The Tree Gets Pruned  Problem 4 has the new best-solution-so-far.  A problem with worse Ps than that of the best-solution-so-far is pruned from the tree.

13 Optimal Solution Found  The tree cannot grow further. There is no branching point left. The best-solution-so-far is optimal.  Cost minimization problems are solved similarly with reversed orientation. Consider: Minimize C = 4X 1 + 3X 2 + 5X 3 Subject to:2X 1  2X 2 + 4X 3 > 7 2X 1 + 4X 2  2X 3 > 4 where X 1, X 2, X 3 are non-negative integers  The C of any child is worse than that of its parent.  The branching point has smallest C. Prune problems having greater Cs than that of the best- solution-so-far.

14 Completed Tree for Cost Minimization Problem

15 Solving Integer Programs with QuickQuant  Consider the expanded Redwood Furniture problem. Here there are three table sizes, X TS (small), X TR (regular), and X TL (large), two chairs, X CS (standard) and X CA (armed), and two bookcases, X BS (short) and X BT (tall).

16 QuickQuant Presents Tree Data in a Log Form

17 Solution to Expanded Redwood Furniture Problem

18 Linear Programming with Multiple Objectives  Linear programming has a single objective function. That may be inadequate because:  Two or more goals might apply simultaneously.  Investors try to maximize return and minimize risk.  Objectives can conflict, as with the above.  Each objective may have a different solution.  Consider the original Redwood Furniture problem, with the following objectives.  1. Maximize P = 6X T + 8X C (profit)  2. Maximize R = 50X T + 25X C (revenue)  3. Maximize T = 1X T + 3X C (training time)

19 Redwood Furniture and Three Separate Goals

20 Goal Programming  Linear programming may be adapted to treat multiple goals simultaneously.  The procedure is called goal programming.  It begins with goal targets:  1. Profit $ 90  2. Sales revenue $450  3. Training time 30 hours  For some goals, exceeding the target is desirable. For others, lying below is better. And, closeness to target (above or below) may be important.

21 Goal Programming  Extra goal deviation variables convert the LP to a goal program. These are weighted according to their relative importance.  Y P +,Y P  = deviation of profit above, below target  Y R +,Y R  = deviation of revenue above, below target  Y T +,Y T  = deviation of training time above, below target  The goals are incorporated into an omnibus objective function minimizing collective weighted deviations from respective targets.  The resulting goal program has the original constraints and goal deviation constraints.  1. 6X T + 8X C  (Y P +  Y P  ) = 90(profit)  2. 50X T + 25X C  (Y R +  Y R  ) = 450(revenue)  3. 1X T + 3X C  (Y T +  Y T  ) = 30(training)

22 The Redwood Furniture Goal Program  Redwood’s weights are 1, 2, and.5 for falling below the P, R, and T targets. The resulting goal program is:

23 Solution To Redwood Furniture Goal Program  Notice that only the negative deviation variables are weighted in the objective.  But positive deviations could be given weight if exceeding target was undesirable.  The following solution is obtained. X T = 6 X C = 6 Y P + = 0 Y P  = 6 Y R + = 0 Y R  = 0 Y T + = 0 Y T  = 6C = 9  A goal program is just a special type of linear program and solved in the same way.

24 Solving Integer Programs with Spreadsheets Spreadsheets can be used to solve integer programs just like they are used to solve linear programs.

25 Formulation Table for Redwood Furniture Co. (Figure 11-9) The formulation table arranges the problem in a tabular format, as shown below.

26 Linear Programming Spreadsheet (Figure 11-10) 3. For integer programming, add the integer restriction in the Solver Parameters dialog box in the Subject to the Constraints box, as shown next. 2. This spreadsheet yields the linear programming solution. Note that the optimal values of the decision variables are not integers. 1. The spreadsheet contains the formulas necessary to use Solver.

27 Solver Parameters Dialog Box (Figure 11-11) To add the integer restriction, click on the Add button to obtain the Add Constraint dialog box shown next. NOTE: Normally all these entries appear in the Solver Parameter dialog box so you only need to click on the Solve button. However, you should always check to make sure the entries are correct for the problem you are solving.

28 The Add Constraints Dialog Box (Figure 11-12) 1. Enter the cell locations of the variables required to be integers in the Cell Reference line, B9:D9 or $B$9:$D$9 in this case. 2. Select int (which is short for integer) for the sign 3. Click the OK button. The word integer in the Constraint line does not need to be entered, it is done automatically. 4. Click Solve in the Solver Parameters dialog box to obtain the integer solution shown next. Normally, all these entries already appear. You will need to use this dialog box only if you need to add a constraint. If you need to change a constraint, the Change Constraint dialog box functions just like this one.

29 Integer Programming Spreadsheet (Figure 11-13) Bigger integer programs are solved in the same manner as for linear programs, by adding additional rows or columns. Note that the optimal values of the decision variables are integers.

30 Solving Goal Programs with Spreadsheets Spreadsheets can be used to solve goal programs just like they are used to solve linear programs.

31 Formulation Table for Maui Miser Car Rentals (Figure 11-16) The formulation table arranges the problem in a tabular format, as shown below for Maui Miser Car Rentals.

32 Goal Programming Spreadsheet for Maui Miser Rentals (Figure 11-17) 1. The spreadsheet contains the formulas necessary to use Solver. 2. The Solver Parameters dialog box is shown next.

33 Solver Parameters Dialog Box (Figure 11-18) Bigger goal programs are solved in the same manner as for linear programs, by adding additional rows or columns. The Solver Parameters dialog box follows the same format as for linear and integer programs. NOTE: Normally all these entries appear in the Solver Parameter dialog box so you only need to click on the Solve button. However, you should always check to make sure the entries are correct for the problem you are solving.