Closed jetuk closed 1 week ago
Re CLP/CBC.
CLP is linear programme only. CBC is the MILP solver that uses CLP internally. We have two choices:
I suggest (2) is preferrable as long as CBC isn't significantly slower for the LP only case.
It is probably worthwhile doing this switch in another issue/PR before completing this one.
Also, the tests will fail on the lack of support in CLP first.
I've created a project to try to organise how to move this forward: https://github.com/orgs/pywr/projects/1
This is the first commit of using the Highs solver to model binary variables, and using those variables to apply a mutual exclusivity constraint. I.e. flow is allow through up to N nodes at a time.
TODO:
This starts to resolve issue #187.