Chapter 11 PowerPoint Integer Optimization.

Slides:



Advertisements
Similar presentations
Chapter 12 PowerPoint Non-smooth Models.
Advertisements

1 Material to Cover  relationship between different types of models  incorrect to round real to integer variables  logical relationship: site selection.
BU Decision Models Integer_LP1 Integer Optimization Summer 2013.
John Wiley & Sons, Inc. © 2005 Prepared by Alice B. Sineath Forsyth Technical Community College Managerial Accounting Weygandt Kieso Kimmel CHAPTER 12.
Common Stock Valuation
Common Stock Valuation
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
MICROECONOMICS: Theory & Applications Chapter 17 Wages, Rent, Interest, and Profit By Edgar K. Browning & Mark A. Zupan John Wiley & Sons, Inc. 9 th Edition,
By Edgar K. Browning & Mark A. Zupan John Wiley & Sons, Inc.
MICROECONOMICS: Theory & Applications Chapter 19 General Equilibrium Analysis and Economic Efficiency By Edgar K. Browning & Mark A. Zupan John Wiley.
Systems Analysis and Design
MANAGEMENT SCIENCE The Art of Modeling with Spreadsheets STEPHEN G. POWELL KENNETH R. BAKER Compatible with Analytic Solver Platform FOURTH EDITION CHAPTER.
MICROECONOMICS: Theory & Applications
Chapter 22 Part 2.
MICROECONOMICS: Theory & Applications Chapter 7 Production By Edgar K. Browning & Mark A. Zupan John Wiley & Sons, Inc. 9 th Edition, copyright 2006 PowerPoint.
Chapter 6 – Analyzing Information for Business Decision Making
MANAGEMENT SCIENCE The Art of Modeling with Spreadsheets STEPHEN G. POWELL KENNETH R. BAKER Compatible with Analytic Solver Platform FOURTH EDITION CHAPTER.
Prepared by Debby Bloom-Hill CMA, CFM
Introduction to Databases
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
Chapter 9 PowerPoint Linear Optimization.
Nonlinear Optimization
CHAPTER 8 Pricing Decisions, Analyzing Customer Profitability, and Activity-Based Pricing.
Prepared by Debby Bloom-Hill CMA, CFM. CHAPTER 8 Pricing Decisions, Analyzing Customer Profitability, and Activity-Based Pricing Slide 8-2.
Linear Programming Chapter 14 Supplement. Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
Independent Demand Inventory Management
Managerial Accounting by James Jiambalvo
ACCOUNTING INFORMATION SYSTEMS
Chapter 13 Operational Decision-Making Tools: Simulation.
Today’s Agenda  Any questions about the assignment (due Mon)?  Quiz  Quiz review  Homework for Friday:  Watch the two videos on the Coursera db website.
John Wiley & Sons, Inc. © 2005 Chapter 18 Cost-Volume-Profit Relationships Prepared by Barbara Muller Arizona State University West Principles of Accounting.
Spreadsheet Modeling & Decision Analysis:
7 - 1 Chapter 7: Data Analysis for Modeling PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
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.
Chapter 8 Charles P. Jones, Investments: Analysis and Management, Eleventh Edition, John Wiley & Sons 8- 1.
Portfolio Selection Chapter 8
Wiley Supplement B Linear Programming Operations Management by R. Dan Reid & Nada R. Sanders 4th Edition © Wiley 2010.
Chapter 16 Information and Operations Management 1e Management 1e - 2 Management 1e Learning Objectives  Explain how managers use controls.
Selecting an Optimal Portfolio
Chapter 9: Short-Term Forecasting PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
© Wiley Chapter 1 - Introduction to Operations Management Operations Management by R. Dan Reid & Nada R. Sanders 3 rd Edition © Wiley 2007 PowerPoint.
MANAGEMENT SCIENCE The Art of Modeling with Spreadsheets STEPHEN G. POWELL KENNETH R. BAKER Compatible with Analytic Solver Platform FOURTH EDITION OPTIMIZATION.
Slide 1 Systems Analysis and Design with UML Version 2.0 An Object-Oriented Approach, Second Edition Chapter 3: Project Initiation Alan Dennis, Barbara.
Slide 1 Systems Analysis and Design with UML Version 2.0 An Object-Oriented Approach, Second Edition Chapter 3: Project Initiation Alan Dennis, Barbara.
Prepared by Scott M. Shafer, Updated by William E. Matthews and Thomas G. Roberts, William Patterson University Copyright 2007 John Wiley & Sons, Inc.5-1.
MICROECONOMICS: Theory & Applications By Edgar K. Browning & Mark A. Zupan John Wiley & Sons, Inc. 11 th Edition, Copyright 2012 PowerPoint prepared by.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Operations Management - 5 th Edition Chapter 10 Supplement Roberta.
Chapter 13: Integer Programming PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
Chapter 11: Linear Programming PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
Reid & Sanders, Operations Management © Wiley 2002 Linear Programming B SUPPLEMENT.
6 - 1 Chapter 6: Analysis Using Spreadsheets PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
Reid & Sanders, Operations Management © Wiley 2002 Solving Transportation Problems C SUPPLEMENT.
Operational Decision-Making Tools: Simulation
1 Linear Programming 2 A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. The linear.
Transportation and Transshipment Models Chapter 11 Supplement Russell and Taylor Operations and Supply Chain Management, 8th Edition.
Determinants of Stock Prices
Chapter 4 PowerPoint Spreadsheet Analysis.
Prepared by Debby Bloom-Hill CMA, CFM
Chapter 17: Optimization In Simulation
Chapter 8: Planning – Processes and Techniques
Chapter 1 - Introduction to Operations Management
Chapter 1 - Introduction to Operations Management
Transportation and Transshipment Models
Accounting Information Systems: Essential Concepts and Applications Fourth Edition by Wilkinson, Cerullo, Raval, and Wong-On-Wing Module 1: Decision Making,
Chapter 1 - Introduction to Operations Management
Transportation and Transshipment Models
PLANNING FOR CAPITAL INVESTMENTS
Presentation transcript:

Chapter 11 PowerPoint Integer Optimization

Copyright © 2013 John Wiley & Sons, Inc. Introduction The optimal solution of a linear program may contain fractional decision variables, and this is appropriate—or at least tolerable—in most applications. In some cases it may be necessary to ensure that some or all of the decision variables take on integer values. Accommodating the requirement that variables must be integers is the subject of integer programming. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Integer Variables and the Integer Solver Solver allows us to directly designate decision variables as integer values. In integer linear programs, Solver employs an algorithm that checks all possible assignments of integer values to variables, although some of the assignments may not have to be examined explicitly. This procedure may require the solution of a large number of linear programs; Solver can do this quickly and reliably with the simplex algorithm, and will eventually locate a global optimum. In the case of integer nonlinear programs, certain difficulties can arise, although Solver will always attempt to find a solution. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Designating Variables as Integers Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Setting the Tolerance Parameter Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Solver Tip: Integer Options The most important integer option is the Tolerance parameter. The default value of the parameter is 5%, and we may leave this value undisturbed while we debug our model. Once we are convinced that our model is running correctly, we can set the Tolerance parameter to 0% so that an optimal solution is guaranteed. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Binary Variables and Binary Choice Models A binary variable, which takes on the values zero or one, can be used to represent a “go/no-go” decision. We can think in terms of discrete projects, where the decision to accept the project is represented by the value 1, and the decision to reject the project is represented by the value 0. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

The Capital Budgeting Problem Companies, committees, and even households often find themselves facing a problem of allocating a capital budget. As the problem arises in many firms, there is a specified budget for the year, to be invested in multi-year projects. There are typically several proposed projects under consideration. The challenge is to determine how to maximize the value of the projects selected, subject to the limitation on expenditures represented by the capital budget. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

The Capital Budgeting Problem In the classic version of the capital budgeting problem, each project is described by two values: the expenditure required and the value of the project. As a project is typically a multi-year activity, its value is represented by the net present value (NPV) of its cash flows over the project life. The expenditure, combined with the expenditures of other projects selected, cannot be more than the budget available. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Designating Variables as Binary Integers Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

The Set Covering Problem The set covering problem is a variation of the covering model in which the variables are all binary. In addition, the parameters in the constraints are all zeroes and ones. In the classic version of the set covering problem, each project is described by a subset of locations that it “covers.” The problem is to cover all locations with a minimal number of projects. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Binary Variables and Logical Relationships We sometimes encounter additional conditions affecting the selection of projects in problems like capital budgeting. These include relationships among projects, fixed costs, and quantity discounts. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Relationships Among Projects Projects can be related in any number of ways, five of which are as follows: At least m projects must be selected. At most n projects must be selected. Exactly k projects must be selected. Some projects are mutually exclusive. Some projects have contingency relationships. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Relationship: at least m projects must be selected y2 + y5 > 1 Project 2, or Project 5, or both, will be selected, thus satisfying the requirement of at least one selection. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Relationship: at most n projects must be selected y4 + y5 < 1 Project 4, or Project 5, or neither, but not both will be selected, thus satisfying the requirement of at most one selection. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Relationship: exactly k projects must be selected y4 + y5 = 1 Exactly one of either Project 4 or Project 5 will be selected, thus satisfying the requirement of exactly one selection. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Relationship: some projects have contingency relationships y3 – y5 > 0 If Project 5 is selected, then project 3 must be as well. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Linking Constraints and Fixed Costs We commonly encounter situations in which activity costs are composed of fixed costs and variable costs, with only the variable costs being proportional to activity level. With an integer programming model, we can also integrate the fixed component of cost. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Linking Constraints and Fixed Costs We separate the fixed and variable components of cost. In algebraic terms, we write cost as: Cost = Fy + cx where F represents the fixed cost, and c represents the linear variable cost. The variables x and y are decision variables, where x is a normal (continuous) variable, and y is a binary variable. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Linking Constraints and Fixed Costs To achieve consistent linking of the two variables, we add the following generic linking constraint to the model: x < My where the number M represents an upper bound on the variable x. In other words, M is at least as large as any value we can feasibly choose for x. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Linking Constraint: x < My When y = 0 (and therefore no fixed cost is incurred), the right-hand side becomes zero, and Solver interprets the constraint as x <= 0. Since we also require x >= 0, these two constraints together force x to be zero. Thus, when y = 0, it will be consistent to avoid the fixed cost. On the other hand, when y = 1, the right-hand side will be so large that Solver does not need to restrict x at all, permitting its value to be positive while we incur the fixed cost. Thus, when y = 1, it will be consistent to incur the fixed cost. Of course, because we are optimizing, Solver will never produce a solution with the combination of y = 1 and x = 0, because it would always be preferable to set y = 0. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Solver Tip: Logical Functions and Integer Programming Experienced Excel programmers might be tempted to use the logical functions (IF, AND, OR, etc.) to express certain relationships. Unfortunately, the linear solver does not always detect the nonlinearity caused by the use of logical functions, so it is important to remember never to use an IF function in a model built for the linear solver. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Threshold Levels and Quantity Discounts Threshold level requirement: a decision variable is either at least as large as a specified minimum, or else it is zero. The existence of a threshold level does not directly affect the objective function of a model, and it can be represented in the constraints with the help of binary variables. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Threshold Levels Suppose we have a variable x that is subject to a threshold requirement. Let m denote the minimum feasible value of x if it is nonzero. Then we can capture this structure in an integer programming model by including the following pair of constraints: x – my > 0 x – My < 0 where, as before, M is a large number that is greater than or equal to any value x could feasibly take. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

*The Facility Location Model The transportation model (discussed in Chapter 10) is typically used to find optimal shipping schedules in supply chains and logistics systems. The applications of the model can be viewed as tactical problems, in the sense that the time interval of interest is usually short, say a week or a month. Over that time period, the supply capacities and locations are unlikely to change at all, and the demands can be predicted with reasonable precision. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

*The Facility Location Model Over a longer time frame, a strategic version of the problem arises. In this setting, the decisions relate to the selection of supply locations as well as the shipment schedule. These decisions are strategic in the sense that, once determined, they influence the system for a relatively long time interval. The basic model for choosing supply locations is called the facility location model. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

The Capacitated Problem Conceptually, we can think of this problem as having two stages. In the first stage, decisions must be made about how many warehouses to open and where they should be. Then, once we know where the warehouses are, we can construct a transportation model to optimize the actual shipments. The costs at stake are also of two types: fixed costs associated with keeping a warehouse open and variable transportation costs associated with shipments from the open warehouses. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

The Uncapacitated Problem Once we see how to solve the facility location problem with capacities given, it is not difficult to adapt the model to the uncapacitated case. Obviously, we could choose a virtual capacity for each warehouse that is as large as total demand, so that capacity would never interfere with the optimization. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. The Assortment Model The facility location model, with or without capacity constraints, clearly has direct application to the design of supply chains and the choice of locations from a discrete set of alternatives. But the model can actually be used in other types of problems because it captures the essential trade-off between fixed costs and variable costs. An example from the field of Marketing is the assortment problem, which asks which items in a product line should be carried, when customers are willing to substitute. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Summary Integer programming problems are optimization problems in which at least one of the variables is required to be an integer. Solver’s solutions to linear integer programs are reliable: a global optimal solution always occurs as long as the Integer Tolerance parameter has been set to zero. Binary variables can represent all-or-nothing decisions that allow only accept/reject alternatives. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Summary Binary variables can also be instrumental in capturing complicated logic in linear form so that we can harness the linear solver to find solutions. Binary variables make it possible to accommodate problem information on: Contingency conditions between projects Mutual exclusivity among projects Linking constraints for consistency Threshold constraints for minimum activity levels With the capability of formulating these kinds of relationships in optimization problems, our modeling abilities expand well beyond the basic capabilities of the linear and nonlinear solvers. Chapter 11 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in section 117 of the 1976 United States Copyright Act without express permission of the copyright owner is unlawful. Request for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages caused by the use of these programs or from the use of the information herein.