CI: use scip and highs as solvers for clustering and solving, instead of ipopt and glpk

This commit is contained in:
Fabian 2024-01-31 09:44:13 +01:00
parent 9c558a3e46
commit b7750d21ea
7 changed files with 14 additions and 18 deletions

View File

@ -46,16 +46,6 @@ jobs:
run: |
echo -ne "url: ${CDSAPI_URL}\nkey: ${CDSAPI_TOKEN}\n" > ~/.cdsapirc
- name: Add solver to environment
run: |
echo -e "- glpk\n- ipopt<3.13.3" >> envs/environment.yaml
if: ${{ matrix.os }} == 'windows-latest'
- name: Add solver to environment
run: |
echo -e "- glpk\n- ipopt" >> envs/environment.yaml
if: ${{ matrix.os }} != 'windows-latest'
- name: Setup micromamba
uses: mamba-org/setup-micromamba@v1
with:

View File

@ -69,8 +69,8 @@ lines:
solving:
solver:
name: glpk
options: "glpk-default"
name: highs
options: "highs-default"
plotting:

View File

@ -73,8 +73,8 @@ industry:
solving:
solver:
name: glpk
options: glpk-default
name: highs
options: highs-default
mem: 4000
plotting:

View File

@ -65,8 +65,8 @@ sector:
solving:
solver:
name: glpk
options: glpk-default
name: highs
options: highs-default
mem: 4000
plotting:

View File

@ -75,8 +75,8 @@ industry:
solving:
solver:
name: glpk
options: glpk-default
name: highs
options: highs-default
mem: 4000
plotting:

View File

@ -62,6 +62,11 @@ Upcoming Release
* To determine the optimal topology to meet the number of clusters, the workflow used pyomo in combination with ``ipopt`` or ``gurobi``. This dependency has been replaced by using ``linopy`` in combination with ``scipopt`` or ``gurobi``. The environment file has been updated accordingly.
* The ``highs`` solver was added to the default environment file.
* The default solver for testing the workflow in the CI has been changed from ``glpk`` to ``highs``.
PyPSA-Eur 0.9.0 (5th January 2024)
==================================

View File

@ -59,3 +59,4 @@ dependencies:
- pip:
- tsam>=2.3.1
- highspy