Skip to content

Now only recording written_log_header_ = true if output_flag is true …#2161

Merged
jajhall merged 1 commit intolatestfrom
fix-log-header
Jan 30, 2025
Merged

Now only recording written_log_header_ = true if output_flag is true …#2161
jajhall merged 1 commit intolatestfrom
fix-log-header

Conversation

@jajhall
Copy link
Copy Markdown
Member

@jajhall jajhall commented Jan 30, 2025

Now only recording written_log_header_ = true if output_flag is true so log header is printed if output_flag is first false and later set true

…so log header is printed if output_flag is later set true
@jajhall jajhall merged commit 52af45f into latest Jan 30, 2025
@jajhall jajhall deleted the fix-log-header branch January 30, 2025 15:47
@maurerle
Copy link
Copy Markdown

maurerle commented Aug 5, 2025

Hi @jajhall
I even see the Running HiGHS 1.11.0 (git hash: 364c83a): Copyright (c) 2025 HiGHS under MIT licence terms line when calling Highs (from linopy) using:

m.solve(output_flag=False, log_to_console=False)

This was the case with 1.9 as well (which does not include this commit).
But this does not feel right, and is quite cumbersome when using highspy programatically.

@jajhall
Copy link
Copy Markdown
Member Author

jajhall commented Aug 5, 2025

I assume that it will always be possible to obtain the logging from HiGHS if desired, otherwise it makes support much more difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants