[Clp] get row/constraint coefficients

Akhil langer akhilanger at gmail.com
Tue Apr 24 15:53:25 EDT 2012


Hi All,

I read a lp model in mps format model using the readMps command. Then some
constraints are added and deleted during the program run
What methods can I use to obtain coefficients of the constraints present in
the model.  I am finding it difficult to understand the ClpMatrixBase class.
Is there a straight forward way to do so.
something like,

double* getRowCoefficients(int rowIdx)

or else, if someone can tell how to use the ClpMatrixBase class to obtain
the coefficients

Thanks,
Akhil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20120424/7af37563/attachment.html>


More information about the Clp mailing list