Title | Excel SLO 8.3-Using Solver |
---|---|
Author | Lia Vee |
Course | Introduction To Business Information Systems |
Institution | Southwestern College |
Pages | 4 |
File Size | 331.5 KB |
File Type | |
Total Downloads | 15 |
Total Views | 146 |
SIMNET Excel...
Excel - Chapter 8 - Exploring Data Analysis and Business Intelligence
SLO8.3
UsingSolver Solver is an analysis tool that finds the lowest, the highest, or a specific result for a formula by changing values in other cells within limitations that you set. Using Solver can be described as solving a problem in reverse,becauseyoustartwiththedesiredanswerandSolvercalculateshowtoreachthatanswer.Paradise LakesResort,forexample,mightsetagoalforquarterlyrevenueanduseSolvertodeterminethebestwayto reachthatgoalbycalculatingatargetforeachrevenuecategory. Solverisasophisticatedanalysistool,butitmaynotbeabletofindasolutiontoeveryproblem.Whenit cannotdoso,theSolverResultsdialogboxinformsyouthatitcouldnotfindasolution.
InstallandRunSolver Solver is an Excel addin. An addin is an enhanced command or feature that is not installed with the initialExcelsetup.YoucaninstalladdinsfromtheAddInsdialogboxinExcelOptions.
HOWTO:InstallSolver 1. Select Options [File tab]. 2. Click AddIns in the left pane. The ViewandmanageMicrosoftOfficeAddins dialog box opens. Applications that are currently active are listed near the top of the window. 3. Click SolverAddin in the list of InactiveApplicationAddIns (Figure 8-8). 4. Click Go near the bottom of the dialog box to open the Addins dialog box. 5. Select the SolverAddin box (Figure 8-9). You can remove Solver by deselecting the box. 6.
Click OK.
88AddinsdialogboxinExcelOptions 89Addinsdialogbox
The Solver button is located in the Analyze group on the Data tab.
ASolverproblemhasthreecomponents,known asparameters.Aparameterisinformationusedby Solver to find a solution. The parameters are the objectivecell,variablecells,andconstraints. 810SolverproblemforParadiseLakes
TheObjectiveCell The objectivecellisacellwithaformulatobecalculatedtoreachadesiredresult.Itissometimes referredtoasthetargetcell.Youcansettheobjectivecelltothemaximumorminimumortoavalue. InFigure810,ParadiseLakeswantstodetermineamaximumtotalrebate.TheformulaincellD8is theobjectivecell.
VariableCells Inordertoreachthedesiredresultintheobjectivecell,Solverchangesthecellsidentifiedasvariable cells.Thesecellsmayalsobecalled decision cellsor changingcells.InFigure810,thevariable cellsarecellsB4:B7.
Constraints Aconstraintisarestrictionorlimitation.Itcouldbealimitationontheformula,ononeormoreofthe variablecells,oralimitationonothercellsthataredirectlyrelatedtotheobjectivecell.InFigure810, a constraint for cell B4, the Baudette value, is that pounds collected cannot be fewer than 130 or greaterthan150.WhenSolvercannotfindasolution,itisoftenduetohowconstraintsaredefined.
SolvingMethod Solver uses an algorithm, a stepbystep procedure, to find a solution. Three solving methods are available: GRG Nonlinear, LP Simplex, and Evolutionary. For most problems, start with GRG Nonlinear.IfSolver cannot find a solution, try either of the other methods. For sophisticated Solver problemswithcomplicatedconstraints,identifythetypeofproblemandexplorethesolvingmethods indetail. To run Solver, click the Solver button on the Data tab in the Analyze group and define each parameterintheSolverParametersdialogbox.
HOWTO:RunSolver 1. Click the Solver button [Data tab, Analyze group]. The SolverParameters dialog box opens. 2. Click the SetObjective box and click the cell with the formula to be solved. The objective cell must include a formula. 3. Make a selection for the To parameter. You can solve the formula for the minimum or maximum value. You can choose ValueOf and type a specific value in the entry box. 4. Click the ByChangingVariableCells box.
5. Select the cells that can be changed. You can paste or type a range name instead of selecting cells. Press Ctrl to select nonadjacent cells. 6. Click Add to the right of the SubjecttotheConstraints box. The AddConstraint dialog box opens. You can set multiple constraints for a cell. 7. Click the CellReference box and select the first cell or range that has a limitation. 8. Click the middle drop-down arrow and choose an operator. The int operator limits the value to a whole number.
811AddConstraintdialogbox
The bin operator requires a binary value, either 0 or 1. The dif operator is used to specify that all values in a range must be different. 9. Click the Constraint box and enter a value (Figure 8-11). You can click a cell with a value for the constraint. 10. Click Add in the AddConstraint dialog box to add another constraint. If you click OK but want to add another constraint, click Add to the right of the SubjecttotheConstraints box. 11. Click OK in the AddConstraint dialog box when all constraints are identified. The constraints are listed in the Solver Parameters dialog box. 12. Select the MakeUnconstrainedVariables NonNegative box. If you leave this box unchecked, a variable cell without a constraint can be solved to a negative number. 13. Click the SelectaSolvingMethod arrow and choose a method (Figure 8-12).
812CompletedSolverparameterswith constraints
If Solver cannot find a solution, try a different method. 14. Click Solve. The SolverResults dialog box includes an option to keep the solution or to return to the original values. You can generate Solver reports. You can save the results as a scenario. 15. Click OK to keep the solution.
SolverReports SelectanoptionintheSolverResultsdialogboxtogeneratestatisticalanalysisreportsabouttheproblem and the solution. Three reports for a solved problem are listed: Answer, Sensitivity, and Limits. These reportsarestraightforwardtogenerate,butyoushouldhaveanunderstandingofstatisticalconceptsand termstounderstandandinterpretthereports.
MOREINFO When Solver cannot find a solution, print the Feasibility and FeasibilityBounds reports to helpidentifyconstraintissues.
AnswerReport The Answer report identifies and lists each parameter and serves as documentation of your work. The report includes original values and values suggested by Solver as shown in Figure813. ThefirstAnswerreportisinsertedintheworkbookinasheet named Answer Report 1. If you run Solver multiple times, you can generate an answer report each time, and the sheets are namedAnswerReport2,andsoon.
813ASolverAnswerreport
HOWTO:CreateanAnswerReport 1. Complete the SolverParameters dialog box as needed. 2. Click Solve. 3. Select Answer in the Reports section in the SolverResults dialog box. (Figure 8-14). You can also select Sensitivity and Limits to generate all three reports. 4. Select the OutlineReports box if the report should be formatted as an Excel outline.
814SolverResultswindow
5. Click OK. The report is generated on a new sheet. 6. Select the AnswerReport1 sheet tab. The report documents how Solver reached the solution. IfSolverreturnsaruntimeerrorinamessagebox,uninstallthecommandfromtheAddInsdialog boxinExcelOptions,andexitExcel.ThenrestartExcelandinstallSolveragain.
HOWTO:UninstallSolver 1. Select Options [File tab] and click AddIns in the left pane. The ViewandmanageMicrosoftOfficeAddins dialog box opens. Active applications are listed near the top of the window. 2. Select SolverAddin in the list of ActiveApplicationAddIns. 3. Click Go near the bottom of the dialog box. 4. Deselect the SolverAddin box and click OK....