Supported Types
Not all Python types are supported by Xpress Insight.
The table below describes which Python types are supported and how they map to
Xpress Insight types.
Python Type | Insight Entity Type |
Python bool | boolean |
Python int | integer |
Python float | real |
Python str | string |
Pandas Index | set |
Pandas Series | array |
Pandas DataFrame | Collection of array with a common index |
Classes, dict, list, tuple | Unsupported |
User-defined types | Unsupported |
xpress.constraint | constraint |
xpress.problem | Unsupported |
xpress.var | decision_variable |
![]() |
Note
Xpress Insight does not support nested types.
Xpress Insight does not support nested types. Where a type is otherwise unsupported (such as
nlctr), it can still be used in a model. Unsupported types cannot be declared as entities, because they are ignored by Xpress Insight and are not captured as input or results data.
|
![]() |
Note Variables declared locally within a procedure or function are not visible to
Xpress Insight.
|