Skip to content
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

Feature: piecewise constraints #569

Merged
merged 30 commits into from
Jul 19, 2024

Fixes following review

ff81669
Select commit
Loading
Failed to load commit list.
Merged

Feature: piecewise constraints #569

Fixes following review
ff81669
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 19, 2024 in 0s

95.97% (+0.05%) compared to 61e1afa

View this Pull Request on Codecov

95.97% (+0.05%) compared to 61e1afa

Details

Codecov Report

Attention: Patch coverage is 98.85057% with 2 lines in your changes missing coverage. Please review.

Project coverage is 95.97%. Comparing base (61e1afa) to head (ff81669).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #569      +/-   ##
==========================================
+ Coverage   95.92%   95.97%   +0.05%     
==========================================
  Files          26       26              
  Lines        3899     3980      +81     
  Branches      838      767      -71     
==========================================
+ Hits         3740     3820      +80     
- Misses         69       70       +1     
  Partials       90       90              
Files Coverage Δ
src/calliope/backend/backend_model.py 97.95% <100.00%> (+0.29%) ⬆️
src/calliope/backend/gurobi_backend_model.py 95.66% <100.00%> (+0.06%) ⬆️
src/calliope/backend/latex_backend_model.py 96.83% <100.00%> (+0.56%) ⬆️
src/calliope/backend/parsing.py 96.99% <100.00%> (+0.10%) ⬆️
src/calliope/backend/pyomo_backend_model.py 98.11% <100.00%> (+0.03%) ⬆️
src/calliope/backend/where_parser.py 98.18% <100.00%> (-0.01%) ⬇️
src/calliope/backend/expression_parser.py 93.73% <50.00%> (-0.27%) ⬇️