[Coin-lpsolver] bug
Bozhena Bidyuk
bbidyuk at dcse.com
Tue Mar 15 17:55:24 EST 2005
John,
I have come across a bug that has caused major memory problems for me.
Could you please fix for future releases?
Location: ClpNonLinearCost.hpp
In lines 83-84
if (lower[iSequence]>-1.0e20)
put++;
if (upper[iSequence]<1.0e20)
put++;
put is incremented based on bounds 1.0e20 and -1.0e20.
Then arrays are allocated based on precomputed size put:
lower_ = new double [put];
cost_ = new double [put];
But then inline 101:
More information about the Clp
mailing list