Solver

From LibreOffice Help
Jump to: navigation, search

Opens the Solver dialog. A solver allows you to solve equations with multiple unknown variables by goal-seeking methods.

Choose Tools - Solver

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

Note.png The default solver engine supports only linear equations.