# Lahendaja

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.

Selle kĂ¤su kasutamiseks...

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

### Piirangutingimused

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.

### Options

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.

## VĂµrrandite lahendamiseks lahendaja abil

Lahendajaprotsessi siht on leida vĂµrrandi need muutujavĂ¤Ă¤rtused, mis annavad sihtlahtris tulemuseks optimeeritud vĂ¤Ă¤rtuse ehk eesmĂ¤rgi. Saad ise valida, kas sihtlahtrisse sisestatav vĂ¤Ă¤rtus peaks olema maksimum, miinimum vĂµi mĂµnele mĂ¤Ă¤ratud vĂ¤Ă¤rtusele lĂ¤henev vĂ¤Ă¤rtus.

Muutujate algvĂ¤Ă¤rtused sisestatakse ristkĂĽlikukujulisse lahtrivahemikku, mille saab sisestada vĂ¤ljale Lahtrite muutmisel.

SeejĂ¤rel saad mĂ¤Ă¤rata piiravate tingimuste jada, mis mĂ¤Ă¤ravad mĂµne lahtri jaoks piirangud. NĂ¤iteks saab mĂ¤Ă¤rata piirangu, et ĂĽhe muutuja vĂµi lahtri vĂ¤Ă¤rtus ei tohi olla suurem teise muutuja vĂ¤Ă¤rtusest vĂµi mĂµnest muust mĂ¤Ă¤ratud vĂ¤Ă¤rtusest. Samuti saab mĂ¤Ă¤rata piirangu, et mĂµni muutuja peab olema tĂ¤isarv (komakohtadeta vĂ¤Ă¤rtus) vĂµi kahendvĂ¤Ă¤rtus (lubatud on ainult 0 ja 1).

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

On ka nimekiri piirangutest, mida saab kasutada, et kitsendada erinevate lahenduste vĂµimalikku vahemikku vĂµi muuta teatud tingimused karistatavaks. Evolutsiooniliste lahendajate DEPS-i ja SCO puhul kasutatakse neid piiranguid ka probleemi muutujatele piiride mĂ¤Ă¤ramiseks. Algoritmide juhusliku loomuse tĂµttu on vĂ¤ga soovitatav anda kĂµigi muutujate jaoks ĂĽlemised (ja kui "Mittenegatiivsete muutujate eeldamine" on vĂ¤lja lĂĽlitatud, siis ka alumised) piirid. Need ei pea olema lĂ¤hedal tegelikule lahendusele (mis on ilmselt teadmata), kuid peaksid andma ligikaudse eeldatava suuruse (0 â‰¤ var â‰¤ 1 vĂµi ehk -1000000 â‰¤ var â‰¤ 1000000).

Piiride mĂ¤Ă¤ramiseks vali vasakul pool vĂ¤hemalt ĂĽks muutuja (vahemikuna) ja sisesta paremale poole arvvĂ¤Ă¤rtus (mitte lahter vĂµi valem). Sel viisil saab mĂµne muutuja ka ainult tĂ¤isarvuks vĂµi kahendarvuks mĂ¤Ă¤rata.

Palun toeta meid!