pywr / pywr-next

An experimental repository exploring ideas for a major revision to Pywr using Rust as a backend.
6 stars 4 forks source link

feat: Add additional COIN-OR bindings for Cbc. #208

Closed jetuk closed 3 months ago

jetuk commented 3 months ago

This requires adding Cgl and Osi libraries. Currently these are vendored in the same way as Clp. This is an alternative to #207 which seems to have build / linking issues. The longer term plan would be to move this -sys package to separate repository and remove the submodules from here. We'll keep it here for now while we develop the CBC solver and integer variables.

jetuk commented 3 months ago

Shall I add an initial CBC solver implementation here, or do that in another PR?

Batch21 commented 3 months ago

Shall I add an initial CBC solver implementation here, or do that in another PR?

Happy either way. Would be cleaner in a new PR unless you think the implementation might required modifying the changes in this PR?

jetuk commented 3 months ago

I do not think it will.

One issue I have immediately found is that the CBC C interface has no method for modifying matrix coefficients (unlike CLP).