Xpress Insight captures extra information alongside the basic contents of the entities it is managing.
This data is made available as extra dimensions to the original data. The JavaScript functions for getting and setting the data values accept a dimension parameter to indicate that the action should be performed on an extra dimension of the data.
Normal Dimension
The dimension parameter defaults to 0, which indicates the normal data dimension. The following table shows what data is captured as the normal dimension for each type of data managed by Xpress Insight.
Entity Type |
Normal Data |
model |
Objective value |
primitive type |
Primitive value |
mpvar |
Solution value |
linctr |
Constraint activity |
Extra Dimensions for Model Entity
Dimension Value |
Extra Data |
101 |
Run time |
102 |
Gap |
103 |
Number of solutions |
104 |
Problem status |
Extra Dimensions for Decision Variable (linctr) Entities
Dimension Value |
Extra Data |
1 |
Disable (is constraint disabled) |
2 |
Relax (was constraint relaxed) |
52 |
Violation |
54 |
RHS |
55 |
Type |
56 |
Dual value |
Extra Dimensions for Decision Variable (mpvar) Entities
Dimension Value |
Extra Data |
81 |
Reduced cost |
82 |
Type |