diff --git a/doc/release_notes.rst b/doc/release_notes.rst index edfe343a..cbe20019 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -6,6 +6,8 @@ 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. * Fix the parsing of solutions returned by the CBC solver when setting a MIP duality gap tolerance. * Improve the mapping of termination conditions for the SCIP solver diff --git a/linopy/solvers.py b/linopy/solvers.py index 94f4beb8..235dbee3 100644 --- a/linopy/solvers.py +++ b/linopy/solvers.py @@ -752,9 +752,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,