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: |
|
||||
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:
|
||||
|
@ -69,8 +69,8 @@ lines:
|
||||
|
||||
solving:
|
||||
solver:
|
||||
name: glpk
|
||||
options: "glpk-default"
|
||||
name: highs
|
||||
options: "highs-default"
|
||||
|
||||
|
||||
plotting:
|
||||
|
@ -73,8 +73,8 @@ industry:
|
||||
|
||||
solving:
|
||||
solver:
|
||||
name: glpk
|
||||
options: glpk-default
|
||||
name: highs
|
||||
options: highs-default
|
||||
mem: 4000
|
||||
|
||||
plotting:
|
||||
|
@ -65,8 +65,8 @@ sector:
|
||||
|
||||
solving:
|
||||
solver:
|
||||
name: glpk
|
||||
options: glpk-default
|
||||
name: highs
|
||||
options: highs-default
|
||||
mem: 4000
|
||||
|
||||
plotting:
|
||||
|
@ -75,8 +75,8 @@ industry:
|
||||
|
||||
solving:
|
||||
solver:
|
||||
name: glpk
|
||||
options: glpk-default
|
||||
name: highs
|
||||
options: highs-default
|
||||
mem: 4000
|
||||
|
||||
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.
|
||||
|
||||
* 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)
|
||||
==================================
|
||||
|
@ -59,3 +59,4 @@ dependencies:
|
||||
|
||||
- pip:
|
||||
- tsam>=2.3.1
|
||||
- highspy
|
||||
|
Loading…
Reference in New Issue
Block a user