To work with the tool in Foresight Analytics Platform 10, use the new interface.
Parameters enable the user to dynamically control block calculation. They can be used to limit the number of calculated elements on criterion function setup.
Parameters of linear optimization block can be added on the Block Parameters page in the linear optimization block editing wizard:
A parameter can be set up in the Object Parameter Properties dialog box:
Specify:
Name. A parameter name should be meaningful and explain parameter functionality. The property is mandatory.
Identifier. A parameter identifier should be unique. An identifier should consist of Latin letters. It may contain numbers and underscore characters, and must start with a letter. The property is mandatory.
Parameter Type. Select parameter type:
Selection. It is used by default. Dictionary selection is used as a parameter value.
Hierarchy. Dictionary alternative hierarchy is used as a parameter value.
String. A character string is used as a parameter value.
Integer. An integer number is used as parameter value.
Real. A real number is used as a parameter value.
Date. A date is used as a parameter value.
NOTE. Parameter type can be changed only on creating a parameter.
Source. If required, select the cube containing controlling dimensions that control elements of other dimensions in this cube.
NOTE. After selecting the cube the Dictionary drop-down list will contain only the dictionaries included in the selected cube.
If the dictionary is not displayed in the controlling dimensions list but is included in the cube, dictionary selection or alternative hierarchy is used as parameters values. This dictionary can be selected in the Dictionary drop-down list without specifying the cube in the Source drop-down list.
If the dictionary is displayed in the controlling dimensions list and is a controlled or controlling or controlled and controlling at the same time, add all cube controlling dimensions as calculation algorithm parameters and set selection by the controlling dimension to display dictionary elements selection in the parameter.
Dictionary. Select the dictionary, to which the parameter is linked. Dictionary selection or alternative hierarchy will be used as parameter values. The property is mandatory.
NOTE. If a cube is selected in the Source drop-down list, the Dictionary drop-down list displays only the dictionaries contained in the selected cube.
Default Value. Select the default parameter value in the drop-down list or enter it by means of keyboard.
If a calculation algorithm is located in a container or business application, repository objects that can be selected in the Source and the Dictionary drop-down lists will depend on the state of the Use Repository Objects checkbox. The checkbox is deselected by default, and the drop-down lists display only the repository objects contained in the corresponding corresponding container or business application. To use any repository objects, click the Use Repository Objects checkbox on the Basic properties page.
See also:
Getting Started wit the Calculation Algorithms Extension in the Web Application | Inserting and Setting Up Linear Optimization Blocks