Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PyPSA/linopy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.7
Choose a base ref
...
head repository: PyPSA/linopy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.5.8
Choose a head ref
  • 14 commits
  • 24 files changed
  • 6 contributors

Commits on Sep 8, 2025

  1. Configuration menu
    Copy the full SHA
    509d1d2 View commit details
    Browse the repository at this point in the history
  2. fix: lp-polars api (#485)

    * fix: lp-polars api
    
    * chore: remove small val filtering
    
    * chore: remove redundant comment
    
    ---------
    
    Co-authored-by: Fabian Hofmann <[email protected]>
    CharlieFModo and FabianHofmann authored Sep 8, 2025
    Configuration menu
    Copy the full SHA
    12b0da3 View commit details
    Browse the repository at this point in the history
  3. Replace pandas-based LP file writing with polars implementation (#496)

    * Replace pandas-based LP file writing with polars implementation
    
    - Remove pandas-based LP writing functions and replace with polars versions
    - Rename polars functions to remove '_polars' suffix for consistent API
    - Create separate get_printers_scalar() for non-LP functions (highspy, gurobi, mosek)
    - Update get_printers() to handle polars dataframes for LP writing
    - Consolidate "lp" and "lp-polars" io_api options to use same implementation
    - Remove unused imports and cleanup handle_batch function
    
    * fix: restore NaN validation in polars-based variable bounds checking
    
    The polars migration broke NaN validation because check_has_nulls_polars
    only checked for null values, not NaN values. In polars, these are distinct
    concepts. This fix enhances the validation to detect both null and NaN values
    in numeric columns while avoiding type errors on non-numeric columns.
    
    Fixes failing tests in test_inconsistency_checks.py that expected ValueError
    to be raised when variables have NaN bounds.
    FabianHofmann authored Sep 8, 2025
    Configuration menu
    Copy the full SHA
    2d69959 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2025

  1. perf: use xpress c interface, xpress solution order of operations imp…

    …rovement, remove writing of redundant solution files (#497)
    
    * perf: use xpress c interface and order of operations improvement
    
    * perf: only write solution file if requested or needed
    
    * refactor: adds no_solution_file_solvers constant
    CharlieFModo authored Sep 9, 2025
    Configuration menu
    Copy the full SHA
    84f6896 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2025

  1. Configuration menu
    Copy the full SHA
    5c2deec View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2025

  1. fix: windows file permission take 2 (#503)

    * Fix windows permission error when dumping model file
    
    * Properly use file context when dumping model
    KristijanFaust-OET authored Sep 14, 2025
    Configuration menu
    Copy the full SHA
    6d64d16 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2025

  1. doc: add jupyter notebook with oetc example use (#490)

    * doc: add jupyter notebook with oetc example use
    
    * doc: configure nbsphinx execution settings
    
    Enable auto-execution with inline backend configuration
    Exclude OETC notebook from automatic execution
    
    * doc: update styles and address warnings
    
    * refac: jupyter notebook format
    FabianHofmann authored Sep 21, 2025
    Configuration menu
    Copy the full SHA
    343bce0 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2025

  1. Configuration menu
    Copy the full SHA
    9f7f88b View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2025

  1. Fetch and display OETC worker error logs (#512)

    * Fetch and display OETC worker error logs
    
    * Fix pre-commit dependencies version mismatch
    KristijanFaust-OET authored Oct 23, 2025
    Configuration menu
    Copy the full SHA
    7c9206e View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2025

  1. Fix expression merge with outer join for disjoint coordinates (#514)

    * fix: explicitly set outer join for expression merge
    
    Set join="outer" when merging expressions without common coordinate
    structure to ensure consistent behavior across xarray versions and
    properly handle expressions with disjoint coordinates.
    
    * doc: add release note for outer join fix in expression merge
    FabianHofmann authored Oct 28, 2025
    Configuration menu
    Copy the full SHA
    ede540f View commit details
    Browse the repository at this point in the history
  2. Feature/add polars input (#511)

    * feat: add polars series for constant input
    
    * add another test
    
    * update doc
    
    ---------
    
    Co-authored-by: Fabian Hofmann <[email protected]>
    RobbieKiwi and FabianHofmann authored Oct 28, 2025
    Configuration menu
    Copy the full SHA
    20c9665 View commit details
    Browse the repository at this point in the history
  3. Handle ImportError in xpress import (#509)

    * Handle ImportError in xpress import
    
    Also catch ImportError for xpress import. This should resolve rarely occuring compat problem with numpy packages
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    FabianHofmann and pre-commit-ci[bot] authored Oct 28, 2025
    Configuration menu
    Copy the full SHA
    5b51340 View commit details
    Browse the repository at this point in the history
  4. Adding xpress postsolve if necessary (#421)

    Co-authored-by: Fabian Hofmann <[email protected]>
    come-bissuel and FabianHofmann authored Oct 28, 2025
    Configuration menu
    Copy the full SHA
    a6d6b28 View commit details
    Browse the repository at this point in the history
  5. update release notes

    FabianHofmann committed Oct 28, 2025
    Configuration menu
    Copy the full SHA
    6d1302e View commit details
    Browse the repository at this point in the history
Loading