[FlopCpp] track the coefficient

Michael Chen vancouver.michael at gmail.com
Sun Jan 25 10:28:54 EST 2009


Dear there,

The API provides means to track the constraint and variable index in the
generated osi model, variable.get_Column() and constraint.rownumber(). I am
wondering how to track the coefficient index in the generated osi model? It
seems that MP_data class doesn't provide this method.

however I realized that this is indeed ambiguous. Say a user may write a
variable at both side of a constraint, i.e.,

 coef1 * x1 >= coef2 * x1

FlopCpp will probably generate
(coef1 - coef2) * x1 >= 0

however my question should be clear: I want to establish the correspondence
between the user model written in FlopCpp, and the generated osi model. And
the last missing piece seems to be the method for MP_data. Any suggestion?


-- 
Best regards,
Michael Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/flopcpp/attachments/20090125/10950078/attachment.html 


More information about the FlopCpp mailing list