Microsoft Office Excel 2003

Slides:



Advertisements
Similar presentations
How to Install Excel Solver to find optimal solutions to business problems Demonstrated using Excel 2003 and Excel 2007.
Advertisements

Example 2.2 Estimating the Relationship between Price and Demand.
Microsoft Office XP Microsoft Excel
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
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T4 DECSION MAKING USING EXCEL.
Microsoft Office 2007 Excel Chapter 8 Formula Auditing, Data Validation, and Complex Problem Solving.
Tutorial 10: Performing What-If Analyses
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Tutorial 3 Calculating Data with Formulas and Functions
Example 14.3 Football Production at the Pigskin Company
Spreadsheet-based 0ptimization Objective: Execute the optimization of profit functions using the Excel spreadsheet. With modern spreadsheets, optimization.
SUNY Morrisville-Norwich Campus- Week 7 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
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.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 6 1 Microsoft Office Excel 2003 Tutorial 6 – Working With Multiple Worksheets.
SUNY Morrisville-Norwich Campus- Week 6 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 2 1 Microsoft Office Excel 2003 Tutorial 2 – Working With Formulas and Functions.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Example 7.1 Pricing Models | 7.3 | 7.4 | 7.5 | 7.6 | 7.7 | 7.8 | 7.9 | 7.10 | Background Information n The Madison.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 9 1 Microsoft Office Excel 2003 Tutorial 9 – Data Tables and Scenario Management.
Formula Auditing, Data Validation, and Complex Problem Solving
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.
 Explore the principles of cost-volume-profit relationships  Perform a basic what-if analysis  Use Goal Seek to calculate a solution  Create a one-variable.
Example 14.1 Introduction to LP Modeling. 14.1a14.1a | 14.2 | Linear Programming n Linear programming (LP) is a method of spreadsheet optimization.
Linear Programming The Industrial Revolution resulted in (eventually) -- large companies, large problems How to optimize the utilization of scarce resources?
Non-Linear Simultaneous Equations
COMPREHENSIVE Excel Tutorial 10 Performing What-If Analyses.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
456/556 Introduction to Operations Research Optimization with the Excel 2007 Solver.
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.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
Tutorial 10: Performing What-If Analyses
Microsoft Office Excel 2010 ® ® Tutorial 10: Performing What-If Analyses.
XP Abdul Hameed 1 Microsoft Office Excel 2013 Tutorial 2 – Working With Formulas and Functions.
Spreadsheets in Finance and Forecasting Presentation 8: Problem Solving.
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.
1 Performing Spreadsheet What-If Analysis Applications of Spreadsheets.
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.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 3 1 Integrating Microsoft Office XP Tutorial 3 – Integrating Word, Excel, Access, and PowerPoint.
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.
 Review the principles of cost-volume-profit relationships  Discuss Excel what-if analysis tools 2.
1 Analyzing Data Using Goal Seek & Solver Applications of Spreadsheets.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Exploring Microsoft Office Excel 2007 Chapter 8 What-if Analysis Robert Grauer, Keith.
Lab 3 Solver Add-In In Excel ► Lab 2 Review ► Solver Add-in Introduction ► Practice Solver following Instructor » Saferly Inc.
Decision Making Using Excel
XP 1 Microsoft Office Excel 2003 Working With Formulas and Functions.
Sundara Ram Matta Feb 16 th, Sundara Ram Matta Feb 16 th, 2015
DAY 9: MICROSOFT EXCEL – CHAPTER 6 Sravanthi Lakkimsetty Sept 16, 2015.
XP 1 ﴀ New Perspectives on Microsoft Office 2003, Premium Edition Excel Tutorial 2 Microsoft Office Excel 2003 Tutorial 2 – Working With Formulas and Functions.
 Columns  Rows  Cells  Ranges  Cell addresses  Column headers  Row headers  Formulas  Spreadsheet.
Microsoft Office 2013 ®® Calculating Data with Formulas and Functions.
Microsoft Excel 2013 Chapter 9 Formula Auditing, Data Validation, and Complex Problem Solving.
Microsoft ® Excel ® 2013 Enhanced Excel Tutorial 3 Calculating Data with Formulas and Functions.
Example 3.1a Sensitivity Analysis and Solver Table Add-in.
Appendix A with Woodruff Edits Linear Programming Using the Excel Solver Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Excel’s Solver Use Excel’s Solver as a tool to assist the decision maker in identifying the optimal solution for a business decision. Business decisions.
Introduction to Optimization
A Multiperiod Production Problem
Solver & Optimization Problems
Microsoft Office Excel 2003
Microsoft Office Illustrated
Wyndor Example; Enter data
Navya Thum February 13, 2013 Day 7: MICROSOFT EXCEL Navya Thum February 13, 2013.
Linear Programming Excel Solver.
Presentation transcript:

Microsoft Office Excel 2003 Tutorial 10 – Using Solver For Complex Problems New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Formulate a problem Goal Seek and Solver are Excel tools that can help us solve complex, multi-variable problems. A typical multi-variable problem is optimizing the mix of several different products to be manufactured, stocked, and/or sold by a factory or business. Such problems deal with issues such as inventory, demand, display, space, and profit. In order to solve such a problem in Excel, it is first necessary to create an Excel workbook showing all of the interrelated facts. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Income Analysis portion of sample worksheet This figure shows an income analysis worksheet for a barbecue grill manufacturer. This worksheet will be referenced in other slides in this presentation to illustrate solving complex problems with Excel. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Grill Parts Inventory portion of sample worksheet This figure shows a grill parts inventory worksheet that will also be referenced in other slides in this presentation. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

An example problem The problem addressed in this example is to optimize the profit that a grill manufacturing plant can make, by balancing the number of each kind of grill against inventory and revenue. Note the following factors in the spreadsheets seen in the previous two slides: The cost, both in parts and labor, to produce each kind of grill The selling price of each grill The total income The current inventory of all parts A chart of how many of each part are needed by each grill type Most mix-optimizing problems will require this type of information. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

A helpful formula tip The formula in cell I6 of the Inventory portion of the worksheet (to calculate the count of the part named “Burner (Main)”) can be written in the form =$B$6*H21 +$C$6*I21 +$D$6*J21 +$E$6*K21. In this way, it can be copied to the rest of the cells in the column. This is better than writing a new formula for each count because it: Allows you to use the same formula for each part and reduces the risk of data entry error Allows the possibility of someday changing the number of parts used for a specific model without having to rewrite the formulas New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Mix-optimizing problem considerations In every mix-optimizing problem, the constraints or requirements must be defined. In the problem under discussion, the solution must meet the following requirements: There must be enough of each kind of grill to fill the current orders No further parts can be ordered or manufactured, so no more grills can be manufactured once a part type is exhausted The company wants a mix that will maximize profits New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Perform what-if analyses Once you have a worksheet set up that defines the problem, you can begin to do a what-if analysis. A good way to begin is to enter some reasonable numbers, and see what happens. This will also be a check to see if the worksheet is set up properly. In our grill problem, the current orders would be a good starting place. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

An income analysis for an order New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Now what-if? The order continued Now the question is: How many more grills of each kind can be manufactured? What if we add 150 to the count of each model and order that many? This figure shows what happens with a guess—a what-if of 150 more of each model. The net income looks very good. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Recognizing a problem New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Try to solve a problem using trial and error Returning to the last what-if analysis, entering a count of 150 more than the current orders for each type of grill, you will remember that we used 15 too many of the parts called “Rack (Top)”. You could check to see what models use this part, and reduce the count of one of them by 15. For example, let's reduce the count of Extended grills from 225 to 210 This will make the parts inventory OK, and will reduce the net income by $1,500 or so This looks like a good solution, but our problem is to find the optimal solution, the optimal mix of grills that will yield the most net income. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Explore other order possibilities If you increase the number of Extended grills by 15 and decrease the number of Deluxe grills by 15, the solution is better, but is it the best? Let's try increasing the number of Standard grills in the order (since they don't use top racks). We could keep on trying different entries for the count of different models of grill, trying to come up with the best solution, but continuing to use this manual trial-and-error method is tedious, and could take a long time. Fortunately, Excel has a tool that can help in trial-and-error problem solving. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Use Goal Seek to automate the trial-and-error process To automate the trial-and-error process, Excel has a tool called Goal Seek. When you use Goal Seek, you specify the result you want, and Goal Seek changes the value in an input cell to arrive at that result. For example, we have been changing the number of each grill ordered (the inputs), and checking the net income (the result) With Goal Seek, we specify the net income we want, and tell Goal Seek to change one of the inputs until it arrives at that goal. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Use Goal Seek In the worksheet for the optimal-mix problem about grills, we want to see what inputs would give us a net income of 42,000. To invoke Goal Seek, from the Tools menu, click Goal Seek. This will bring up the Goal Seek dialog box. In that dialog box, you specify: The cell to be set to some value The value you want to be in that cell The cell to change to accomplish the goal New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

The Goal Seek dialog box New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Understand the Goal Seek dialog box Goal Seek only allows you to enter one input cell to change. If you read the text of the entire Goal Seek dialog box as a sentence, it says, Set cell B21 to value 42000 by changing cell B6. Keeping that sentence in mind will help you know what Goal Seek is going to try to do. When you click OK, Goal Seek does its work. When it finds a solution, Goal Seek reports success in a Goal Seek Status box. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Look for Goal Seek problems There are a couple of problems with this solution seen in the previous slide. First of all, you cannot order 331.2887 Standard grills. Second, when you check the status of the inventory, you see that there is a negative quantity in the Remaining column for the part called Igniter Button, which means you have exceeded the inventory for that part. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Fixing Goal Seek problems The first problem is caused by the fact that Goal Seek does not differentiate between integer and real numbers. Once Goal Seek gives you an estimate, you can manually change the number to the appropriate integer. To fix the second problem, you can run Goal Seek again, this time specifying that cell J13 (the remaining igniter buttons) should be set to 0, by changing cell B4. When you run Goal Seek with these values, the value displayed in B6 is 302. If you click on cell B6, you will see that the real value is 302.000000000002. You should fix this by manually entering 302 in cell B6. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

The final Goal Seek solution After making the changes shown in the previous slide, check the inventory status, to see if there are any negative numbers. The number of igniter buttons remaining is zero; this product mix uses them all. Now, check the net income. It has fallen from $42,000 to just a little over $40,500, but we do have a workable solution that satisfies the first two constraints: All current orders can be filled The supply of parts has not been exceeded New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Did Goal Seek provide the final answer? Goal Seek helped find a solution that worked, but remember that our problem is to find the best solution—the one that yields the maximum net income. We could do several trials using Goal Seek, and see which one of them is better, but we won't know that we have found the best one. The only way to be absolutely sure that you have found the best solution using the trial-and-error method is to create all the solutions and then pick the best one. In the current problem, there are thousands of different combinations, certainly more than we want to run. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Use Solver to find the best solution Excel has an add-in program called Solver. Check the Tools menu to see if Solver is installed and activated on your machine. If it is, the word Solver will appear on the tools menu. You can activate it by clicking Add-Ins on the Tools menu. This will bring up a list of the add-in programs available to activate Find Solver on the list, check its box, and then click OK. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Install Solver If it is not installed, a dialog box that will guide you in the installation of Solver. You will need your Microsoft Office 2003 CD to complete the installation. Once Solver is installed, you will not need to install it again. It will be available on the Tools menu to use any time you need to solve an optimal-mix type of problem. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Look for Solver on the Tools menu New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Information required by Solver Solver needs four types of values that you will enter into the Solver Parameter dialog box: It needs the address of the target cell. It needs to know what you want to do with the target cell. You can ask Solver to set the target cell's value to the: greatest possible value the least possible value to a certain value that you enter 3. Solver needs to know which cells it can change to arrive at the desired result. 4. Solver needs to know what constraints have to be applied to the solution. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

The Solver Parameters dialog box New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Add Solver constraints The next step is to enter the requirements, or constraints. The first requirement is that the number of each part cannot exceed the available supply of each part. Since the counts of available parts are in column H, and the count of the parts used in the order are in corresponding places in column I, the constraint is that the value in cell I6 must be less than or equal to the value in cell H6, the value in cell I7 must be less than or equal to the value in cell H7, and so on. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Access the Add Constraint dialog box You can write this constraint in the Add Constraint dialog box. Click Add in the Constraints section of the Solver Parameters dialog box. This brings up the Add Constraint dialog box, which has three boxes to enter values in. The first box asks for references to the cells in question, in our case I6:I17 The second box lets you choose from several comparison options; we will choose “=“ The third box asks you for the address of the constraining cells, in our case H6:H17 Add additional constraints as needed for the problem being solved. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

View the constraints New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

The Add Constraint dialog box New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

The Solver Results box New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Create an answer report Once you have examined the optimal solution created by Solver, you will want to create a report that captures the important facts about the solution. Create an answer report from the Solver Results window: Set the changing cells (B6:E6) to zero Bring up Solver and notice that the parameters, changing cells, and constraints are still just like you set them Click the Solve button and wait for the Solver Results window to appear Check the Keep Solver Solution check box, and click on Answer in the Reports box Solver creates the answer report and stores it in a separate worksheet called “Answer Report”. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

A Solver Answer Report New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Solver Answer Report sections Section one of the Solver Answer reports shown in the previous slide is the title section, containing identifying information. Section two is the Target Cell section. It shows the optimization goal (in this case, “Max”), the cell's address, the cell's name, the cell's value at the beginning of the Solver run, and the cell's value at the end of the run. The third section is the Adjustable Cells section, containing the same information (address, name, start value, ending value) about all of the changing cells. The fourth section is the Constraints section. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Configure Solver to best work with your data Solver is designed to use an iterative process: It starts with an initial solution, and then does the problem over and over, using different values in the changing variables When a change to a variable results in a better solution, Solver makes another change to the same variable in the same direction When a change results in a worse solution, Solver does not make any more changes to that variable in that direction Solver continues to make changes and re-run the problem, until it arrives at a solution that is not significantly better than the previous one. At that point, Solver reports success. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Solver options you can set Max Time - Solver will stop when it has been looking for a solution for this much time. If it has not yet found a solution, it will give you the option of stopping without an optimal solution or continuing for another time set. Iterations - Solver will stop when it has done the problem this many times, even though it may not have arrived at a solution. Again, it will give you the option to stop or continue. Precision - Solver continues to work until the constraints are satisfied within this precision For example, if the value in this box is 0.000001, and the constraint says J3 must equal 14, Solver will stop when the value in cell J3 is within 0.000001 of 14, that is, between 13.999999 and 14.000001. Tolerance - similar to Precision, but for integer constraints. Solver stops when the answer is within this percent of the constraint value. Convergence - Solver uses this to determine when a solution is significantly better than the previous one. If the change in the two solutions is less than or equal to this value, Solver will stop and declare that it has found a solution. Assume Linear Model - if you know your problem can be solved with linear functions, you can speed up Solver by checking this box. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

The Solver Options dialog box New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10

Linear vs. non-linear functions A linear function is a function that can be written as the sum of a series of variables, where each variable is multiplied by some constant. A non-linear function involves using some mathematical operation other than summation. Solver sometimes has problems arriving at a solution to non-linear problems, simply because in a non-linear problem, there may be many avenues that Solver could travel to find solutions, and it is not always possible to determine which of these directions is the best. The rest of the choice boxes in the Solver Options dialog box have to do with helping Solver solve non-linear problems. Generally, these options are for the advanced user. New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 10