Linked Objects

Linked Objects

This demo illustrates data objects in the graphical user interface can be linked together through the use scalar element parameters.

The current value of an index associated with particular (multidimensional) data displayed in an object, can be automatically assigned to a scalar element parameter by specifying a Forward Link in the Contents tab of the object's Properties dialog box. A Forward Link is indicated by an arrow '->'.

Whenever a Forward Link has been specified, AIMMS will automatically update the value of the element parameter whenever the focus within the object moves to another value of the associated index. By displaying data that is sliced over this the element parameter in other objects, the data in such objects will by automatically updated as soon as the value of the element parameter has changed because of a different selected value in the original object. Thus, you have effectively created a link between objects.

You can examine how the linkage between various objects on the Example Page is accomplished by observing the Contents tab of the Properties dialog boxes of the respective objects.

Keywords

Linking objects, network object. 

Download

A zip file with this example can be downloaded here.