Object that allows to conveniently represent an AIMMS tuple. Use the ITuple class when performance is an issue.
Convenience tuples can be created using the constructor.
The Tuple class was added to the SDK as an alternative for the ITuple interface. The Tuple class makes it easy to work with labels (both string and integer) on IMultiDimData and IDataView, as can be seen in the example below.
// Set the value using the Tuple class... data.setValue(new Tuple("London", "Paris"), 23.7); // ... doing the same using the ITuple class ITuple tup = data.createTuple(); tup[0].Label = "London"; tup[1].Label = "Paris"; data.setValue(tup, 23.7);
Name |
Description |
The following tables list the members exposed by Tuple. |