Professional Documents
Culture Documents
App 1
App 1
Geothermal Heat Pump and Heat Engine Systems: Theory and Practice, First Edition. Andrew D. Chiasson.
© 2016 John Wiley & Sons, Ltd. Published 2016 by John Wiley & Sons, Ltd.
Companion website: www.wiley.com/go/chiasson/geoHPSTP
446 Appendix A
A.3 Installing and Using the Excel Solver for Optimization Problems
What is the Excel Solver?
The Excel Solver is an analysis tool that allows users to solve optimization problems.
In mathematics, computer science, or management science, mathematical optimization
(alternatively, optimization or mathematical programming) is the selection of a best element
(with regard to some criteria) from some set of available alternatives. In the simplest case,
an optimization problem consists of maximizing or minimizing a real function by systematic-
ally choosing input values from within an allowed set and computing the value of the function.
The generalization of optimization theory and techniques to other formulations comprises a
large area of applied mathematics. More generally, optimization includes finding ‘best avail-
able’ values of some objective function given a defined domain, including a variety of different
types of objective function and different types of domain.
Click the Microsoft Office Button , and then click Excel Options.
Click Add-Ins, and then in the Manage box, select Excel Add-ins.
Click Go.
In the Add-Ins available box, select the Solver Add-in check box, and then click OK.
If you get prompted that the Solver Add-in is not currently installed on your computer, click
Yes to install it.
After you load the Solver Add-in, the Solver command is available in the Analysis group on the
Data tab.
In Figure A.1, cell $N$3 is specified as the target cell, and that is the cell where the sum of
squared errors is located. Notice that the Min button is selected to specify that the target cell
value is to be minimized.
The Changing Cells are specified as k and Resistance. Note here the use of meaningful
Excel cell labeling. Any cell can be given a convenient name, which is especially helpful when
programming numerous equations. Figure A.2 shows how to change cell names.
Figure A.1 Solver dialog box for a thermal response test analysis