[Coin-discuss] OsiClp bug
Ingo Walther
walther at in.tum.de
Fri Nov 19 02:40:46 EST 2004
In OsiClpSolverInterface::setColSetBounds() the error checking code
appears to have a bug:
1862 const int * indexFirst2=indexFirst;
1863 while (indexFirst2 != indexLast) {
1864 const int iColumn=*indexFirst++;
^^^^^^^^^^^^^
1865 if (iColumn<0||iColumn>=n) {
1866 indexError(iColumn,"setColSetBounds");
1867 }
1868 }
The marked expression should read "*indexFirst2++".
Same issue in OsiClpSolverInterface::setRowSetBounds(), line 1941.
Ingo
More information about the Coin-discuss
mailing list