Output facelift: CoinTable class, phase markers, message suppression#265
Merged
Output facelift: CoinTable class, phase markers, message suppression#265
Conversation
Add CoinTable class with compact/bordered styles, ▶/✔/★/─ phase marker methods, and per-column segment separators in both UTF-8 and ASCII modes. Suppress noisy MPS detail, presolve, and conflict-graph messages at the default log level (logLevel 1), promoting them to detail level 2: - COIN_MPS_LINE / COIN_MPS_STATS / COIN_SOLVER_MPS: per-line parse noise and the 'read with N errors' summary are silenced; any parse errors are instead captured by CbcImportHandler in Cbc and displayed in a structured block inside the Problem loading section of the new output. - COIN_PRESOLVE_INFEAS / COIN_PRESOLVE_UNBOUND / COIN_PRESOLVE_NONOPTIMAL / COIN_PRESOLVE_POSTSOLVE / COIN_PRESOLVE_NEEDS_CLEANING / COIN_PRESOLVE_INTEGERMODS: transient presolve internal-state messages; the final solver outcome (infeasible, unbounded, optimal) is always reported by CBC in the B&B phase-end banner and is unaffected by these. - COIN_CGRAPH_INFO / COIN_CGRAPH_FIX_VAR: conflict-graph build stats (variables fixed, adjacency density) are already shown in the Preprocessing table rendered by CbcPreprocHandler; the raw messages are redundant at logLevel 1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Haroldo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add
CoinTableclass with compact/bordered styles, ▶/✔/★/─ phase marker methods, and per-column segment separators in both UTF-8 and ASCII modes.Suppress noisy MPS detail, presolve, and conflict-graph messages at the default log level (logLevel 1), promoting them to detail level 2:
COIN_MPS_LINE / COIN_MPS_STATS / COIN_SOLVER_MPS: per-line parse noise and the 'read with N errors' summary are silenced; parse errors are instead captured by
CbcImportHandlerin Cbc and displayed in a structured block inside the Problem loading section.COIN_PRESOLVE_INFEAS / COIN_PRESOLVE_UNBOUND / COIN_PRESOLVE_NONOPTIMAL / COIN_PRESOLVE_POSTSOLVE / COIN_PRESOLVE_NEEDS_CLEANING / COIN_PRESOLVE_INTEGERMODS: transient presolve internal-state messages; the final solver outcome is always reported by CBC in the B&B phase-end banner and is unaffected by these.
COIN_CGRAPH_INFO / COIN_CGRAPH_FIX_VAR: conflict-graph build stats are already shown in the Preprocessing table rendered by
CbcPreprocHandler; the raw messages are redundant at logLevel 1.This is part of a broader CBC output facelift series. The downstream Cbc/Clp/Cgl/Osi PRs depend on
CoinTablefrom this change.