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.

כדי לגשת לפקודה הזאת…

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, מגבלות אלו משמשות גם כדי להגדיר את גבולות המשתנים של הבעיה. עקב טבעם של האלגוריתמים, מומלץ בחום לעשות כך ולתת גבול עליון (ובמקרה שבו „הנחה כי המשתנים אי־שליליים“ כבוי הוא גם נמוך יותר) לכל המשתנים. הם אינם חייבים להיות בסמוך לפתרון הממשי (שהוא כפי הנראה בלתי ידוע) אך עליו להעניק הערכה גסה של הגודל הצפוי (0 ≥ משתנה ≥ 1 או אולי ‎-1000000 ≥ משתנה ≥ 1000000).

ניתן להגדיר גבולות על ידי בחירה של משתנה אחד או יותר (כטווח) מימין והזנת הערך המספרי (לא תא או נוסחה) משמאל. באופן הבא ניתן גם לבחור משתנה אחד או יותר שיהיה מספר שלם וחיובי בלבד או בינרי בלבד.

Please support us!