[Cbc] CBC: gamstest
Stefan Vigerske
stefan at math.hu-berlin.de
Wed Nov 9 09:27:05 EST 2011
Hi,
> On 9/11/2011 3:43 μμ, Stefan Vigerske wrote:
>> start[i] gives the position in the index and value arrays where the
>> entries for the i'th column start.
> thank you very much!
> one more question: why the size of start is "columns + 1"?
start[ncols] is the number of nonzeros
So you can find elements for column i at positions
start[i] .. start[i+1]-1
for all i < ncols, no need to distinguish for i=ncols-1.
Stefan
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Cbc
mailing list