Linear Programming: Basic Concepts

Slides:



Advertisements
Similar presentations
Chapter 8: The Solver and Mathematical Programming Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
Advertisements

Solving LP Problems in a Spreadsheet
Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.
Linear Programming.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 2 (Linear Programming: Basic Concepts) Three Classic Applications.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Introduction to Management Science
Computational Methods for Management and Economics Carla Gomes Module 6a Introduction to Simplex (Textbook – Hillier and Lieberman)
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 18, 2013.
Managerial Decision Modeling with Spreadsheets
2-1 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Chapter Topics Model Formulation A Maximization Model Example Graphical Solutions.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Three Classic Applications of LP Product Mix at Ponderosa Industrial –Considered limited.
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.
An Introduction to Linear Programming : Graphical and Computer Methods
QM B Linear Programming
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 2 (Linear Programming: Basic Concepts) The Wyndor Glass Company.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
Goals and aims To introduce Linear Programming To find a knowledge on graphical solution for LP problems To solve linear programming problems using excel.
LINEAR PROGRAMMING INTRODUCTION
3 Components for a Spreadsheet Linear Programming Problem There is one cell which can be identified as the Target or Set Cell, the single objective of.
1 1 Slides by John Loucks St. Edward’s University Modifications by A. Asef-Vaziri.
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
Linear Programming Models: Graphical and Computer Methods
Introduction to Linear Programming
Chapter 3 Introduction to Optimization Modeling
Table of Contents Chapter 2 (Linear Programming: Basic Concepts)
LINEAR PROGRAMMING SIMPLEX METHOD.
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.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Spreadsheet Modeling of Linear Programming (LP). Spreadsheet Modeling There is no exact one way to develop an LP spreadsheet model. We will work through.
Introduction to Linear Programming
Introduction to Management Science Chapter 1: Hillier and Hillier.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
Some Key Facts About Optimal Solutions (Section 14.1) 14.2–14.16
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
We can make Product1 and Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one hour of Resource1, nothing of Resource2,
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
QMB 4701 MANAGERIAL OPERATIONS ANALYSIS
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 19: The Solver Re-Visited Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
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.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
3 Characteristics of an Optimization Problem General descriptionKPiller Illustration Decisions that must be made; represented by decision variables How.
Lab 3 Solver Add-In In Excel ► Lab 2 Review ► Solver Add-in Introduction ► Practice Solver following Instructor » Saferly Inc.
What-If Analysis for Linear Programming
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents CD Chapter 14 (Solution Concepts for Linear Programming) Some Key Facts.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Simplex Method for solving LP problems with two variables.
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.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming Chapter 2.
Linear Programming Wyndor Glass Co. 3 plants 2 new products –Product 1: glass door with aluminum framing –Product 2: 4x6 foot wood frame window.
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
An Introduction to Linear Programming
Excel Solver IE 469 Spring 2017.
Excel Solver IE 469 Spring 2018.
Wyndor Example; Enter data
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Excel Solver IE 469 Fall 2018.
Linear Programming Excel Solver.
Excel Solver IE 469 Spring 2019.
BUS-221 Quantitative Methods
Table of Contents Chapter 2 (Linear Programming: Basic Concepts) The Wyndor Glass Company Product Mix Problem (Section 2.1)2.2 Formulating the Wyndor Problem.
Presentation transcript:

Linear Programming: Basic Concepts Chapter 2: Hillier and Hillier

Agenda Define Linear Programming The Case of the Wyndor Glass Co.—A Maximization Problem Developing a Mathematical Representation of Wyndor’s Problem A Spreadsheet Model of Wyndor’s Problem A Graphical Solution to Wyndor’s Problem

Agenda Cont. A Spreadsheet Solution to Wyndor’s Problem The Case of Profit & Gambit—A Minimization Problem

Linear Programming (LP) Linear programming can be defined as the planning of activities represented by a linear mathematical model. Hence, in a linear programming problem, the objective and the constraints are all linear. Given this assumption of linearity, LP is used to find the best mix of activities.

A Summary of the Case of Wyndor Glass Two new products have been developed: An 8-foot glass door A 4x6 foot glass window Wyndor has three production plants Production of the door utilizes Plants 1 and 3 Production of the window utilizes Plants 2 and 3 Objective is to find the optimal mix of these two new products.

A Summary of the Case of Wyndor Glass Cont. Production Time Used for Each Unit Produced Plant Doors Windows Available Per Week 1 1 hour 0 hour 4 hour 2 2 hour 12 hour 3 3 hour 18 hour Unit Profit $300 $500

A Mathematical Representation of Wyndor’s Problem In general terms, we need to do five steps when developing the mathematical model: Gather the relevant data This is from the table on the previous slide Identify the decisions to be made, i.e., decision variables The amount of doors (D) and windows (W) to produce

A Mathematical Representation of Wyndor’s Problem Cont. Identify the constraints of the decisions There are five constraints: How much of Plant 1 the doors and windows use How much of Plant 2 the doors and windows use How much of Plant 3 the doors and windows use The two non-negativity constraints on the quantity produced of doors and windows

A Mathematical Representation of Wyndor’s Problem Cont. Identify the overall measure of performance, i.e., the objective function Profit = $300*(#Doors) + $500*(# Windows) Convert the verbal description of the constraints and the measure of performance into quantitative expressions in terms of the data and the decisions Given on next slide

A Mathematical Representation of Wyndor’s Problem Cont.

A Spreadsheet Model of Wyndor’s Problem Formulation Procedure Gather data for the problem Enter the data into data cells on the spreadsheet Identify the decisions to be made on the level of the activities and designate them as the changing cells for displaying these decisions Identify the constraints on the decisions and introduce output cells as needed to specify the constraints

A Spreadsheet Model of Wyndor’s Problem Cont. Choose the overall measure of performance to be entered into the target cell. Use an appropriate Excel function, e.g., the SUMPRODUCT function, to enter the appropriate value into each output cell (including the target cell).

A Spreadsheet Model of Wyndor’s Problem Cont. See Hillier and Hillier CD spreadsheet for chapter 2. Two special features are in this spreadsheet model: Naming of a range of cells SUMPRODUCT Excel Command

Naming a Range of Cells To Name a range of cells, you must first select the cells you would like to name. Once these cells are selected, you want to choose insert from the main menu. Next choose Name and then Define. When the Dialog box comes up, type in the name you would like to call the range of cells. Finally, click close.

SUMPRODUCT Function in Excel The SUMPRODUCT function multiplies corresponding numeric components in given ranges or arrays and returns the sum of those products. An array in this case is a list of numbers where the ordering of the list and the dimensionality (number of elements in the list) of the list matters. Example: 1, 2, 3, 4, 5 is an array Example: 5, 4, 3, 2, 1 is a completely different array Arrays can be known as column or row vectors.

SUMPRODUCT Function in Excel Suppose you have two arrays of numbers. Array1 is defined as a1, a2, a3 Array2 is defined as b1, b2, b3 SUMPRODUCT(Array1, Array2) =a1*b1+a2*b2+a3*b3 Suppose Array1 is defined as 1, 2, 3 Array2 is defined as 3, 2, 1 SUMPRODUCT(Array1, Array2) =1*3 + 2*2 + 3*1 = 10

Needed Terminology for Graphical Solution Constraint Boundary Equation This equation dictates the boundary of the feasible and infeasible solutions given a particular constraint. Constraint Boundary Line This line is dictated by the constraint boundary equation when you have only two decision variables. It is the edge of the constraint boundary equation when the constraint is met with equality.

Needed Terminology for Graphical Solution Cont. Objective Function Line This line is a line determined by setting the objective function to a particular value. Each point on this line gives the same value for the objective function. Feasible Solution A point within the region that consist of all the points that can be considered as a solution. It is a point that meets all the boundary constraints simultaneously.

Needed Terminology for Graphical Solution Cont. Infeasible Solution A point that does not meet all of the constraints. Optimal Solution A point or points that optimize the objective function. Feasible Region This is the region that holds all the feasible solutions.

Graphical Method of Solving Wyndor’s Problem This will be examined in class using the LP Interactive Management Module located at http://highered.mcgraw-hill.com/sites/0073129038/student_view0/management_science_modules.html, as well as solving this by hand. What happens when you change 300 to 3 and 500 to 5? What happens when you change D from being less than 4 to now being less than 5?

Needed Terminology for Solver Solution Changing Cells These are the cells on the spreadsheet that are representative of the decision variables. Data Cells These are the cells on the spreadsheet that show all the parameters/data of the problem.

Needed Terminology for Solver Solution Cont. Output Cells These are cells that are calculated using the changing cells/decision variables. Target Cell This cell represents the overall measure of performance, i.e., the objective function.

Major Components of Solver Set Target Cell Equal to: Max Min Value of By Changing Cells

Major Components of Solver Subject to the Constraints Add Change Delete Options Assume Linear Model Assume Non-Negative Solve

Solver Method of Solving Wyndor’s Problem This will be examined in class using Solver.

A Summary of the Case of Profit & Gambit Trying to develop an advertising campaign that will affect there three products. Stain Remover Liquid Detergent Powder Detergent The have a choice of: TV Print media

A Summary of the Case of Profit & Gambit Cont. Profit & Gambit has three restrictions on the minimum required increase on product sales. Objective is to find the optimal mix of these two advertising avenues that meet the constraints at the lowest cost.

A Summary of the Case of Profit & Gambit Cont. Increase in Sales Per Unit of Advertising Product TV Print Media Minimum Required Increase Stain Remover 0 % 1 % 3 % Liquid Detergent 3% 2% 18 % Powder Detergent -1 % 4 % Unit Cost $1 Mil. $2 Mil.

A Mathematical Representation of Profit & Gambit Cont. In general terms, we need to do five steps when developing the mathematical model: Gather the relevant data This is from the table on the previous slide Identify the decisions to be made, i.e., decision variables The amount of television ads run (TV) and the amount of print ads run (PM)

A Mathematical Representation of Profit & Gambit Cont. Identify the constraints of the decisions There are five constraints: A minimum increase in the amount of sales of the Stain Remover A minimum increase in the amount of sales of the Liquid Detergent A minimum increase in the amount of sales of the Powder Detergent The two non-negativity constraints on the quantity of TV and Print Media ads

A Mathematical Representation of Profit & Gambit Cont. Identify the overall measure of performance, i.e., the objective function Cost = $1 Mil.*(# TV) + $2 Mil*(# PM) Convert the verbal description of the constraints and the measure of performance into quantitative expressions in terms of the data and the decisions Given on next slide

A Mathematical Representation of Profit & Gambit Cont.

Solution to Profit & Gambit The following solutions will be discussed in class: Hand Graphical Solver