Skip to content

Commit 2f3b49a

Browse files
committed
ruff and release notes
1 parent f9399d4 commit 2f3b49a

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

benchmark/benchmark_auto_mask.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
project_root = Path(__file__).parent.parent
1515
sys.path.insert(0, str(project_root))
1616

17-
import time
18-
from typing import Any
17+
import time # noqa: E402
18+
from typing import Any # noqa: E402
1919

20-
import numpy as np
21-
import pandas as pd
20+
import numpy as np # noqa: E402
21+
import pandas as pd # noqa: E402
2222

23-
from linopy import GREATER_EQUAL, Model
23+
from linopy import GREATER_EQUAL, Model # noqa: E402
2424

2525

2626
def create_nan_data(

doc/release_notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Upcoming Version
55
----------------
66

77
* Add the `sphinx-copybutton` to the documentation
8+
* Add ``auto_mask`` parameter to ``Model`` class that automatically masks variables and constraints where bounds, coefficients, or RHS values contain NaN. This eliminates the need to manually create mask arrays when working with sparse or incomplete data.
89

910
Version 0.6.1
1011
--------------

0 commit comments

Comments
 (0)