I have been messing about with HiGHS and trying to get a hang of its capability.
Here is an example of a simple model from their github repo https://github.com/ERGO-Code/HiGHS/blob/master/examples/call_highs_from_python.py
In this example, adding variables and constraints is done through lp.col and lp.row respectively.
I'm getting a handle on how to do that, but here is another example from the repo https://github.com/ERGO-Code/HiGHS/blob/master/examples/minimal.py#L8
where they use addVar and addConstr instead. This of course simpler and more straightforward. Anyway, when I try to replicate that addVar works and all the variables are added. On the other hand, addConstr results in an attribute error AttributeError: 'Highs' object has no attribute 'addConstr'
I have been looking at the documentation with no luck to fix this issue. I have the latest version of the library. I'm wondering if this is something they haven't released yet maybe? I tried also to find the source code to see what function and attribute the model object has but couldn't find that either.