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.5
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.6
Choose a head ref
  • 11 commits
  • 33 files changed
  • 10 contributors

Commits on Jun 5, 2025

  1. Fixed typing of arithmetic methods (#454)

    * Fixed typing of arithmetic methods
    
    * changes based on pr comments
    
    * Changes to typing
    
    * Further typing changes
    
    * fixed test
    
    * added tests
    
    * Went down a rabbit hole
    
    * fixed tests
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fixed coverage
    
    * fixed precommit issue
    
    * fixed test
    
    * formatting
    
    * Added tests to improve code coverage
    
    * minor changes
    
    * Deprecated using single-value tuple for LinearExpression.from_tuples
    
    * added tests to improve code coverage
    
    * improved code coverage a tiny bit more
    
    * fixed mypy warnign
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * minor changes
    
    ---------
    
    Co-authored-by: Robbie Muir <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people authored Jun 5, 2025
    Configuration menu
    Copy the full SHA
    2d43d5a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a956aa4 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2025

  1. remove python 3.9 deps (#463)

    * remove python 3.9 deps
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix mypy type checking issues
    
    - Add type assertion in expressions.py to clarify pandas Series type
    - Keep necessary type: ignore[assignment] comments in test files where intentional type mismatches are tested
    - Remove Python 3.9 from classifiers in pyproject.toml (was part of staged changes)
    - Update model.py and expressions.py to use union types with | operator
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    
    * apply type hint convention for python >= 3.10
    
    * fix: remove type hint ignores
    
    * fix: corrent expected exception in test
    
    * add release note
    
    * fix: resolve remaining mypy type errors in COPT solver
    
    Fix type compatibility issues in solvers.py:
    - Convert condition to string for Status.from_termination_condition()
    - Ensure legacy_status assignment matches expected str type
    
    Resolves the final mypy errors, completing issue #367.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Claude <[email protected]>
    3 people authored Jun 16, 2025
    Configuration menu
    Copy the full SHA
    78093a4 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2025

  1. Add Support for Python 3.13 (#465)

    * Update pyproject.toml
    
    * remove deprecated fill_value
    
    * Update release_notes.rst
    
    ---------
    
    Co-authored-by: Fabian <[email protected]>
    lkstrp and FabianHofmann authored Jun 17, 2025
    Configuration menu
    Copy the full SHA
    00e879d View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2025

  1. Add Claude Code GitHub Workflow (#462)

    * Claude PR Assistant workflow
    
    * Claude Code Review workflow
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * add CLAUDE.mc
    
    * add time limit and filtering conditions for claude code GH actions
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    FabianHofmann and pre-commit-ci[bot] authored Jun 18, 2025
    Configuration menu
    Copy the full SHA
    d3b7b0d View commit details
    Browse the repository at this point in the history
  2. fix: Allow COPT solution parsing for IMPRECISE status (#466)

    * fix: Allow COPT solution parsing for IMPRECISE status
    
    Add 'numerical' and 'imprecise' as proper TerminationCondition enum values
    and map them to SolverStatus.ok to enable solution extraction for both
    COPT solver statuses. 
    
    This fixes issue #460 where COPT solutions with IMPRECISE status were
    not being parsed, even though COPT developers confirmed solutions
    should be available for OK, NUMERICAL, and IMPRECISE statuses.
    
    Co-authored-by: Fabian Hofmann <[email protected]>
    
    * revert: Remove 'numerical' termination condition, keep only 'imprecise'
    
    Remove 'numerical' enum value and mapping from STATUS_TO_TERMINATION_CONDITION_MAP while preserving the 'imprecise' additions for COPT solver compatibility.
    
    Co-authored-by: Fabian Hofmann <[email protected]>
    
    ---------
    
    Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
    Co-authored-by: Fabian Hofmann <[email protected]>
    3 people authored Jun 18, 2025
    Configuration menu
    Copy the full SHA
    7e8f363 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2025

  1. feat: allow passing a parameter dict to gurobi's env creation (#469)

    * feat: allow passing a parameter dict to gurobi's env creation
    
    * improve doc and type annotations
    
    * Add type variable for solver's environment type
    
    * Fix code coverage
    
    * Import model fixture from test_io
    coroa authored Jul 2, 2025
    Configuration menu
    Copy the full SHA
    d5c5b1e View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2025

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

Commits on Jul 8, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#472)

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.11.8 → v0.12.2](astral-sh/ruff-pre-commit@v0.11.8...v0.12.2)
    - [github.com/keewis/blackdoc: v0.3.9 → v0.4.1](keewis/blackdoc@v0.3.9...v0.4.1)
    
    * [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>
    pre-commit-ci[bot] authored Jul 8, 2025
    Configuration menu
    Copy the full SHA
    cd55e1a View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2025

  1. feat: extend IIS calculation to support Xpress solver (#473)

    * feat: extend IIS calculation to support Xpress solver
    
    - Add support for Xpress solver IIS computation alongside existing Gurobi support
    - Implement _compute_infeasibilities_xpress() method using xpress.iisall() API
    - Update compute_infeasibilities() to auto-detect solver type and route appropriately
    - Extend test coverage to include both Gurobi and Xpress in infeasibility tests
    - Add comprehensive test suite in test_infeasibility.py with various scenarios
    - Update documentation to reflect dual solver support in docstrings
    - Maintain backward compatibility with existing Gurobi-only code
    FabianHofmann authored Jul 22, 2025
    Configuration menu
    Copy the full SHA
    f9e3a5e View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2025

  1. update release notes

    FabianHofmann committed Sep 1, 2025
    Configuration menu
    Copy the full SHA
    e01cfed View commit details
    Browse the repository at this point in the history
Loading