Decision variables tab

The Decision Variables tab represents the unknown information in an optimization problem. It has a domain, which is a compact representation of the set of all possible values for the variable.

Decision variable types are references to objects whose exact nature depends on the underlying optimizer of a model. This can also be declared in the data grid using the columns and the lists.

Component Required Data type Description
Name Yes String Label the decision variable as required for identification purposes.
Variable Yes String Declare the decision variable to use in writing the constraints or objective function.
Dimension Yes Integer This value must always be less than or equal to the number of variables declared on the Sets/Indices & Constant tab.

Specify 0 if nothing needs to be declared.

Index Yes String Specify only those variables that are declared under the Sets/Indices & Constant tab.

Leave this blank for 0 value.

Domain Yes Dropdown Select the domain for the model. For example, to capture cost related components, you want to assign Reals.