ContentsIndexHome
PreviousUpNext
IIterator.reset Method

Re initializes the iterator: Moves the current position to before the beginning of the data; a subsequent next call will find the first non-default position. If the iterator was in an erroneous state, the reset method will also reset the state to normal.  

 

C#
void reset();

When data changes of the corresponding identifier are send to AIMMS, an open IIterator is invalidated. Iterating is then only possible after reset is called. This includes data changes outside the slice for which the IIterator is created, in case of a restricted iterator. 

More information on when data changes are send to AIMMS can be found in the topic on Optimizing performance.