Helpo de LibreOffice 25.2
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.
Enter or click the cell reference of the target cell. This field takes the address of the cell whose value is to be optimized.
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.
Enter the cell range that can be changed. These are the variables of the equations.
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.
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.
Click to solve the problem with the current settings. The dialog settings are retained until you close the current document.
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).
Regardless whether you use DEPS or SCO, you start by going to parameters.
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 accordingEkzistas ankaŭ listo de restriktoj kiujn vi povas uzi por restrikti la eblan amplekson de solvoj aŭ por malavantaĝi al specifaj kondiĉoj. Tamen, en la kazo de la evoluaj solviloj DEPS kaj SCO, tiuj restriktoj ankaŭ uzeblas por agordi limesojn de la variabloj de la problemo. Pro la hazarda karaktero de la algoritmoj, ni forte rekomendas fari tion kaj agordi supran (kaj en la kazo ke "Supozi nenegativajn variablojn" estas elŝaltita, ankaŭ malsupran) limesojn por ĉiuj variabloj. Ne necesas ke ili estu proksimaj al la vera solvo (kiu eble estas nekonata) sed devus doni proksimuman indikon de la atendata grando (0 ≤ var ≤ 1 aŭ eble -1000000 ≤ var ≤ 1000000).
Oni agordas limesojn elektante unu aŭ pliajn variablojn (kiel amplekson) ĉe la maldekstra flanko kaj enigante numeran valoron (ne ĉelon aŭ formulon) ĉe la dekstra flanko. Tiel vi povas ankaŭ elekti unu aŭ pliajn variablojn esti nur entjeraj aŭ duumaj.