[Coin-discuss] ClpModel, optimize for delayed constraint generation

Sebastian Nowozin nowozin at gmail.com
Tue Oct 14 12:29:20 EDT 2008


Thanks John!

Using your advice its down from ~80s for ~60k inequalities to merely
0.2s.  Quite a speedup.

Sebastian

John J Forrest wrote:

> I keep meaning to get back to making such things more efficient, but ...
> [...]
> You could set up reasonable sized arrays and then trigger an addRows
> earlier if you are generating too many violated constraints, or if
> finding the violated inequalities is fast then just count, reserve, fill
> and addRows.



More information about the Coin-discuss mailing list