grid-parity-exchange / Egret

Tools for building power systems optimization problems
Other
131 stars 52 forks source link

Make Egret aware of APPSI #265

Open bknueven opened 2 years ago

bknueven commented 2 years ago

We have some special logic in the unit commitment and DC/SC OPF methods for Persistent solvers. We should make this same code aware of APPSI solvers. This would especially improve performance for CBC.

bknueven commented 2 years ago

Now I remember the hold-up on this: @michaelbynum how amendable would you be to adding a add_column method for the APPSI solvers similar to that for PersistentSolver? Here's an example of how lazy transmission constraints are currently handled: https://github.com/grid-parity-exchange/Egret/blob/3ddc971b5e5db853bb6cd08676d79af32a686fb4/egret/common/lazy_ptdf_utils.py#L621-L640

michaelbynum commented 2 years ago

Ahh, yes. Definitely. Will do.