From f806431b77fdb0b1c8a0128660c11e5457285d85 Mon Sep 17 00:00:00 2001 From: ollie-bell <56110893+ollie-bell@users.noreply.github.com> Date: Tue, 22 Apr 2025 12:27:56 +0100 Subject: [PATCH 1/2] fix: remove highs log file default --- linopy/solvers.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/linopy/solvers.py b/linopy/solvers.py index 1cf31705..7aae5585 100644 --- a/linopy/solvers.py +++ b/linopy/solvers.py @@ -733,9 +733,6 @@ def solve_problem_from_model( h = model.to_highspy(explicit_coordinate_names=explicit_coordinate_names) - if log_fn is None and model is not None: - log_fn = model.solver_dir / "highs.log" - return self._solve( h, solution_fn, From 69ea0646e97c434a7aec6c6c3a1ca4811247bf42 Mon Sep 17 00:00:00 2001 From: ollie-bell <56110893+ollie-bell@users.noreply.github.com> Date: Tue, 22 Apr 2025 12:47:26 +0100 Subject: [PATCH 2/2] docs: add release note --- doc/release_notes.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/release_notes.rst b/doc/release_notes.rst index c00e8535..8f8cf9e3 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -1,9 +1,13 @@ Release Notes ============= -.. Upcoming Version -.. ---------------- +Upcoming Version +---------------- +**Bug Fixes** + +* Remove default highs log file when `log_fn=None` and `io_api="direct"`. This caused `log_file` in +`solver_options` to be ignored. Version 0.5.3 --------------