Conteníu

# 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.

P'aportar a esta orde...

#### Dende la barra de menús:

Choose Tools - Solver.

#### Dende la interfaz con llingüetes:

Choose Tools - Solver.

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

#### Dende les barres de ferramientes:

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

- Maximum: Try to solve the equation for a maximum value of the target cell.

- Minimum: Try to solve the equation for a minimum value of the target cell.

- Value of: Try to solve the equation to approach a given value of the target cell.

  Enter the value or a cell reference in the text field.

### 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.

- Cell reference: Enter a cell reference of the variable.

  Click the Shrink button to shrink or restore the dialog. You can click or select cells in the sheet. You can enter a cell reference manually in the input box.

- Operator: Select an operator from the list. Use Binary operator to restrict your variable to 0 or 1. Use the Integer operator to restrict your variable to take only integer values (no decimal part).

- Value: Enter a value or a cell reference. This field is ignored when the operator is Binary or Integer.

- Remove button: Click to remove the row from the list. Any rows from below this row move up.

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.

### Opciones

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.

## Pa resolver ecuaciones con solver

L'oxetivu del procesu solucionador ye atopar estos valores variables d'una ecuación que la resultancia nun valor optimizáu na caxella oxetivu. Usté pue escoyer si'l valor na caxella oxetivu ten de ser el máximu, mínimu, o averase a un determináu valor.

Los valores iniciales de la variable son inxertaos nun rangu de la caxella rectangular que la to tecleas (amiestes) en pa camudar caxelles caxa.

Pue definir una serie de condiciones limitantes pa definir llindar de delles caxelles. Por exemplu, pues definir les limitantes d'una variable o caxella que nun tenga de ser mas qu'otra variable, o nun seya mas qu'un valor dáu. Pues tambien definir les limitantes qu'una o mas variables tien de ser enteros (valores ensin decimales), o valores binarios (onde solo 0 y 1 son dexaos).

## 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.

Tamién hai una llista de restricciones que se puen utilizar pa llendar l'intervalu de soluciones posibles o pa penalizar ciertes condiciones. Sicasí, nel casu de los solvers evolutivos DEPS y SCO, eses restricciones tamién s'usen pa conseñar llendes nes variables del problema. Darréu de la naturaleza al debalu de los algoritmos, ye enforma recomendable facelo y marcar llendes superiores a les variables (y tamién inferiores nel casu de que «Asumir variables non negatives» tea desactivao). Nun tienen por qué tar cerca de la solución real (que probablemente ye desconocida) pero tendría de dar una aproximación al tamañu esperáu (0 ≤ var ≤ 1 o seique -1000000 ≤ var ≤ 1000000).

Les llendes conséñense seleicionando una o más variables (como intervalu) nel llau izquierdu y escribiendo un valor numbéricu (non una caxella nin una fórmula) nel llau drechu. D'esa manera, tamién se pue escoyer qu'una o más variables seyan Enteros o Binarios namái.

Temes rellacionaos

Solver Options

Solver Algorithms Options

Wiki page on solvers and their algorithms