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.

Para acceder a esta orden…

Vaya a Herramientas ▸ Solver.


Solver settings

note

The dialog settings are retained until you close the current document.


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

Especifique el intervalo de celdas que se pueden modificar. Estas son las variables de las ecuaciones.

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.


Opciones

Abre el cuadro de diálogo Opciones de Solver.

El cuadro de diálogo Opciones de Solver le permite seleccionar diferentes algoritmos para resolver problemas lineales y no lineales y establecer los parámetros de resolución.

Resolver

Pulse para resolver el problema con las configuraciones actuales. Estas se conservarán hasta el momento que cierre el documento actual.

Para resolver ecuaciones con Solver

El objetivo del proceso del Solver es encontrar aquellos valores variables de una ecuación que resulten en un valor optimizado en la celda de destino u «objetivo». Puede elegir si el valor en la celda de destino debe ser un máximo, un mínimo o una aproximación a un valor determinado.

Los valores iniciales de la variable se insertan en un intervalo de celdas rectangular que especifique en el cuadro Cambiando las celdas.

Puede definir una serie de condiciones limitantes que pongan restricciones a algunas celdas. Por ejemplo, puede establecer que una variable o celda no deba ser mayor que otra, o que no supere un valor determinado. También es posible establecer que una o más variables deban ser enteras (valores sin decimales) o binarias (donde solo se permiten 0 y 1).

Uso de solucionadores no lineales

Independientemente de si utiliza DEPS o SCO, comience yendo a Herramientas ▸ Solver e indique la celda que se debe optimizar, la dirección de avance (minimización, maximización) y las celdas que se deben modificar para alcanzar el objetivo. Luego vaya a las Opciones, especifique el tipo de Solver que se usará y, finalmente, ajuste los parámetros, si fuera necesario.

There is also a list of constraints you can use to restrict the possible range of solutions or to penalize certain conditions. However, in case of the evolutionary solvers DEPS and SCO, these constraints are also used to specify bounds on the variables of the problem. Due to the random nature of the algorithms, it is highly recommended to do so and give upper (and in case "Assume Non-Negative Variables" is turned off also lower) bounds for all variables. They don't have to be near the actual solution (which is probably unknown) but should give a rough indication of the expected size (0 ≤ var ≤ 1 or maybe -1000000 ≤ var ≤ 1000000).

Bounds are specified by selecting one or more variables (as range) on the left side and entering a numerical value (not a cell or a formula) on the right side. That way you can also choose one or more variables to be Integer or Binary only.