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.

Slides:



Advertisements
Similar presentations
Solving LP Problems in a Spreadsheet
Advertisements

Using Solver to solve a minimization LP + interpretation of output BSAD 30 Dave Novak Source: Anderson et al., 2013 Quantitative Methods for Business 12.
Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.
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
Microsoft Office 2007 Excel Chapter 8 Formula Auditing, Data Validation, and Complex Problem Solving.
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Operations Management Linear Programming Module B - Part 2
© 2007 Pearson Education Chapter 14: Solving and Analyzing Optimization Models.
Operations Management Dr. Ron Lembke
Chapter 4 Linear Optimization: Sensitivity Analysis Part 2 Chapter 4 Linear Optimization: Sensitivity Analysis Part 2 DECISION MODELING WITH MICROSOFT.
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
Formula Auditing, Data Validation, and Complex Problem Solving
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
Microsoft Office Excel 2003
Goals and aims To introduce Linear Programming To find a knowledge on graphical solution for LP problems To solve linear programming problems using excel.
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.
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.
Graphical Solutions Plot all constraints including nonnegativity ones
COMPREHENSIVE Excel Tutorial 10 Performing What-If Analyses.
456/556 Introduction to Operations Research Optimization with the Excel 2007 Solver.
Supplement B Introduction to Optimization Operations Management by R. Dan Reid & Nada R. Sanders 3 rd Edition © Wiley 2005 PowerPoint Presentation by Roger.
Lab 8 Solver In VBA ► Review – Solver Add-in In Excel ► Solver Add-in In VBA.
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
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
Spreadsheet Modeling of Linear Programming (LP). Spreadsheet Modeling There is no exact one way to develop an LP spreadsheet model. We will work through.
Linear Programming: Basic Concepts
DECISION MODELING Chapter 3 Linear Optimization WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker.
We can make Product1 and Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one hour of Resource1, nothing of Resource2,
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel Project 8 Formula Auditing, Data Validation, and Complex Problem Solving.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Appendix B A BRIEF TOUR OF SOLVER Prescriptive Analytics
1 Chapter 11 A number of important scheduling problems... require the study of an astronomical number of arrangements to determine which one is best....
การใช้ Solver ใน Excel. Solver Part of a suite of commands sometimes called what-if analysis tools what-if analysis Find an optimal value for a Formula.
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.
Wiley Supplement B Linear Programming Operations Management by R. Dan Reid & Nada R. Sanders 4th Edition © Wiley 2010.
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.
1 Analyzing Data Using Goal Seek & Solver Applications of Spreadsheets.
Decision Making Using Excel
DAY 9: MICROSOFT EXCEL – CHAPTER 6 Sravanthi Lakkimsetty Sept 16, 2015.
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 II. George Dantzig 1947 Narendra Karmarkar Pioneers of LP.
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.
Formula Auditing, Data Validation, and Complex Problem Solving
Setting up Solver Add-in for Excel
DECISION MODELING WITH Prentice Hall Publishers and
Solver & Optimization Problems
Excel Solver IE 469 Spring 2017.
Excel Solver.
Excel Solver IE 469 Spring 2018.
Wyndor Example; Enter data
Solver via VBA IE 469 Fall 2017.
Navya Thum February 13, 2013 Day 7: MICROSOFT EXCEL Navya Thum February 13, 2013.
Solver via VBA IE 469 Spring 2018.
Excel Solver IE 469 Fall 2018.
Solver via VBA IE 469 Spring 2018.
Modeling and Solving LP Problems in a Spreadsheet
Linear Programming Excel Solver.
Solving Linear Optimization Problems Using the Solver Add-in
Excel Solver IE 469 Spring 2019.
Presentation transcript:

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 BE OPTIMIZED 2.CHANGING CELLS 3.CONSTRAINTS IN OPTIONS DIALOG, CLICK “ASSUME LINEAR MODEL” & CLICK THE “OK” BUTTON CLICK ON “SOLVE” BUTTON TO BEGIN OPTIMIZATION REVIEW SOLVER COMPLETION MESSAGE MODIFY MODEL Solver Flowchart Solver Flowchart Solver Flowchart Solver Flowchart

SOLVER FOUND OPTIMUM SOLUTION? NO YES CLICK “KEEP SOLVER SOLUTION” & CLICK “OK” BUTTON WANT TO CHANGE MODEL AND RE-OPTIMIZE? NO YES SAVE FINAL MODEL AND EXIT EXCEL

Overview of Solver Objective function Decision variables Constraints Constraint functions (LHS) RHS LP Model Set Cell Changing Variable Cells Constraints Constraint Cell Reference Constraint or Bound Assume Linear Model or Standard Simplex LP LP Modeling Terminology Solver Terminology NOTE: if you get a negative decision and it is not meaningful to your model, be sure to specify the nonnegativity constraints in your LP model before optimizing with Solver.

The Solver Parameters dialog box will appear. By default, Max is selected (for maximization) and the cursor is in the first edit field: Set Target Cell. Look for the Premium button. If it is not there, then you have not installed Premium Solver for Education (available from the CD). Please install this version.

Clicking on Premium allows you to specify the type of optimization that it will perform. We will use the default Standard Simplex LP optimization.

With your cursor in the Set Target Cell: edit field, specify the cell to be optimized (i.e., your model’s performance measure). The easiest way to do this is to move the dialog (drag the title bar) so that cell D4 is exposed and then click on that cell. You can also click on the button in the edit field of the dialog to collapse the dialog, click on the cell, and then click on the button to expand the dialog.

The Equal to: field allows you to specify the type of optimization. You can either maximize or minimize the performance variable or cause the Target Cell to be equal to a value of your choosing (select Value of:). Specify the Oak Product model’s decision variables (cells B4:C4) in the By Changing Cells: edit field.

To specify the constraints, click on the Add button to open the Add Constraint dialog. Total LHS For the LHS of the constraint, specify the cell ranges for the Total LHS of either one constraint or a group of similar constraints (i.e., constraints with the same inequality) in the Cell Reference: edit field of the Add Constraint dialog.

For the RHS of the constraint, specify the cell ranges of either one resource limitation or a group of similar limitations in the Constraint: edit field. Note that when specifying many constraints at the same time, the number of cells referenced in the LHS must equal the number in the RHS. Click Add to add these constraints to Solver.

Note that the inequality is > for this constraint. Finally, add the Chair Production constraint.

Here is the resulting Solver dialog after adding all of the constraints: Now, in the Solver Parameters dialog, click the Options button to specify a linear model.

In the resulting Solver Options dialog, click on the following options: Assume Linear Model Assume Non-Negative Use Automatic Scaling (Specifies an LP model, same as Standard Simplex LP) (Apply nonnegativity constraints) (to be discussed later)

ALWAYS READ THIS SENTENCE! It is important to check to see if Solver found a solution and if all constraints and optimality conditions were satisfied. This information will be displayed in the first sentence in this dialog. ALWAYS READ THIS SENTENCE! Click OK to return to the Solver Parameters window and then click Solve to start the optimization. Remember that this is an iterative technique and may take a few seconds or a few minutes depending on the size of the model. When completed, the Solver Results dialog will appear.

Upon the successful completion of the Solver program, you have the following options: Keep the Solver Solution Restore the Original Values (throw the solution away) Receive up to three reports on the solution (each formatted as a new worksheet added to the Excel workbook. NOTE: The Premium edition may also list an Infeasibility Report and a Non-Linear Report if there is a problem.

Recommendations for Solver Three LP modeling habits you should develop for better use of Solver: 1. Make sure the numbers in your LP model are scaled such that the difference between the smallest and largest numbers in the spreadsheet is no more than 6 or 7 digits of precision (e.g.,.05 and is an acceptable range while.05 and 1,000,000 is not).

2. All RHS’s in the Constraints section of the Solver Parameters dialog should contain cell references (to the RHS cells in the spreadsheet model itself), and Recommendations for Solver The RHS cells on the spreadsheet model itself should contain constants and not formulas (or more precisely, no formulas that involve decision variables directly or indirectly).

3. Use Excel’s Range Naming commands to give range names to the performance measure cell, its decision cells, its constraint function (Total LHS) cells, and its RHS cells. Recommendations for Solver These names will automatically be substituted for the corresponding cell ranges in the Solver Parameters dialog.