Setting Up Criterion Function

Criterion function is the function, for which controlling variables must be selected so that the criterion function takes the minimum or maximum value.

The purpose of criterion function, controlling variables and the data consumer, to which optimization results are loaded, are selected on the Criterion Function page in the linear optimization block editing wizard:

To create a criterion function:

  1. Select criterion function optimization purpose in the Criterion Function Criterion, f(x) box:

  2. Select the data consumer, to which block calculation results are loaded. It is assumed that all controlling variables in linear optimization block are based on data consumer dimensions. Therefore, the selected data consumer must contain the dimensions that enables the user to create a full set of controlling variables. If a dimension is used as a controlling variable, it is named a controlling variable dimension.
    To select a data source, use the drop-down list located below the box for selecting criterion function optimization purpose.

  3. Select controlling variable dimensions. To select a dimension, select its checkbox or select it in the list and click the Add to Criterion Function button. All the other dimensions are used for iterative solution of optimization problem.
    To transform the controlling variable dimension into a normal dimension, deselect the checkbox or select the dimension in the list and click the Exclude from Criterion Function button.

  4. To execute calculations only by elements, set up filtering by elements. To do this, select the dimension in the list and:

The Set Up Filtering dialog box opens, in which determine data consumer dimension filtering settings.

  1. IF all controlling variables are integer, select the Integer Variables checkbox. As a result, an linear optimization integer problem is solved. This problem is applied if controlling variables are atomic. For example, integer controlling variable is the number of cars in a transportation company. A car cannot be divided into two halves that is why it is atomic.

As a result, a criterion function is set up.

To view the criterion function, click the Show Function External View button.

Setting Up Data Consumer Dimension Filtering

Filtering enables the user to calculate only dimension elements.

To select dimension elements, by which a block should be calculated, use the Set Up Filtering dialog box:

Setup order:

  1. Select elements, by which a block should be calculated. Select one of the radio buttons:

If it is required that a block is calculated by all the elements except for the selected ones, select the Exclude Selected Elements checkbox.

  1. To set the conditions, with which element attributes must satisfy on block calculation, use the Advanced Filter group of parameters. Working with this group of parameters is similar to working with the Advanced Filter dialog box.

After executing the operations the block is calculated only by the elements corresponding to the filter.

See also:

Inserting and Setting Up Linear Optimization Blocks