From 2d2057d24b457ef2e6cb00019d10376a14f21081 Mon Sep 17 00:00:00 2001 From: John Siirola Date: Fri, 17 May 2024 15:29:34 -0600 Subject: [PATCH] Update/clarify comment and link --- pyomo/solvers/plugins/solvers/CBCplugin.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pyomo/solvers/plugins/solvers/CBCplugin.py b/pyomo/solvers/plugins/solvers/CBCplugin.py index 4d49c5cc58d..96844e8ac59 100644 --- a/pyomo/solvers/plugins/solvers/CBCplugin.py +++ b/pyomo/solvers/plugins/solvers/CBCplugin.py @@ -832,12 +832,15 @@ def process_soln_file(self, results): tokens = tuple(re.split('[ \t]+', line.strip())) n_tokens = len(tokens) # - # These are the only header entries CBC will generate (identified via browsing CbcSolver.cpp) - # See https://github.com/coin-or/Cbc/tree/master/src - # Search for (no integer solution - continuous used) - # Note that since this possibly also covers old CBC versions, - # we shall not be removing any functionality, - # even if it is not seen in the current revision + # These are the only header entries CBC will generate + # (identified via browsing CbcSolver.cpp) See + # https://github.com/coin-or/Cbc/tree/master/src/CbcSolver.cpp + # Search for "(no integer solution - continuous used)" + # (L10796 as of cb855c7) + # + # Note that since this possibly also covers old CBC + # versions, we shall not be removing any functionality, even + # if it is not seen in the current revision # if not header_processed: if tokens[0] == 'Optimal':