Docsity

Using Excel Solver to Optimize Formulas, Assignments of Software Engineering

Toggle sidebar
bg1
Define and solve a problem by using
Solver
1. On the Tools menu, click Solver.
If the Solver command is not on the Tools menu, you need to install the Solver
add-in.
( Install and load Solver
a. On theTools menu, click Add-Ins.
Show Me
If Solver is not listed in the Add-Ins dialog box, run Setup again and make sure you select the
option to install Solver.
b. In the Add-Ins dialog box, select the Solver Add-in check box, and then click OK.
If you get a message asking whether you want to install the feature, click Yes.
Note Add-ins you select in the Add-Ins dialog box remain active until you
remove them. Learn about Microsoft Excel add-in programs.)
2. In the Set Target Cell box, enter a cell reference or name for the target cell. The
target cell must contain a formula.
3. To have the value of the target cell be as large as possible, click Max.
To have the value of the target cell be as small as possible, click Min.
To have the target cell be a certain value, click Value of, and then type the value
in the box.
4. In the By Changing Cells box, enter a name or reference for each adjustable cell,
separating nonadjacent references with commas. The adjustable cells must be
related directly or indirectly to the target cell. You can specify up to 200
adjustable cells.
To have Solver automatically propose the adjustable cells based on the target cell,
click Guess.
5. In the Subject to the Constraints box, enter any constraints you want to apply.
6. Click Solve.
pf2

Partial preview of the text

Download Using Excel Solver to Optimize Formulas and more Assignments Software Engineering in PDF only on Docsity!

Define and solve a problem by using

Solver

  1. On the Tools menu, click Solver.

If the Solver command is not on the Tools menu, you need to install the Solver add-in.

( Install and load Solver

a. On the Tools menu, click Add-Ins.

Show Me

If Solver is not listed in the Add-Ins dialog box, run Setup again and make sure you select the option to install Solver.

b. In the Add-Ins dialog box, select the Solver Add-in check box, and then click OK.

If you get a message asking whether you want to install the feature, click Yes.

Note Add-ins you select in the Add-Ins dialog box remain active until you remove them. Learn about Microsoft Excel add-in programs.)

  1. In the Set Target Cell box, enter a cell reference or name for the target cell. The target cell must contain a formula.
  2. To have the value of the target cell be as large as possible, click Max.

To have the value of the target cell be as small as possible, click Min.

To have the target cell be a certain value, click Value of , and then type the value in the box.

  1. In the By Changing Cells box, enter a name or reference for each adjustable cell, separating nonadjacent references with commas. The adjustable cells must be related directly or indirectly to the target cell. You can specify up to 200 adjustable cells.

To have Solver automatically propose the adjustable cells based on the target cell, click Guess.

  1. In the Subject to the Constraints box, enter any constraints you want to apply.
  2. Click Solve.
  1. To keep the solution values on the worksheet, click Keep Solver Solution in the Solver Results dialog box.

To restore the original data, click Restore Original Values.

Tips

  • You can interrupt the solution process by pressing ESC. Microsoft Excel recalculates the worksheet with the last values found for the adjustable cells.
  • More information about options in the Solver Parameters dialog box.
  • More information about options in the Solver Results dialog box.
  • For information about the algorithms used by Solver, click.