<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>I think I pressed some random shortcut sending the email a tad too soon. What<br></div><div>I meant to say is:<br></div><div><br></div><div>It can figure out the length because "start" argument is of length numcols+1.<br></div><div>The length of the last column is then start[numcols]-start[numcols-1].<br></div><div><br></div><div>See also:<br></div><div><br></div><div><a href="https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_column_(CSC_or_CCS)">https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_column_(CSC_or_CCS)</a><br></div><div><a href="https://www.coin-or.org/Doxygen/Cbc/classOsiSolverInterface.html#aa90be801bc88d0fc67b7d343ea62f84c">https://www.coin-or.org/Doxygen/Cbc/classOsiSolverInterface.html#aa90be801bc88d0fc67b7d343ea62f84c</a><br></div><div><br></div><div>On Sat, Aug 17, 2019, at 8:35 PM, Daniel Grace wrote:<br></div><blockquote type="cite" id="qt"><div dir="ltr"><div style="font-family:arial, helvetica, sans-serif;" class="qt-gmail_default">Hi,<br></div><div style="font-family:arial, helvetica, sans-serif;" class="qt-gmail_default"><br></div><div style="font-family:arial, helvetica, sans-serif;" class="qt-gmail_default">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.<br></div><div style="font-family:arial, helvetica, sans-serif;" class="qt-gmail_default"><br></div><div style="font-family:arial, helvetica, sans-serif;" class="qt-gmail_default">Thanks<br></div></div><div>_______________________________________________<br></div><div>Cbc mailing list<br></div><div>Cbc@list.coin-or.org<br></div><div>https://list.coin-or.org/mailman/listinfo/cbc<br></div><div><br></div></blockquote><div><br></div></body></html>