Closed zhouxinsheng closed 2 weeks ago
Indeed, we've not added Highs::getColIntegrality
to highspy
The best you can do at the moment is use getLp
and inspect the integrality_
data member
Indeed, we've not added
Highs::getColIntegrality
tohighspy
The best you can do at the moment is use
getLp
and inspect theintegrality_
data member
thanks for your reply, I will try as you suggested. Will more python APIs of highs such as 'getColIntegrality' be accessible in future?
Yes, it's a trivial change that I've already started to make. It'll be in the next release
I'm using highspy(version,1.8) in python, but can not find a function to access variable type property. I tried to use Highs.getCol(), it returned tuple[highspy._core.HighsStatus, float, float, float, int], the three float are obj, lb and ub, but the int is not type for the int value of continuous and integer variable are the same(0).