-
Notifications
You must be signed in to change notification settings - Fork 198
MIP log cleanup #1402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nguidotti
wants to merge
28
commits into
NVIDIA:main
Choose a base branch
from
nguidotti:last-log-cleanup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+204
−159
Open
MIP log cleanup #1402
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
a7f5121
logger_t now can support formatting strings based on `std::format`
nguidotti 27f2973
moved search_tree object to a separated file. added a depth-first cle…
nguidotti 501220b
track search progress using tree the weight metric. migrate the B&B l…
nguidotti 9672194
simplified log lines construction in B&B
nguidotti 8367299
switched to std::format for compile-time checks
nguidotti b865ae9
migrate node_id from int to uint64_t. bug fixes
nguidotti 6d7f0f5
revert changes to node_id. added exception handling to the destructor.
nguidotti e5ea499
address coderabbit
nguidotti da1015f
revert log changes
nguidotti 87cdf92
Merge branch 'main' into tree-progress
nguidotti 6c04ed4
Merge branch 'main' into tree-progress
nguidotti f79029f
Merge remote-tracking branch 'origin/tree-progress' into tree-progress
nguidotti ffdc469
removed search progress from the logs. It is too inaccurate, especial…
nguidotti e47c61f
removed try-catch block in the destructor.
nguidotti 5eb9730
removed changes to the search tree
nguidotti 739aab2
fixed compilation
nguidotti 3b9f99c
use constexpr constants to determine column width
nguidotti ec577e6
now the MIP solver gives a summary at the end
nguidotti 2e9059e
clean up the MIP logs
nguidotti 4b3a6b6
revert column width to use constants
nguidotti e7523fd
fix string_view for format variants in the logger_t
nguidotti ae178fb
address coderabbit
nguidotti 9e4e2a3
update last log line
nguidotti 1d30f7f
fixed log message when concurrent root solve is disabled
nguidotti c542637
Merge branch 'main' into last-log-cleanup
nguidotti 3fbee38
fixes parsing for remote execution test
nguidotti 1e992c0
Fix test_cli.sh to match renamed MIP summary log line
nguidotti 651e2ba
update logs based on Miles comments
nguidotti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -682,12 +682,12 @@ third_party_presolve_result_t<i_t, f_t> third_party_presolve_t<i_t, f_t>::apply( | |
|
|
||
| papilo::Problem<f_t> papilo_problem = build_papilo_problem(op_problem, category, maximize_); | ||
|
|
||
| CUOPT_LOG_INFO("Original problem: %d constraints, %d variables, %d nonzeros", | ||
| papilo_problem.getNRows(), | ||
| papilo_problem.getNCols(), | ||
| papilo_problem.getConstraintMatrix().getNnz()); | ||
| CUOPT_LOG_DEBUG("Original problem: %d constraints, %d variables, %d nonzeros", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We already log the dimensions of the problems in another place. This is duplicated info |
||
| papilo_problem.getNRows(), | ||
| papilo_problem.getNCols(), | ||
| papilo_problem.getConstraintMatrix().getNnz()); | ||
|
|
||
| CUOPT_LOG_INFO("Calling Papilo presolver (git hash %s)", PAPILO_GITHASH); | ||
| CUOPT_LOG_INFO("\nRunning Papilo presolve (git hash %s)", PAPILO_GITHASH); | ||
| if (category == problem_category_t::MIP) { dual_postsolve = false; } | ||
| papilo::Presolve<f_t> papilo_presolver; | ||
| set_presolve_methods(papilo_presolver, category, dual_postsolve); | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.