Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.

Slides:



Advertisements
Similar presentations
Introduction to LP Modeling
Advertisements

Solving LP Problems in a Spreadsheet
Using Solver to solve a minimization LP + interpretation of output BSAD 30 Dave Novak Source: Anderson et al., 2013 Quantitative Methods for Business 12.
Functions S S T : S P R E A D S H E E T S SST 5 Spreadsheet 5 Function.
Understanding optimum solution
 Microsoft Excel is an electronic spreadsheet.  As with a paper spreadsheet, you can use Excel to organize your data into rows and columns and to perform.
MS Excel Formulas & Functions. What are formulas & functions?  Formulas are instructions that tell Excel how to perform calculations.  Formulas must.
Microsoft Office XP Microsoft Excel
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 2 (Linear Programming: Basic Concepts) Three Classic Applications.
BUSINESS DRIVEN TECHNOLOGY Decision Analysis Tools in Excel
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
Introduction to Management Science
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
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.
Operations Management Dr. Ron Lembke
Spreadsheet-based 0ptimization Objective: Execute the optimization of profit functions using the Excel spreadsheet. With modern spreadsheets, optimization.
Example 4.7 Data Envelopment Analysis (DEA) | 4.2 | 4.3 | 4.4 | 4.5 | Background Information n Consider a group of three hospitals.
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.
1 Chapter 7 Linear Programming Models Continued – file 7c.
QM B Linear Programming
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
GOAL SEEK AND SOLVER Both of these tools come with the standard Excel package, but Solver has to be installed. If it is not on your computer, do the following:
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
Example 14.1 Introduction to LP Modeling. 14.1a14.1a | 14.2 | Linear Programming n Linear programming (LP) is a method of spreadsheet optimization.
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.
Linear Programming The Industrial Revolution resulted in (eventually) -- large companies, large problems How to optimize the utilization of scarce resources?
COMPREHENSIVE Excel Tutorial 10 Performing What-If Analyses.
Table of Contents Chapter 2 (Linear Programming: Basic Concepts)
Mathematics for Economics and Business Jean Soper chapter two Equations in Economics 1.
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.
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 MS-Excel Introduction to MS-Excel  Entering data in EXCEL Entering data in EXCEL  Formulas & Functions in EXCEL Formulas & Functions.
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,
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.
An-Najah N. University Faculty of Engineering and Information Technology Department of Management Information systems Operations Research and Applications.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
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.
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.
Excel Spreadsheet Notes. What is a Spreadsheet? Columns and rows of data.
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 3: Referencing and Names Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Solving Linear Optimization Problems Using the Solver Add-in.
Setting up Solver Add-in for Excel
International Computer Driving Licence Syllabus version 5.0
A Multiperiod Production Problem
Excel Solver IE 469 Spring 2017.
Microsoft Office Illustrated
Microsoft Excel 2003 Illustrated Complete
Excel Solver IE 469 Spring 2018.
Wyndor Example; Enter data
Excel Solver IE 469 Fall 2018.
Modeling and Solving LP Problems in a Spreadsheet
Linear Programming Excel Solver.
Solving Linear Optimization Problems Using the Solver Add-in
Intro to Excel CSCI-150.
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:

Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function

Noncomputational Entries and Changing Cells Changing cells. Assign a set of cells to represent the decision variable in the model. The problem starts with assuming a value of 0 in each decision variable cell, and find the optimal solution.

Constraint cells. For each constraint, create a formula in a separate cell that corresponds to the left-hand side (LHS) of the constraint. SUMPRODUCT function is used to multiply element by element of two tables and addup all values. SUMPRODUCT: sums the products of individual cells in two ranges. SUMPRODUCT(C6:E6, C4:E4) = C6*C4 + D6*D4+ E6*E4 The two specified ranges must be of the same size ( the same number of rows and columns). For linear programming you should try to always use the SUMPRODUCT function (or SUM) for the objective function and constraints. This is to remember that the equations are all linear. In LP we do not have square, square-root, log, exponential, cos, etc. SUMPRODUCT

F4

Copy Down; LHS, and the Objective Function

Target Cell: The Objective Function Target cell. A cell containing a formula that corresponds to the objective function.

Tools/Add-Ins/Solver

The target cell contains an equation that defines the objective and depends on the decision variables. You can only have one objective function. Target cell must be a single cell. In the Solver dialogue box select the “Set Target Cell” window, then click on the cell that you have already defined it as the objective function. This is the cell you wish to optimize. Then lick on the radio button of either Max or Min. Defining the Target Cell ( The Objective Function)

Identifying the Changing Cells ( Decision Variables) You next tell Excel which cells are decision variables, i.e., which cells excel is allowed to change when trying to optimize. Move the cursor to the “By Changing Cells” window, and drag the cursor across all cells you wish to treat as decision variables

Click on the “Add” button to the right of the constraints window. A new dialogue box will appear. The cursor will be in the “Cell Reference” window within this dialogue box. Click on the cell that contains the quantity you want to constrain. The default inequality that first appears for a constraint is “<= ”. To change this, click on the arrow beside the “<= ” sign. After setting the inequality, move the cursor to the “Constraint” window. Click on the cell you want to use as the constraining value for that constraint. Adding Constraints

You may define a set of similar constraints (e.g., all = constraints) in one step if they are in adjacent rows. Simply select the range of cells for the set of constraints in both the “Cell Reference” and “Constraint” window. After you are satisfied with the constraint(s), click the “Add” button if you want to add another constraint, or click the “OK” button if you want to go back to the original dialogue box. Notice that you may also force a decision variable to be an integer or binary (i.e., either 0 or 1) using this window. Adding Constraints

The Solver dialogue box now contains the optimization model, including the target cell (objective function), changing cells (decision variables), and constraints. Important Options

Click on the “Options” button in the Solver dialogue box, and click in both the “Assume Linear Model” and the “Assume Non-Negative” box. The “Assume Linear Model” option tells Excel that it is a linear program. This speeds the solution process, makes it more accurate, and enables the more informative sensitivity report. The “Assume Non-Negative” box adds non-negativity constraints to all of the decision variables. Important Options

Check the Options then Solve

The Solution

When it is done, you will receive one of four messages: Solver found a solution. All constraints and optimality conditions are satisfied. This means that Solver has found the optimal solution. Cell values did not converge. This means that the objective function can be improved to infinity. You may have forgotten a constraint (perhaps the non- negativity constraints) or made a mistake in a formula. Solver could not find a feasible solution. This means that Solver could not find a feasible solution to the constraints you entered. You may have made a mistake in typing the constraints or in entering a formula in your spreadsheet. Conditions for Assume Linear Model not satisfied. You may have included a formula in your model that is nonlinear. There is also a slim chance that Solver has made an error. (This bug shows up occasionally.) The Solution

If Solver finds an optimal solution, you have some options. First, you must choose whether you want Solver to keep the optimal values in the spreadsheet (you usually want this one) or go back to the original numbers you typed in. Click the appropriate box to make you selection. you also get to choose what kind of reports you want. Once you have made your selections, click on “OK”. You will often want to also have the “Sensitivity Report”. To view the sensitivity report, click on the “Sensitivity Report” tab in the lower-left-hand corner of the window. The Solution

 What is the Optimal Solution?  What is the value of the Objective Function for the Optimal Solution?  If the net profit for a product changes, will the optimal solution change?  If more (or less) of a resource is available, how it affect our profit? For example:  How much do you pay to have one extra unit of Resource1  How much do you pay to have one extra unit of Resource3  How much do you pay to have one extra unit of Resource2 Questions Answered by Excel

Sensitivity