[Clp] Performance Issue with CoinPackedMatrix

John Forrest john.forrest at fastercoin.com
Thu Mar 12 09:24:46 EDT 2015


Alexander,

It might be clearer if they were labeled columnStart and row - so if 
column 0 has entries in rows 0,1 and column 1 has entries in rows 0,2,3 
- start[0..2] would be 0,2,5 and index[0..5] 0,1,0,2,3

If an entry like collb is NULL then taken as all 0.0 etc.


John Forrest
On 12/03/15 13:15, alexander wrote:
> John,
>
> Thank you very much for your fast response.
>
> In the meantime I implemented a version where I use the constructor
> creating a packed matrix from triples which is already 10 times faster
> than using modifyCoefficient:
>
> http://paste.debian.net/160918/
>
> I'd like to test using ClpSimplex::loadProblem to set up the problem
> without ever creating a CoinPackedMatrix myself, but I don't understand
> what the "const CoinBigIndex* start" and "const int* index" should be.
>
> Alexander Brock
>
>
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp
>
>



More information about the Clp mailing list