ERGO-Code / HiGHS

Linear optimization software
MIT License
976 stars 180 forks source link

highspy API improvements and benchmark #1830

Closed rlloretb closed 4 months ago

rlloretb commented 4 months ago

I am exploring highspy as an opensource alternative to gurobipy. Which is the current roadmap to improve highspy? For instance, in Gurobi it is possible to natively use dicts (tupledicts) to create and access variables efficiently, in addition to the quicksum function. Also, are there any benchmarks for highspy model building time for large models (10 - 100k variables/constraints)?

jajhall commented 4 months ago

In short, we can't see us developing the modelling features of highspy much. It's just there to allow simple illustrative examples to be presented when introducing HiGHS.

That said, we're aware of some limitations when accessing from Python the data generated by the HiGHS C++ code.