Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Trippe <[email protected]>
  • Loading branch information
maurerle and lkstrp authored Nov 7, 2024
1 parent 66c3558 commit 084f282
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions linopy/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def to_lp_file(
fn: Path,
integer_label: str,
slice_size: int = 10_000_000,
log: bool = None,
log: bool = True,
) -> None:
batch_size = 5000

Expand Down Expand Up @@ -587,7 +587,7 @@ def to_file(
io_api: str | None = None,
integer_label: str = "general",
slice_size: int = 2_000_000,
log=None,
log: bool | None = None,
) -> Path:
"""
Write out a model to a lp or mps file.
Expand Down
2 changes: 1 addition & 1 deletion linopy/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ def solve(
sanitize_infinities: bool = True,
slice_size: int = 2_000_000,
remote: None = None,
stdout: bool | None = None,
log: bool | None = None,
**solver_options,
) -> tuple[str, str]:
"""
Expand Down

0 comments on commit 084f282

Please sign in to comment.