Solver

Opens the Solver dialog. A solver allows you to solve mathematical problems with multiple unknown variables and a set of constraints on the variables by goal-seeking methods.

To access this command...

From the menu bar:

Choose Tools - Solver.

From the tabbed interface:

Choose Tools - Solver.

On the Tools menu of the Tools tab, choose Solver.

From toolbars:

Icon Solver

Solver


Solver settings

Target Cell

Enter or click the cell reference of the target cell. This field takes the address of the cell whose value is to be optimized.

Optimize results to

By Changing Cells

Enter the cell range that can be changed. These are the variables of the equations.

Limiting Conditions

Add the set of constraints for the mathematical problem. Each constraint is represented by a cell reference (a variable), an operator, and a value.

note

You can set multiple conditions for a variable. For example, a variable in cell A1 that must be an integer less than 10. In that case, set two limiting conditions for A1.


เบ•เบปเบงเป€เบฅเบทเบญเบ

Opens the Solver Options dialog.

The Solver Options dialog let you select the different solver algorithms for either linear and non-linear problems and set their solving parameters.

Solve

Click to solve the problem with the current settings. The dialog settings are retained until you close the current document.

To solve equations with the solver

The goal of the solver process is to find those variable values of an equation that result in an optimized value in the target cell, also named the "objective". You can choose whether the value in the target cell should be a maximum, a minimum, or approaching a given value.

The initial variable values are inserted in a rectangular cell range that you enter in the By changing cells box.

You can define a series of limiting conditions that set constraints for some cells. For example, you can set the constraint that one of the variables or cells must not be bigger than another variable, or not bigger than a given value. You can also define the constraint that one or more variables must be integers (values without decimals), or binary values (where only 0 and 1 are allowed).

Using Non-Linear solvers

Regardless whether you use DEPS or SCO, you start by going to Tools - Solver and set the Cell to be optimized, the direction to go (minimization, maximization) and the cells to be modified to reach the goal. Then you go to the Options and specify the solver to be used and if necessary adjust the according parameters.

เบ™เบญเบเบˆเบฒเบเบ™เบตเป‰เบเบฑเบ‡เบกเบตเบฅเบฒเบเบเบฒเบ™เบ‚เปเป‰เบˆเบณเบเบฑเบ” เบ—เบตเปˆเบ—เปˆเบฒเบ™เบชเบฒเบกเบฒเบ”เปƒเบŠเป‰เป€เบžเบทเปˆเบญ เบˆเบณเบเบฑเบ”เบŠเปˆเบงเบ‡เบ‚เบญเบ‡ เบงเบดเบ—เบตเบเบฒเบ™เปเบเป‰เป„เบ‚เบšเบฑเบ™เบซเบฒเบ—เบตเปˆเป€เบ›เบฑเบ™เป„เบ›เป„เบ”เป‰ เบซเบผเบท เปเบเป‰เป„เบ‚เป€เบ‡เบทเปˆเบญเบ™เป„เบ‚เบšเบฒเบ‡เบขเปˆเบฒเบ‡. เป€เบ–เบดเบ‡เบขเปˆเบฒเบ‡เปƒเบ”เบเปเบ•เบฒเบก, เปƒเบ™เบเปเบฅเบฐเบ™เบตเบ‚เบญเบ‡เบ•เบปเบงเปเบเป‰เป„เบ‚ เบงเบดเบงเบฑเบ”เบ—เบฐเบ™เบฒเบเบฒเบ™ DEPS เปเบฅเบฐ SCO, เบ‚เปเป‰เบˆเบณเบเบฑเบ”เป€เบซเบผเบปเปˆเบฒเบ™เบตเป‰เบˆเบฐเบ–เบทเบเปƒเบŠเป‰เป€เบžเบทเปˆเบญเบฅเบฐเบšเบธเบ‚เบญเบšเป€เบ‚เบ”เบ‚เบญเบ‡เบ•เบปเบงเบ›เปˆเบฝเบ™เบ‚เบญเบ‡เบšเบฑเบ™เบซเบฒ. เป€เบ™เบทเปˆเบญเบ‡เบˆเบฒเบเบฅเบฑเบเบชเบฐเบ™เบฐเปเบšเบšเบชเบธเปˆเบกเบ‚เบญเบ‡ algorithms, เบกเบฑเบ™เปเบกเปˆเบ™ เบ‚เปเปเบ™เบฐเบ™เบณ เปƒเบ™เบเบฒเบ™เบ”เบณเป€เบ™เบตเบ™เบเบฒเบ™เบ”เบฑเปˆเบ‡เบเปˆเบฒเบง เปเบฅเบฐ เปƒเบซเป‰เบชเปˆเบงเบ™เป€เบ—เบดเบ‡ (เปเบฅเบฐเปƒเบ™เบเปเบฅเบฐเบ™เบตเบ—เบตเปˆ "เบชเบปเบกเปเบธเบ”เบงเปˆเบฒเบ•เบปเบงเบ›เปˆเบฝเบ™เบ—เบตเปˆเบšเปเปˆเปเบกเปˆเบ™เบ„เปˆเบฒเบฅเบปเบš" เบˆเบฐเบ–เบทเบเบ›เบดเบ”เบเบฒเบ™เปƒเบŠเป‰เบ‡เบฒเบ™เปƒเบซเป‰เบ•เปเปˆเบฒเบฅเบปเบ‡) เบชเบณเบฅเบฑเบšเบ•เบปเบงเบ›เปˆเบฝเบ™เบ—เบฑเบ‡เปเบปเบ”. เบžเบงเบเป€เบ‚เบปเบฒเบšเปเปˆเบˆเบณเป€เบ›เบฑเบ™เบ•เป‰เบญเบ‡เบขเบนเปˆเปƒเบเป‰เบเบฑเบšเบงเบดเบ—เบตเบเบฒเบ™เปเบเป‰เป„เบ‚เบšเบฑเบ™เบซเบฒเบ•เบปเบงเบˆเบดเบ‡ (เป€เบŠเบดเปˆเบ‡เบญเบฒเบ”เบˆเบฐเบšเปเปˆเบฎเบนเป‰เบˆเบฑเบ) เปเบ•เปˆเบ„เบงเบ™เปƒเบซเป‰เบ„เปˆเบฒเบ›เบฐเบกเบฒเบ™เบ‚เบญเบ‡เบ‚เบฐเปœเบฒเบ”เบ—เบตเปˆเบ„เบฒเบ”เป„เบงเป‰ (0 โ‰ค var โ‰ค 1 เบซเบผเบทเบญเบฒเบ”เบˆเบฐเป€เบ—เบปเปˆเบฒเบเบฑเบš -1000000 โ‰ค var โ‰ค 1000000).

เบ‚เบญเบšเป€เบ‚เบ”เบˆเบฐเบฅเบฐเบšเบธเป‚เบ”เบเบเบฒเบ™เป€เบฅเบทเบญเบเบ•เบปเบงเบ›เปˆเบฝเบ™เบขเปˆเบฒเบ‡เปœเป‰เบญเบเปœเบทเปˆเบ‡เบฅเบฒเบเบเบฒเบ™ (เป€เบ›เบฑเบ™เบŠเปˆเบงเบ‡) เบ—เบฒเบ‡เบ”เป‰เบฒเบ™เบŠเป‰เบฒเบ เปเบฅเบฐ เบ›เป‰เบญเบ™เบ„เปˆเบฒเป€เบ›เบฑเบ™เบ•เบปเบงเป€เบฅเบ (เบšเปเปˆเปเบกเปˆเบ™เป€เบŠเบง เบซเบผเบท เบชเบนเบ”เบ„เบดเบ”เป„เบฅเปˆ) เบ—เบฒเบ‡เบ”เป‰เบฒเบ™เบ‚เบงเบฒ. เบ”เป‰เบงเบเบงเบดเบ—เบตเบ™เบตเป‰เบ—เปˆเบฒเบ™เบเบฑเบ‡เบชเบฒเบกเบฒเบ”เป€เบฅเบทเบญเบเบ•เบปเบงเบ›เปˆเบฝเบ™เบขเปˆเบฒเบ‡เปœเป‰เบญเบเปœเบทเปˆเบ‡เบฅเบฒเบเบเบฒเบ™เป€เบ›เบฑเบ™ Integer เบซเบผเบท Binary เป€เบ—เบปเปˆเบฒเบ™เบฑเป‰เบ™.

Please support us!