-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate Linopy #494
Comments
Integration available here: PyPSA/pypsa-eur#625 @Hazem-IEG do you use in PyPSA-Earth-Sec any of the solve_all_networks funtions? |
Personally, I think we could think about this after we merge the repositories. |
Solved by #1172 |
Linopy was recently integrated into PyPSA --see PR here. With the new PyPSA release, we should make sure to get it into PyPSA-Earth/ PyPSA-Eur ASAP. One can already trial in a draft PR how we can use these upcoming functions. As one can see in the PR above, there is also excellent documentation on how to transition.
For context, Pyomo is the standard optimization interface for Python. For large linear programming/ MILP problems, however, Pyomo has quite poor performance. It made for years Python speed and memory-wise uncompetitive compared to other programming languages. Tom, Fabian and Jonas, worked on alternative called 'nomopyomo'. While this lead to a massive performance boost, the usability/flexibility was suffering a bit. Linopy was about the same speed boost as nomopyomo, better memory performance than 'nomopyomo' and is doing a fantastic job in comparison to other 'solver interfaces'. The benchmark with Linopy, Jump and Pyomo, only shows how important the move towards Linopy is.
The text was updated successfully, but these errors were encountered: