summaryrefslogtreecommitdiff
path: root/glpk/glpk-remove-warnings.patch
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2019-08-11 11:13:55 +0200
committerTim Biermann <tbier@posteo.de>2019-08-11 11:13:55 +0200
commite75f9cbe78815229067e790ed000424b42941a05 (patch)
tree02589746beaaf0553daf1a152ed7547e75ba2618 /glpk/glpk-remove-warnings.patch
parent1d086144fb6e4252a77595fafd8402a3abbc26d5 (diff)
downloadcontrib-e75f9cbe78815229067e790ed000424b42941a05.tar.gz
contrib-e75f9cbe78815229067e790ed000424b42941a05.tar.xz
glpk: initial commit, version 4.65
Diffstat (limited to 'glpk/glpk-remove-warnings.patch')
-rw-r--r--glpk/glpk-remove-warnings.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/glpk/glpk-remove-warnings.patch b/glpk/glpk-remove-warnings.patch
new file mode 100644
index 000000000..0fec7f8b7
--- /dev/null
+++ b/glpk/glpk-remove-warnings.patch
@@ -0,0 +1,19 @@
+--- glpk-4.65/src/draft/glpios03.c.orig 2018-08-18 07:02:32.165492793 +0000
++++ glpk-4.65/src/draft/glpios03.c 2018-08-18 07:03:47.775715038 +0000
+@@ -920,13 +920,10 @@
+ #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

Generated by cgit