[Cbc] Question about number of values when loading a problem

Jack Vreeken jack at vreeken.me
Sat Aug 17 16:30:12 EDT 2019


It can figure out the length because "start" argument is of length numcols+1. The length of the last column is then `start[numcols]-start[numcols-1]`. See also 


On Sat, Aug 17, 2019, at 8:35 PM, Daniel Grace wrote:
> Hi,
> 
> What I mean is: how does Cbc_loadProblem tell how many values there are in the constraint matrix? The reason I ask this is because I would like to resolve problems with additional constraints, so I would like to use the same arrays over and over i.e. appending the new constraints appropriately.
> 
> Thanks
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/cbc
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20190817/890357f9/attachment.html>


More information about the Cbc mailing list