Tutorial 10 Using Solver for Complex Problems
Overview
Presentation
Planning the Worksheet
Creating the Order Worksheet
This is a what-if analysis wondering how many fridges's to order and what restrictions might be placed
Create the following worksheet
|
Yourname |
|
|
Order Worksheet |
|
|
Refrigerators |
|
|
Unit Retail cost |
1250 |
|
Unit Wholesale Price |
875 |
|
Profit per Unit |
|
|
Cubic feet per Unit |
25 |
|
Customer Orders |
6 |
|
Quantity to order |
|
|
Total Cost |
|
|
Total Profit |
|
|
Total Cubic Feet |
Complete the formulas
b7 = =b6-b5
Perform a what if = 6 units ordered, = 20 units ordered
We are now given the restrictions of $ 15,000 and 1000 cubic feet of space
Seeking a solution by Trial and Error
Excel has a solution to this
Using Goal Seek
- set up template with labels formulas and values
- click tools - goal seek - displays goal seek dialog box
- click the SET cell box -click cell where you want to display the result - cell that contains the formula
- click the TO value box - type the value you want as the result
- click the BY changing cell box - click the cell that excel can change to produce the result
- click OK
On worksheet
- click tools - goal seek
- set cell B13
- to value - type 18000
- by changing - b11
- click OK
- excel finds the # 21.17647
- we can change to 21
QUICK CHECK
Exploring More Complex Problems
Retrieve file GoldStar and save as Appliance Order
- click orders tab
- add a column for total orders
- e4 - enter all appliances
- select E10:E11 and E13:E15 - ctrl key - click auto sum and see results
- select d13:d15 - format painter - click e13
More Complex Problems
Solve problem with trial and error with numbers
Using Solver
On the worksheet
- total order = E13 - down arrow button and choose <= option constraint = 50000
- click add to add another constraint
- cubic feet = E15- down arrow button <= option -constraint=1300
- click OK
- click the solve button
- EXCEL =Solver has converged to the current solution All constraints are satisfied.
- observe the results on the worksheet and notice the quantity ordered is negative stoves and microwaves
- to remove these values from the worksheet click - restore to original values - then OK
- click tools - solver - add
- b11 >= b10
- add c11>=c10
- add d11>=d10
- OK - solve button - OK
- click tools - solver - add button to add more constraints
- drag pointer to outline B11:d11 - click integer and OK
- solve
- and OK
- Not binding = that these constraints were not limiting factors in the solution
- Binding = that the final value in the set cells was equal to the constraint value
Add a header to the answer report
- click print preview - setup button - header/footer tab
- click custom header - delete header in center section - click right section and type YOUR NAME space click date button (4th button) space filename button ( 6th button)
- OK - OK - Print
Print the order tab for your own reference
This page last modified on January 23, 2002