Originally posted by: SystemAdmin
Hello.
LineIterator classes (i.e. IloCsvReader::LineIterator and IloCsvTableReader::LineIterator) do not support going back. However to access the lines in non-sequential order you can use functions getLineByNumber and getLineByKey on classes IloCsvReader and IloCsvTableReader. Note that in this case it is better to create the reader as cached, see parameter isCached in constructor of IloCsvReader.
Best regards, Petr
#CPOptimizer#DecisionOptimization