summaryrefslogtreecommitdiff
path: root/sci-mathematics/glpk/files/glpk-4.65-longstep_verbosity.patch
blob: 1b78ece3e6950f35c86c952bb14f77a6d85c109a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
http://lists.gnu.org/archive/html/bug-glpk/2018-03/msg00000.html

diff --git a/src/draft/glpios03.c b/src/draft/glpios03.c
index 21d6a00..eb34ad0 100644
--- a/src/draft/glpios03.c
+++ b/src/draft/glpios03.c
@@ -920,13 +920,10 @@ int ios_driver(glp_tree *T)
 #if 0
       ((glp_iocp *)T->parm)->msg_lev = GLP_MSG_DBG;
 #endif
-#if 1 /* 16/III-2016 */
+#if 1 /* 01/III-2018 */
       if (((glp_iocp *)T->parm)->flip)
-#if 0 /* 20/I-2018 */
-         xprintf("WARNING: LONG-STEP DUAL SIMPLEX WILL BE USED\n");
-#else
-         xprintf("Long-step dual simplex will be used\n");
-#endif
+         if (T->parm->msg_lev >= GLP_MSG_ALL)
+            xprintf("Long-step dual simplex will be used\n");
 #endif
       /* on entry to the B&B driver it is assumed that the active list
          contains the only active (i.e. root) subproblem, which is the