source:
ThirdParty/Glpk/stable/1.4/glpk.patch
@
1109
Last change on this file since 1109 was 1109, checked in by stefan, 12 years ago | |
---|---|
File size: 1.4 KB |
-
src/glpapi08.c
diff -ru glpk.OLD//src/glpapi08.c glpk/src/glpapi08.c
old new 349 349 switch (ret) 350 350 { case 0: 351 351 if (tree->mip->mip_stat == GLP_FEAS) 352 { if (parm->msg_lev >= GLP_MSG_ALL) 353 xprintf("INTEGER OPTIMAL SOLUTION FOUND\n"); 354 tree->mip->mip_stat = GLP_OPT; 352 { if (ios_relative_gap(tree) > 0) { 353 if (parm->msg_lev >= GLP_MSG_ALL) 354 xprintf("INTEGER FEASIBLE SOLUTION FOUND, GAP SMALLER THAN TOLERANCE\n"); 355 tree->mip->mip_stat = GLP_FEAS; 356 } else { 357 if (parm->msg_lev >= GLP_MSG_ALL) 358 xprintf("INTEGER OPTIMAL SOLUTION FOUND\n"); 359 tree->mip->mip_stat = GLP_OPT; 360 } 355 361 } 356 362 else 357 363 { if (parm->msg_lev >= GLP_MSG_ALL) -
src/glpios03.c
diff -ru glpk.OLD//src/glpios03.c glpk/src/glpios03.c
old new 1346 1346 { if (tree->parm->msg_lev >= GLP_MSG_DBG) 1347 1347 xprintf("Relative gap tolerance reached; search terminat" 1348 1348 "ed\n"); 1349 ret = GLP_ETMLIM;1349 ret = 0; 1350 1350 goto done; 1351 1351 } 1352 1352 #endif
Note: See TracBrowser
for help on using the repository browser.