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

In the drop-down menu select the object that will be used as a data consumer.

  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.

  2. Select controlling variable dimensions. To select a dimension, select its checkbox. All the other dimensions will be used for iterative solution of optimization problem. To transform the controlling variable dimension into a standard dimension, deselect its checkbox.

  3. To execute calculations only by elements, set up filtering by elements. To do this, hover the cursor on the required dimension in the list and click the Set Up Filtering button next to it. The Filtering Setup dialog box opens, in which determine data consumer dimension filtering settings.

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 Filtering Setup dialog box:

Setup order:

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

To calculate a block by all elements, except for the selected ones, select the Exclude Selected Elements checkbox.

  1. Add advanced filtering conditions if required. Element attributes will correspond to the specified conditions during block calculation. Working with a group of condition parameters is identical to working with the Advanced Filter dialog box.

  2. Click the Apply button.

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

See also:

Inserting and Setting Up Linear Optimization Blocks