PyPSA / linopy

Linear optimization with N-D labeled arrays in Python
https://linopy.readthedocs.io
MIT License
165 stars 51 forks source link

COPT update #383

Open PeterKlein11 opened 11 hours ago

PeterKlein11 commented 11 hours ago

Removing this line of code stops COPT calling a floating license from a server in cases where COPT is not used to solve the problem.

Solver still solves as normal on my side after its removal.

PeterKlein11 commented 9 hours ago

The issue is that we do use COPT. We have a floating license, but only a limited number of seats. Each time pypsa is imported it checks out the license even if you not doing solving a problem. Like building a snakemake workflow.