[Osi] does setInteger() distinguish between Binary and general Integer?

Michael Chen vancouver.michael at gmail.com
Fri Jul 17 17:11:49 EDT 2009


Dear there,

I am using OsiCbcSolverInterface, and want to set certain variables to
Binary and others to general Integer. however I can only see the method

setInteger(int index);

however the method

getColType();

does distinguish them:

    /**  Return array of column length
         0 - continuous
         1 - binary (may get fixed to 0 or 1 later)
         2 - general integer (may get fixed later)
    */
    virtual const char * getColType(bool refresh=false) const;



-- 
Best regards,
Michael Chen
Google Voice Phone.: 847-448-0647
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/osi/attachments/20090717/06ac3b33/attachment.html>


More information about the Osi mailing list