CI: use scip and highs as solvers for clustering and solving, instead of ipopt and glpk
This commit is contained in:
parent
9c558a3e46
commit
b7750d21ea
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@ -46,16 +46,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo -ne "url: ${CDSAPI_URL}\nkey: ${CDSAPI_TOKEN}\n" > ~/.cdsapirc
|
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
|
- name: Setup micromamba
|
||||||
uses: mamba-org/setup-micromamba@v1
|
uses: mamba-org/setup-micromamba@v1
|
||||||
with:
|
with:
|
||||||
|
@ -69,8 +69,8 @@ lines:
|
|||||||
|
|
||||||
solving:
|
solving:
|
||||||
solver:
|
solver:
|
||||||
name: glpk
|
name: highs
|
||||||
options: "glpk-default"
|
options: "highs-default"
|
||||||
|
|
||||||
|
|
||||||
plotting:
|
plotting:
|
||||||
|
@ -73,8 +73,8 @@ industry:
|
|||||||
|
|
||||||
solving:
|
solving:
|
||||||
solver:
|
solver:
|
||||||
name: glpk
|
name: highs
|
||||||
options: glpk-default
|
options: highs-default
|
||||||
mem: 4000
|
mem: 4000
|
||||||
|
|
||||||
plotting:
|
plotting:
|
||||||
|
@ -65,8 +65,8 @@ sector:
|
|||||||
|
|
||||||
solving:
|
solving:
|
||||||
solver:
|
solver:
|
||||||
name: glpk
|
name: highs
|
||||||
options: glpk-default
|
options: highs-default
|
||||||
mem: 4000
|
mem: 4000
|
||||||
|
|
||||||
plotting:
|
plotting:
|
||||||
|
@ -75,8 +75,8 @@ industry:
|
|||||||
|
|
||||||
solving:
|
solving:
|
||||||
solver:
|
solver:
|
||||||
name: glpk
|
name: highs
|
||||||
options: glpk-default
|
options: highs-default
|
||||||
mem: 4000
|
mem: 4000
|
||||||
|
|
||||||
plotting:
|
plotting:
|
||||||
|
@ -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.
|
* 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)
|
PyPSA-Eur 0.9.0 (5th January 2024)
|
||||||
==================================
|
==================================
|
||||||
|
@ -59,3 +59,4 @@ dependencies:
|
|||||||
|
|
||||||
- pip:
|
- pip:
|
||||||
- tsam>=2.3.1
|
- tsam>=2.3.1
|
||||||
|
- highspy
|
||||||
|
Loading…
Reference in New Issue
Block a user