The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

2029 lines
90 KiB

2 months ago
  1. GLPK 4.65 (release date: Feb 16, 2018)
  2. The following new API routines for LP/MIP preprocessing were
  3. added:
  4. glp_npp_alloc_wksp allocate the preprocessor workspace
  5. glp_npp_load_prob load original problem instance
  6. glp_npp_preprocess1 perform basic LP/MIP preprocessing
  7. glp_npp_build_prob build resultant problem instance
  8. glp_npp_postprocess postprocess solution to resultant problem
  9. glp_npp_obtain_sol obtain solution to original problem
  10. glp_npp_free_wksp free the preprocessor workspace
  11. See doc/npp.txt for detailed description of these API routines.
  12. A new, more robust implementation of locally valid simple cover
  13. cuts was included in the MIP solver.
  14. The API routine glp_init_iocp was changed to enable long-step
  15. option of the dual simplex by default.
  16. GLPK 4.64 (release date: Dec 02, 2017)
  17. The dual simplex solver routine was changed to perform more
  18. aggressive perturbation to prevent dual degeneracy and avoid
  19. stalling even if the current dual basic solution is strongly
  20. feasible (mainly if the objective is zero). Thanks to David
  21. Monniaux <David.Monniaux@univ-grenoble-alpes.fr> for bug report
  22. and example model.
  23. The exact simplex solver routine was changed to perform
  24. terminal output according to the verbosity level (specified by
  25. the control parameter smcp.msg_lev). Thanks to Jeroen Demeyer
  26. <jdemeyer@cage.ugent.be> for bug report.
  27. A minor bug (related to MS Windows version) was fixed. Thanks
  28. to Heinrich Schuchardt <xypron.glpk@gmx.de> for bug report.
  29. An example model (Graceful Tree Labeling Problem) in MathProg
  30. was added. Thanks to Mike Appleby <mike@app.leby.org> for
  31. contribution.
  32. Three example models (Power plant LP scheduler, Neumann CA
  33. grid emulator generator) in MathProg and one in Cplex LP format
  34. were added. Thanks to Peter Naszvadi <vuk@cs.elte.hu> for
  35. contribution.
  36. GLPK 4.63 (release date: Jul 25, 2017)
  37. A "smart" LP perturbation was implemented in the primal and
  38. dual simplex solvers. Now LP is perturbed only if it is
  39. necessary, and by default perturbation is not activated.
  40. The sum of primal infeasibilites that appears in the terminal
  41. output of the primal simplex solver (as "inf = ...") now
  42. corresponds to the original bounds of variables. This allows to
  43. see how much perturbed solution violates the original bounds.
  44. The long-step technique was implemented for phase I of the
  45. primal simplex solver. This feature can be enabled by
  46. specifying --flip option for glpsol or by specifying
  47. glp_smcp.r_test = GLP_RT_FLIP on api level. For many LP
  48. instances the long-step technique allows reducing the number
  49. of simplex iterations to 30-70%. Please note that unlike the
  50. dual simplex, where this technique can be used on both phase I
  51. and II, for the primal simplex it can be used only on phase I,
  52. where the sum of primal infeasibilities (which is a convex
  53. piecewise linear function) is minimized.
  54. An internal objective scaling was included in both primal and
  55. dual simplex solvers. For many LP/MIP instances this feature
  56. improves numerical stability (for the dual solver) and prevents
  57. cycling near the optimum (for the primal solver).
  58. The Posix version of glp_time (glpk/src/env/time.c) was changed
  59. to resolve time_t issue on msys2. Thanks to Rob Schroeder
  60. <Rob.Schroeder@graphicpkg.com> for bug report.
  61. Three new example models in MathProg were added:
  62. life_goe.mod (Conway's Game of Life garden of eden checker);
  63. tiling.mod (Rectifiable polyomino tilings generator);
  64. toto.mod (Covering code generator).
  65. Thanks to Peter Naszvadi <vuk@cs.elte.hu> for contribution.
  66. GLPK 4.62 (release date: Jun 14, 2017)
  67. The bound perturbation technique was included in the primal
  68. simplex solver to improve numerical stability and avoid cycling.
  69. Currently this feature is enabled by default.
  70. A range bug was fixed in the MPS reading routine. Thanks to
  71. Chris Matrakidis <cmatraki@gmail.com> for bug report and patch.
  72. Changes were made to provide 64-bit portability of the Minisat
  73. solver. Thanks to Chris Matrakidis <cmatraki@gmail.com> for
  74. patch.
  75. Calls to non-thread-safe functions gmtime, strerror, and strtok
  76. were replaced by calls to corresponding thread-safe equivalents
  77. (gmtime_r, strerror_r, and strtok_r for GNU/Linux).
  78. GLPK 4.61 (release date: Jan 22, 2017)
  79. An option was added to build a re-entrant version of the
  80. package suitable for running in a multi-threaded environment.
  81. This option is enabled by default on configuring the package
  82. if the compiler used supports the thread local storage class
  83. specifier (e.g. _Thread_local or __thread). Thanks to
  84. David Monniaux <david.monniaux@imag.fr> for suggestion and
  85. Chris Matrakidis <cmatraki@gmail.com> for configure.ac patch.
  86. A re-entrant version of the package allows running multiple
  87. independent instances of glpk in different threads of a multi-
  88. threaded application. Note that glpk is not thread-safe by
  89. design, so if the application calls glpk routines from multiple
  90. threads, no thread may access glpk program objects (glp_prob,
  91. glp_tree, etc.) created by other threads; besides, each thread
  92. before termination should call the API routine glp_free_env to
  93. prevent memory leak.
  94. A DLL support was added. Thanks to Heinrich Schuchardt
  95. <xypron.glpk@gmx.de> for contribution.
  96. Some changes were made to allow compiling the package using
  97. stdcall calling convention (this is needed only on compiling
  98. GLPK with MSVC to run under MS Windows).
  99. GLPK 4.60 (release date: Apr 01, 2016)
  100. Some improvements were made in the primal and dual simplex
  101. solvers to make the solution process more numerically stable.
  102. An experimental long-step ratio test feature was added to the
  103. dual simplex. On API level this feature is available thru the
  104. GLP_RT_FLIP option. For glpsol it is available thru the options
  105. --flip (for MIP) or --flip and --dual (for LP). This feature is
  106. not documented yet.
  107. Additional check was added to reject wrong solutions sometimes
  108. reported by the PROXY heuristic.
  109. A bug (memory leak) was fixed in the FPUMP heuristic routine.
  110. Thanks to <nicolas.derhy@engie.com> for bug report.
  111. The header sql.h was renamed to avoid conflicts with standard
  112. ODBC headers. Thanks to Noli Sicad <nsicad@gmail.com> for bug
  113. report.
  114. GLPK 4.59 (release date: Mar 11, 2016)
  115. This is a maintainer release.
  116. Some bugs were fixed and some improvements were made in the MIP
  117. solver. Thanks to Chris Matrakidis <cmatraki@gmail.com> for bug
  118. reports and patches.
  119. The data file format used by API routines glp_read_graph and
  120. glp_write_graph was changed. For more details please see the
  121. document "GLPK: Graph and Network Routines" included in the
  122. distribution.
  123. Translation of the document "Modeling Language GNU MathProg"
  124. to Brazilian Portuguese (pt-BR) was included (in LaTeX and pdf
  125. formats). Thanks to Joao Flavio de Freitas Almeida
  126. <joao.flavio@dep.ufmg.br> for contribution.
  127. GLPK 4.58 (release date: Feb 18, 2016)
  128. The solution file format used by API routines glp_read_sol,
  129. glp_write_sol, glp_read_ipt, glp_write_ipt, glp_read_mip, and
  130. glp_write_mip was changed. For more details please see the GLPK
  131. reference manual included in the distribution.
  132. The tan function (trigonometric tangent) was added to
  133. GNU MathProg modeling language. Thanks to Chris Matrakidis
  134. <cmatraki@gmail.com> for contribution.
  135. A new version of the document "Modeling Language GNU MathProg"
  136. in Spanish was included (in LaTeX and pdf formats). Thanks to
  137. Pablo Yapura <ypf@agro.unlp.edu.ar> for contribution.
  138. A check to determine if libtool needs '-no-undefined' flag to
  139. build shared libraries on some platforms was added.
  140. Thanks to Marco Atzeri <marco.atzeri@gmail.com> and Heinrich
  141. Schuchardt <xypron.glpk@gmx.de> for suggestion.
  142. A script to regenerate the configure script and the Makefiles
  143. was added. Thanks to Heinrich Schuchardt <xypron.glpk@gmx.de>.
  144. GLPK 4.57 (release date: Nov 08, 2015)
  145. A new, more efficient implementation of the dual simplex method
  146. was included in the package. This new implementation replaces
  147. the old one, which was removed.
  148. Option sr_heur was added to struct glp_iocp to enable/disable
  149. the simple rounding heuristic used by the MIP solver. Thanks to
  150. Chris Matrakidis <cmatraki@gmail.com> for suggestion.
  151. New API routine glp_at_error was added and documented. Thanks
  152. to Jeroen Demeyer <jdemeyer@cage.ugent.be> for suggestion.
  153. Some minor typos were corrected in the GLPK documentation.
  154. Thanks to Anton Voropaev <anton.n.voropaev@gmail.com> for typo
  155. report.
  156. An example application program TSPSOL was added. It uses the
  157. GLPK MIP optimizer to solve the Symmetric Traveling Salesman
  158. Problem and illustrates "lazy" constraints generation. For more
  159. details please see glpk/examples/tsp/README.
  160. GLPK 4.56 (release date: Oct 01, 2015)
  161. A new, more efficient and more robust implementation of the
  162. primal simplex method was included in the package. This new
  163. implementation replaces the old one, which was removed.
  164. A bug was fixed in a basis factorization routine. (The bug
  165. appeared if the basis matrix was structurally singular having
  166. duplicate row and/or column singletons.) Thanks to Martin Jacob
  167. <mj@bahntechnik.de> for bug report.
  168. Scripts to build GLPK with Microsoft Visual Studio 2015 were
  169. added. Thanks to Xypron <xypron.glpk@gmx.de> for contribution
  170. and testing.
  171. GLPK 4.55 (release date: Aug 22, 2014)
  172. Some internal (non-API) routines to estimate the condition of
  173. the basis matrix were added. These routines are mainly intended
  174. to be used by the simplex-based solvers.
  175. Two open modes "a" and "ab" were added to GLPK I/O routines.
  176. Thanks to Pedro P. Wong <d00604@taipower.com.tw> for bug report.
  177. Minor bug was fixed in the solver glpsol (command-line options
  178. --btf, --cbg, and --cgr didn't work properly).
  179. A serious bug was fixed in a basis factorization routine used
  180. on the dense phase. (The bug might appear only if the number of
  181. rows exceeded sqrt(2**31) ~= 46,340 and caused access violation
  182. exception because of integer overflow.) Thanks to Mark Meketon
  183. <Marc.Meketon@oliverwyman.com> for bug report.
  184. Two API routines glp_alloc and glp_realloc were documented.
  185. Thanks to Brian Gladman <brg@gladman.plus.com> for suggestion.
  186. Translation of the document "Modeling Language GNU MathProg"
  187. to Spanish was included (in LaTeX and pdf formats). Thanks to
  188. Pablo Yapura <ypf@agro.unlp.edu.ar> for contribution.
  189. GLPK 4.54 (release date: Mar 28, 2014)
  190. Block-triangular LU-factorization was implemented to be used
  191. on computing an initial factorization of the basis matrix.
  192. A new version of the Schur-complement-based factorization
  193. module was included in the package. Now it can be used along
  194. with plain as well as with block-triangular LU-factorization.
  195. Currently the following flags can be used to specify the type
  196. of the basis matrix factorization (glp_bfcp.type):
  197. GLP_BF_LUF + GLP_BF_FT LUF, Forrest-Tomlin update (default)
  198. GLP_BF_LUF + GLP_BF_BG LUF, Schur complement, Bartels-Golub
  199. update
  200. GLP_BF_LUF + GLP_BF_GR LUF, Schur complement, Givens rotation
  201. update
  202. GLP_BF_BTF + GLP_BF_BG BTF, Schur complement, Bartels-Golub
  203. update
  204. GLP_BF_BTF + GLP_BF_GR BTF, Schur complement, Givens rotation
  205. update
  206. In case of GLP_BF_FT the update is applied to matrix U, while
  207. in cases of GLP_BF_BG and GLP_BF_GR the update is applied to
  208. the Schur complement.
  209. Corresponding new options --luf and --btf were added to glpsol.
  210. For more details please see a new edition of the GLPK reference
  211. manual included in the distribution.
  212. A minor bug (in reporting the mip solution status) was fixed.
  213. Thanks to Remy Roy <remyroyster@gmail.com> for bug report.
  214. A call to "iodbc-config --cflags" was added in configure.ac
  215. to correctly detect iodbc flags. Thanks to Sebastien Villemot
  216. <sebastien@debian.org> for patch.
  217. GLPK 4.53 (release date: Feb 13, 2014)
  218. The API routine glp_read_mps was changed to remove free rows.
  219. A bug was fixed in the API routine glp_read_lp. Thanks to
  220. Gabriel Hackebeil <gabehack@gmail.com> for bug report.
  221. The zlib compression library used by some GLPK routines and
  222. included in the package was downgraded from 1.2.7 to 1.2.5 (as
  223. in GLPK 4.50) because of addressability bugs on some 64-bit
  224. platforms. Thanks to Carlo Baldassi <carlobaldassi@gmail.com>
  225. for bug report.
  226. A bug was fixed in a routine that reads gzipped files. Thanks
  227. to Achim Gaedke <achim.gaedke@gmail.com> for bug report.
  228. Two API routines glp_get_it_cnt and glp_set_it_cnt were added.
  229. Thanks to Joey Rios <joeylrios@hotmail.com> for suggestion.
  230. All obsolete GLPK API routines (prefixed with lpx) were removed
  231. from the package.
  232. A set of routines that simulate the old GLPK API (as defined
  233. in 4.48) were added; see examples/oldapi/api/lpx.c. Thanks to
  234. Jan Engelhardt <jengelh@inai.de> for suggestion.
  235. A namespace bug was fixed in the SQL table drive module. Thanks
  236. to Dennis Schridde <devurandom@gmx.net> for bug report.
  237. GLPK 4.52.1 (release date: Jul 28, 2013)
  238. This is a bug-fix release.
  239. A version information bug in Makefile.am was fixed. Thanks to
  240. Sebastien Villemot <sebastien@debian.org> for bug report.
  241. GLPK 4.52 (release date: Jul 18, 2013)
  242. The clique cut generator was essentially reimplemented, and now
  243. it is able to process very large and/or dense conflict graphs.
  244. A simple rounding heuristic was added to the MIP optimizer.
  245. Some bugs were fixed in the proximity search heuristic routine.
  246. Thanks to Giorgio Sartor <0gioker0@gmail.com>.
  247. New command-line option '--proxy [nnn]' was added to glpsol to
  248. enable using the proximity search heuristic.
  249. A bug (incorrect processing of LI column indicator) was fixed
  250. in the mps format reading routine. Thanks to Charles Brixko for
  251. bug report.
  252. GLPK 4.51 (release date: Jun 19, 2013)
  253. Singleton and dense phases were implemented on computing
  254. LU-factorization with Gaussian elimination. The singleton phase
  255. is a feature that allows processing row and column singletons
  256. on initial elimination steps more efficiently. The dense phase
  257. is a feature used on final elimination steps when the active
  258. submatrix becomes relatively dense. It significantly reduces
  259. the time needed, especially if the active submatrix fits in CPU
  260. cache, and improves numerical accuracy due to full pivoting.
  261. The API routine glp_adv_basis that constructs advanced initial
  262. LP basis was replaced by an improved version, which (unlike the
  263. old version) takes into account numerical values of constraint
  264. coefficients.
  265. The proximity search heuristic for MIP was included in the GLPK
  266. integer optimizer glp_intopt. On API level the heuristic can be
  267. enabled by setting the parameter ps_heur in glp_iocp to GLP_ON.
  268. This feature is also available in the solver glpsol through
  269. command-line option '--proxy'. Many thanks to Giorgio Sartor
  270. <0gioker0@gmail.com> for contribution.
  271. A bug was fixed that caused numerical instability in the FPUMP
  272. heuristic.
  273. GLPK 4.50 (release date: May 24, 2013)
  274. A new version of LU-factorization routines were added.
  275. Currently this version provides the same functionality as the
  276. old one, however, the new version allows further improving.
  277. Old routines for FHV-factorization used to update the basis
  278. factorization were replaced by a new version conforming to the
  279. new version of LU-factorization.
  280. Some clarifications about using the name index routines were
  281. added. Thanks to Xypron <xypron.glpk@gmx.de> for suggestion.
  282. Some typos were corrected in the MathProg language reference.
  283. Thanks to Jeffrey Kantor <Kantor.1@nd.edu> for report.
  284. A serious bug (out-of-range indexing error) was *tentatively*
  285. fixed in the routine glp_relax4. Unfortunatly, this bug is
  286. inherited from the original Fortran version of the RELAX-IV
  287. code (for details please see ChangeLog), and since the code is
  288. very intricate, the bug is still under investigation. Thanks to
  289. Sylvain Fournier for bug report.
  290. GLPK 4.49 (release date: Apr 16, 2013)
  291. The new API routine glp_mincost_relax4, which is a driver to
  292. relaxation method of Bertsekas and Tseng (RELAX-IV), was added
  293. to the package. RELAX-IV is a code for solving minimum cost
  294. flow problems. On large instances it is 100-1000 times faster
  295. than the standard primal simplex method. Prof. Bertsekas, the
  296. author of the original RELAX-IV Fortran code, kindly permitted
  297. to include a C translation of his code in GLPK under GPLv3.
  298. A bug (wrong dual feasibility test) was fixed in API routine
  299. glp_warm_up. Thanks to David T. Price <dtprice@speakeasy.net>
  300. for bug report.
  301. Obsolete API routine lpx_check_kkt was replaced by new routine
  302. glp_check_kkt.
  303. IMPORTANT: All old API routines whose names begin with 'lpx_'
  304. were removed from API level and NO MORE AVAILABLE.
  305. GLPK 4.48 (release date: Jan 28, 2013)
  306. This is a maintainer release.
  307. Some minor changes in API (glpk.h) were made. For details
  308. please see ChangeLog.
  309. Some bugs/typos were fixed. Thanks to
  310. Raniere Gaia Costa da Silva,
  311. Heinrich Schuchardt <xypron.glpk@gmx.de>, and
  312. Robbie Morrison <robbie@actrix.co.nz> for reports.
  313. GLPK 4.47 (release date: Sep 09, 2011)
  314. The new API routine glp_intfeas1 was added to the package.
  315. This routine is a tentative implementation of the integer (0-1)
  316. feasibility solver based on the CNF-SAT solver (which currently
  317. is MiniSat). It may be used in the same way as glp_intopt to
  318. find either any integer feasible solution or a solution, for
  319. which the objective function is not worse than the specified
  320. value. Detailed description of this routine can be found in the
  321. document "CNF Satisfiability Problem", which is included in the
  322. distribution (see doc/cnfsat.pdf).
  323. The following two options were added to glpsol:
  324. --minisat translate 0-1 feasibility problem to CNF-SAT
  325. problem and solve it with glp_intfeas1/MiniSat
  326. (if the problem instance is already in CNF-SAT
  327. format, no translation is performed)
  328. --objbnd bound add inequality obj <= bound (minimization) or
  329. obj >= bound (maximization) to 0-1 feasibility
  330. problem (this option assumes --minisat)
  331. The paint-by-numbers puzzle model (pbn.mod) included in the
  332. distribution is a nice example of the 0-1 feasibility problem,
  333. which can be efficiently solved with glp_intfeas1/MiniSat. This
  334. model along with a brief instruction (pbn.pdf) and benchmark
  335. examples from <webpbn.com> encoded in GNU MathProg (*.dat) can
  336. be found in subdirectory examples/pbn/.
  337. The glpsol lp/mip solver was modified to bypass postprocessing
  338. of MathProg models if the solution reported is neither optimal
  339. nor feasible.
  340. A minor bug in examples/Makefile.am was fixed to correctly
  341. build glpk in a separate directory. Thanks to Marco Atzeri
  342. <marco.atzeri@gmail.com> for bug report and patch.
  343. GLPK 4.46 (release date: Aug 09, 2011)
  344. The following new API routines were added:
  345. glp_read_cnfsat read CNF-SAT problem data in DIMACS format
  346. glp_check_cnfsat check for CNF-SAT problem instance
  347. glp_write_cnfsat write CNF-SAT problem data in DIMACS format
  348. glp_minisat1 solve CNF-SAT problem instance with MiniSat
  349. The routine glp_minisat1 is a driver to MiniSat, a CNF-SAT
  350. solver developed by Niklas Een and Niklas Sorensson, Chalmers
  351. University of Technology, Sweden. This routine is similar to
  352. the routine glp_intopt, however, it is intended to solve a 0-1
  353. programming problem instance, which is the MIP translation of
  354. a CNF-SAT problem instance.
  355. Detailed description of these new API routines can be found in
  356. the document "CNF Satisfiability Problem", which is included in
  357. the distribution (see files doc/cnfsat.tex and doc/cnfsat.pdf).
  358. The following new glpsol command-line options were added:
  359. --cnf filename read CNF-SAT problem instance in DIMACS
  360. format from filename and translate it to MIP
  361. --wcnf filename write CNF-SAT problem instance in DIMACS
  362. format to filename
  363. --minisat solve CNF-SAT problem instance with MiniSat
  364. solver
  365. The zlib compression library (version 1.2.5) was ANSIfied,
  366. modified according to GLPK requirements and included in the
  367. distribution as an external software module. Thus, now this
  368. feature is platform independent.
  369. Some bugs were fixed in the SQL table driver. Thanks to Xypron
  370. <xypron.glpk@gmx.de>.
  371. GLPK 4.45 (release date: Dec 05, 2010)
  372. This is a bug-fix release.
  373. Several bugs/typos were fixed. Thanks to
  374. Xypron <xypron.glpk@gmx.de>,
  375. Robbie Morrison <robbie@actrix.co.nz>, and
  376. Ali Baharev <ali.baharev@gmail.com> for reports.
  377. Some glpk documents was re-formatted and merged into a single
  378. document. Now the glpk documentation consists of the following
  379. three main documents (all included in the distribution):
  380. GLPK: Reference Manual
  381. GLPK: Graph and Network Routines
  382. Modeling Language GNU MathProg: Language Reference
  383. GLPK 4.44 (release date: Jun 03, 2010)
  384. The following suffixes for variables and constraints were
  385. implemented in the MathProg language:
  386. .lb (lower bound),
  387. .ub (upper bound),
  388. .status (status in the solution),
  389. .val (primal value), and
  390. .dual (dual value).
  391. Thanks to Xypron <xypron.glpk@gmx.de> for draft implementation
  392. and testing.
  393. Now the MathProg language allows comment records (marked by
  394. '#' in the very first position) in CSV data files read with the
  395. table statements. Note that the comment records may appear only
  396. in the beginning of a CSV data file.
  397. The API routine glp_cpp to solve the Critical Path Problem was
  398. added and documented.
  399. GLPK 4.43 (release date: Feb 20, 2010)
  400. This is a maintainer release.
  401. `configure.ac' was changed to allow building the package under
  402. Mac OS and Darwin with ODBC support.
  403. Thanks to Xypron <xypron.glpk@gmx.de> for suggestions and Noli
  404. Sicad <nsicad@gmail.com> for testing.
  405. The SQL table driver was improved to process NULL data. Thanks
  406. to Xypron <xypron.glpk@gmx.de>.
  407. Some bugs were fixed in the LP/MIP preprocessor.
  408. GLPK 4.42 (release date: Jan 13, 2010)
  409. The following new API routines were added:
  410. glp_check_dup check for duplicate elements in sparse
  411. matrix
  412. glp_sort_matrix sort elements of the constraint matrix
  413. glp_read_prob read problem data in GLPK format
  414. glp_write_prob write problem data in GLPK format
  415. glp_analyze_bound analyze active bound of non-basic variable
  416. glp_analyze_coef analyze objective coefficient at basic
  417. variable
  418. glp_print_ranges print sensitivity analysis report (this
  419. routine replaces lpx_print_sens_bnds and
  420. makes it deprecated)
  421. For description of these new routines and the GLPK LP/MIP
  422. format see a new edition of the reference manual included in
  423. the distribution. (Chapter "Graph and network API routines" was
  424. carried out from the main reference manual and included in the
  425. distribution as a separate document.)
  426. The following new command-line options were added to the stand-
  427. alone solver glpsol:
  428. --glp filename read problem data in GLPK format
  429. --wglp filename write problem data in GLPK format
  430. --ranges filename print sensitivity analysis report (this
  431. option replaces --bounds)
  432. Now all GLPK routines performing file I/O support special
  433. filenames "/dev/stdin", "/dev/stdout", and "/dev/stderr", which
  434. can be specified in the same way as regular filenames. This
  435. feature is plaform-independent.
  436. GLPK 4.41 (release date: Dec 21, 2009)
  437. The following new API routies were added:
  438. glp_transform_row transform explicitly specified row
  439. glp_transform_col transform explicitly specified column
  440. glp_prim_rtest perform primal ratio test
  441. glp_dual_rtest perform dual ratio test
  442. For description of these new routines see a new edition of the
  443. reference manual included in the distribution.
  444. The following API routines are deprecated: lpx_transform_row,
  445. lpx_transform_col, lpx_prim_ratio_test, lpx_dual_ratio_test.
  446. Some improvements were made in the MIP solver (glp_intopt).
  447. The SQL table driver used to read/write data in MathProg models
  448. was changed to allow multiple arguments separated by semicolon
  449. in SQL statements. Thanks to Xypron <xypron.glpk@gmx.de>.
  450. Two new options were added to the glpsol stand-alone solver:
  451. --seed value (to initialize the pseudo-random number generator
  452. used in MathProg models with specified value), and
  453. --ini filename (to use a basis previously saved with -w option
  454. as an initial basis on solving similar LP's).
  455. Two new MathProg example models were included. Thanks to
  456. Nigel Galloway <nigel_galloway@operamail.com> and Noli Sicad
  457. <nsicad@gmail.com> for contribution.
  458. Scripts to build GLPK with Microsoft Visual Studio 2010 for
  459. both 32-bit and 64-bit Windows were included. Thanks to Xypron
  460. <xypron.glpk@gmx.de> for contribution and testing.
  461. GLPK 4.40 (release date: Nov 03, 2009)
  462. The following new API routines were added:
  463. glp_del_vertices remove vertices from graph
  464. glp_del_arc remove arc from graph
  465. glp_wclique_exact find maximum weight clique with the exact
  466. algorithm developed by Prof. P. Ostergard
  467. glp_read_ccdata read graph in DIMACS clique/coloring
  468. format
  469. glp_write_ccdata write graph in DIMACS clique/coloring
  470. format
  471. For description of these new routines see a new edition of the
  472. reference manual included in the distribution.
  473. The hybrid pseudocost branching heuristic was included in the
  474. MIP solver. It is available on API level (iocp.br_tech should
  475. be set to GLP_BR_PCH) and in the stand-alone solver glpsol
  476. (via the command-line option --pcost). This heuristic may be
  477. useful on solving hard MIP instances.
  478. The branching heuristic by Driebeck and Tomlin (used in the
  479. MIP solver by default) was changed to switch to branching on
  480. most fractional variable if an lower bound of degradation of
  481. the objective is close to zero for all branching candidates.
  482. A bug was fixed in the LP preprocessor (routine npp_empty_col).
  483. Thanks to Stefan Vigerske <stefan@math.hu-berlin.de> for the
  484. bug report.
  485. A bug was fixed and some improvements were made in the FPUMP
  486. heuristic module. Thanks to Xypron <xypron.glpk@gmx.de>.
  487. A bug was fixed in the API routine glp_warm_up (dual
  488. feasibility test was incorrect in maximization case). Thanks to
  489. Uday Venkatadri <Uday.Venkatadri@dal.ca> for the bug report.
  490. GLPK 4.39 (release date: Jul 26, 2009)
  491. The following new API routines were added:
  492. glp_warm_up "warm up" LP basis
  493. glp_set_vertex_name assign (change) vertex name
  494. glp_create_v_index create vertex name index
  495. glp_find_vertex find vertex by its name
  496. glp_delete_v_index delete vertex name index
  497. glp_read_asnprob read assignment problem data in DIMACS
  498. format
  499. glp_write_asnprob write assignment problem data in DIMACS
  500. format
  501. glp_check_asnprob check correctness of assignment problem
  502. data
  503. glp_asnprob_lp convert assignment problem to LP
  504. glp_asnprob_okalg solve assignment problem with the
  505. out-of-kilter algorithm
  506. glp_asnprob_hall find bipartite matching of maxumum
  507. cardinality with Hall's algorithm
  508. Also were added some API routines to read plain data files.
  509. The API routines glp_read_lp and glp_write_lp to read/write
  510. files in CPLEX LP format were re-implemented. Now glp_write_lp
  511. correctly writes double-bounded (ranged) rows by introducing
  512. slack variables rather than by duplicating the rows.
  513. For description of these new routines see a new edition of the
  514. reference manual included in the distribution.
  515. The 'xfree(NULL)' bug was fixed in the AMD routines. Thanks to
  516. Niels Klitgord <niels@bu.edu> for bug report.
  517. The message "Crashing..." was changed to "Constructing initial
  518. basis..." due to suggestion by Thomas Kahle <tom111@gmx.de>.
  519. Some typos were corrected in glpsol output messages. Thanks to
  520. Xypron <xypron.glpk@gmx.de> for patch.
  521. GLPK 4.38 (release date: May 02, 2009)
  522. API routines glp_read_mps and glp_write_mps were improved.
  523. Some improvements were made in the dual simplex routines.
  524. Two external software modules AMD and COLAMD were included in
  525. the distribution (for more details please see src/amd/README
  526. and src/colamd/README). Now they are used in the interior-point
  527. solver to reorder the matrix prior to Cholesky factorization.
  528. API routine glp_ipt_status may return two new statuses due to
  529. changes in the routine glp_interior. For details please see the
  530. reference manual included in the distribution.
  531. A minor bug was fixed in the graph/network routines. Thanks to
  532. Nelson H. F. Beebe <beebe@math.utah.edu> for bug report.
  533. GLPK 4.37 (release date: Mar 29, 2009)
  534. The 0-1 Feasibility Pump heuristic was included in the GLPK
  535. integer optimizer glp_intopt. On API level the heuristic can be
  536. enabled by setting the parameter fp_heur in glp_iocp to GLP_ON.
  537. This feature is also available in the solver glpsol through
  538. command-line option '--fpump'. For more details please see the
  539. reference manual included in the distribution.
  540. The following new API routines were added:
  541. glp_print_sol write basic solution in printable format
  542. glp_print_ipt write interior-point solution in printable
  543. format
  544. glp_print_mip write MIP solution in printable format
  545. glp_read_graph read (di)graph from plain text file
  546. glp_write_graph write (di)graph to plain text file
  547. glp_weak_comp find all weakly connected components
  548. glp_strong_comp find all strongly connected components
  549. The following API routines are deprecated: lpx_print_sol,
  550. lpx_print_ips, lpx_print_mip, lpx_print_prob (the latter is
  551. equivalent to glp_write_lp).
  552. A bug was fixed in the interior-point solver (glp_interior) to
  553. correctly compute dual solution components when the problem is
  554. scaled.
  555. The files configure.ac and Makefile.am were changed:
  556. (a) to allow using autoreconf/autoheader;
  557. (b) to allow building the package in a directory other than its
  558. source directory.
  559. Thanks to Marco Atzeri <marco_atzeri@yahoo.it> for bug report.
  560. An example model in the GNU MathProg language was added.
  561. Thanks to Larry D'Agostino <Larry.D'Agostino@gmacrescap.com> for
  562. contribution.
  563. GLPK 4.36 (release date: Feb 06, 2009)
  564. The following new API routines were added to the package:
  565. glp_mincost_okalg find minimum-cost flow with out-of-kilter
  566. algorithm
  567. glp_maxflow_ffalg find maximal flow with Ford-Fulkerson
  568. algorithm
  569. For detailed description of these new routines and related data
  570. structures see chapter "Graph and Network API Routines" in a new
  571. edition of the reference manual included in the distribution.
  572. The following two new command-line options were added to the
  573. solver glpsol:
  574. --mincost read min-cost flow data in DIMACS format
  575. --maxflow read maximum flow data in DIMACS format
  576. Duplicate symbols in the header glpk.h were removed to allow
  577. using swig.
  578. Thanks to Kelly Westbrooks <kellywestbrooks@yahoo.com> and
  579. Nigel Galloway <nigel_galloway@operamail.com> for suggestion.
  580. A minor defect was fixed in the routine glp_write_lp.
  581. Thanks to Sebastien Briais <sbriais@free.fr> for bug report.
  582. A minor bug was fixed in the SQL module.
  583. Thanks to Xypron <xypron.glpk@gmx.de> for patch.
  584. Some new example models in the GNU MathProg modeling language
  585. were added. Thanks to Sebastian Nowozin <nowozin@gmail.com> and
  586. Nigel Galloway <nigel_galloway@operamail.com> for contribution.
  587. GLPK 4.35 (release date: Jan 09, 2009)
  588. The following new API routines were added to the package:
  589. glp_create_graph create graph
  590. glp_set_graph_name assign (change) graph name
  591. glp_add_vertices add new vertices to graph
  592. glp_add_arc add new arc to graph
  593. glp_erase_graph erase graph content
  594. glp_delete_graph delete graph
  595. glp_read_mincost read minimum cost flow problem data in
  596. DIMACS format
  597. glp_write_mincost write minimum cost flow problem data in
  598. DIMACS format
  599. glp_mincost_lp convert minimum cost flow problem to LP
  600. glp_netgen Klingman's network problem generator
  601. glp_gridgen grid-like network problem generator
  602. glp_read_maxflow read maximum flow problem data in DIMACS
  603. format
  604. glp_write_maxflow write maximum flow problem data in DIMACS
  605. format
  606. glp_maxflow_lp convert maximum flow problem to LP
  607. glp_rmfgen Goldfarb's maximum flow problem generator
  608. For detailed description of these new routines and related data
  609. structures see chapter "Graph and Network API Routines" in a new
  610. edition of the reference manual included in the distribution.
  611. A minor change were made in the internal routine xputc. Thanks
  612. to Luiz Bettoni <bettoni@cpgei.ct.utfpr.edu.br> for suggestion.
  613. A minor bug was fixed in the internal routine mpl_fn_time2str.
  614. Thanks to Stefan Vigerske <stefan@vigerske.de> for bug report.
  615. GLPK 4.34 (release date: Dec 04, 2008)
  616. The GNU MathProg modeling language was supplemented with three
  617. new built-in functions:
  618. gmtime obtaining current calendar time
  619. str2time converting character string to calendar time
  620. time2str converting calendar time to character string
  621. (Thanks to Xypron <xypron.glpk@gmx.de>.)
  622. For detailed description of these functions see Appendix A in
  623. the document "Modeling Language GNU MathProg", a new edition of
  624. which was included in the distribution.
  625. A bug was fixed in the MIP solver. Thanks to Nigel Galloway
  626. <nigel_galloway@operamail.com> for bug report.
  627. A new makefile was added to build the GLPK DLL with Microsoft
  628. Visual Studio Express 2008 for 64-bit Windows. Thanks to Xypron
  629. <xypron.glpk@gmx.de> for contribution and testing.
  630. GLPK 4.33 (release date: Oct 30, 2008)
  631. The following new API routines were added to the package:
  632. glp_copy_prob copy problem object content
  633. glp_exact solve LP in exact arithmetic
  634. (makes lpx_exact deprecated)
  635. glp_get_unbnd_ray determine variable causing unboundedness
  636. (makes lpx_get_ray_info deprecated)
  637. glp_interior solve LP with interior-point method
  638. (makes lpx_interior deprecated)
  639. The following new API routines for processing models written in
  640. the GNU Mathprog language were added to the package:
  641. glp_mpl_alloc_wksp allocate the translator workspace
  642. glp_mpl_read_model read and translate model section
  643. glp_mpl_read_data read and translate data section
  644. glp_mpl_generate generate the model
  645. glp_mpl_build_prob build LP/MIP instance from the model
  646. glp_mpl_postsolve postsolve the model
  647. glp_mpl_free_wksp deallocate the translator workspace
  648. (These routines make lpx_read_model deprecated.)
  649. For description of all these new API routines see the reference
  650. manual included in the distribution.
  651. A crude implementation of CPLEX-like interface to GLPK API was
  652. added to the package. Currently it allows using GLPK as a core
  653. LP solver for Concorde, a well known computer code for solving
  654. the symmetric TSP. For details see examples/cplex/README.
  655. Some bugs were fixed in the SQL table driver. Thanks to Xypron
  656. <xypron.glpk@gmx.de>.
  657. GLPK 4.32 (release date: Oct 03, 2008)
  658. The following new features were included in the MIP solver
  659. (the API routine glp_intopt):
  660. * MIP presolver
  661. * mixed cover cut generator
  662. * clique cut generator
  663. * Euclidean reduction of the objective value
  664. Due to changes the routine glp_intopt may additionally return
  665. GLP_ENOPFS, GLP_ENODFS, and GLP_EMIPGAP.
  666. The API routines lpx_integer are lpx_intopt are deprecated,
  667. since they are completely superseded by glp_intopt.
  668. The following new branch-and-cut API routines were added:
  669. glp_ios_row_attr determine additional row attributes
  670. glp_ios_pool_size determine current size of the cut pool
  671. glp_ios_add_row add constraint to the cut pool
  672. glp_ios_del_row delete constraint from the cut pool
  673. glp_ios_clear_pool delete all constraints from the cut pool
  674. For description of these new routines see the reference manual
  675. included in the distribution.
  676. The stand-alone solver glpsol was changed to allow multiple
  677. data files.
  678. A new edition of the supplement "Using Data Tables in the GNU
  679. MathProg Modeling Language" was included.
  680. As usual, some bugs were fixed (in the MathProg translator).
  681. Thanks to Xypron <xypron.glpk@gmx.de>.
  682. GLPK 4.31 (release date: Sep 02, 2008)
  683. The core LP solver based on the dual simplex method was
  684. re-implemented and now it provides both phases I and II.
  685. The following new API routines were added:
  686. glp_scale_prob automatic scaling of problem data
  687. glp_std_basis construct standard initial LP basis
  688. glp_adv_basis construct advanced initial LP basis
  689. glp_cpx_basis construct Bixby's initial LP basis
  690. For description of these new routines see the reference manual
  691. included in the distribution.
  692. The following API routines are deprecated:
  693. lpx_scale_prob, lpx_std_basis, lpx_adv_basis, lpx_cpx_basis.
  694. Necessary changes were made in memory allocation routines to
  695. resolve portability issues for 64-bit platforms.
  696. New version of the routine lpx_write_pb to write problem data
  697. in OPB (pseudo boolean format) was added to the package. Thanks
  698. to Oscar Gustafsson <oscarg@isy.liu.se> for the contribution.
  699. Two new makefiles were added to build the package for 32- and
  700. 64-bit Windows with Microsoft Visual Studio Express 2008.
  701. Thanks to Heinrich Schuchardt <heinrich.schuchardt@gmx.de> (aka
  702. Xypron) for the contribution and testing.
  703. Two new makefiles were added to build the package with Digital
  704. Mars C/C++ 8.50 and Open Watcom C/C++ 1.6 (for 32-bit Windows).
  705. GLPK 4.30 (release date: Aug 13, 2008)
  706. The core LP solver based on the primal simplex method was
  707. re-implemented to allow its further improvements. Currently the
  708. new version provides the same features as the old one, however,
  709. it is a bit faster and more numerically stable.
  710. Some changes were made in the MathProg translator to allow <,
  711. <=, >=, and > on comparing symbolic values. Thanks to Heinrich
  712. Schuchardt <heinrich.schuchardt@gmx.de> for patches.
  713. Internal routine set_d_eps in the exact LP solver was changed
  714. to prevent approximation errors in case of integral data.
  715. Thanks to Markus Pilz <pilz@cs.uni-bonn.de> for bug report.
  716. GLPK 4.29 (release date: Jul 06, 2008)
  717. The configure script was changed to disable all optional
  718. features by default. For details please see file INSTALL.
  719. The following new API routines were added:
  720. glp_erase_prob erase problem object content
  721. glp_read_mps read problem data in MPS format
  722. glp_write_mps write problem data in MPS format
  723. glp_read_lp read problem data in CPLEX LP format
  724. glp_write_lp write problem data in CPLEX LP format
  725. For description of these new routines see the reference manual
  726. included in the distribution.
  727. The following API routines are deprecated:
  728. lpx_read_mps, lpx_read_freemps, lpx_write_mps,
  729. lpx_write_freemps, lpx_read_cpxlp, and lpx_write_cpxlp.
  730. Two bugs were fixed. Thanks to
  731. Anne-Laurence Putz <anne-laurence.putz@eurodecision.com> and
  732. Xypron <xypron.glpk@gmx.de> for bug report.
  733. GLPK 4.28 (release date: Mar 25, 2008)
  734. The iODBC and MySQL table drivers, which allows transmitting
  735. data between MathProg model objects and relational databases,
  736. were re-implemented to replace a static linking by a dynamic
  737. linking to corresponding shared libraries.
  738. Many thanks to Heinrich Schuchardt <heinrich.schuchardt@gmx.de>
  739. for the contribution, Rafael Laboissiere <rafael@debian.org>
  740. for useful advices concerning the shared library support under
  741. GNU/Linux, and Vijay Patil <vijay.patil@gmail.com> for testing
  742. this feature under Windows XP.
  743. A new optional feature was added to the package. This feature
  744. is based on the zlib data compression library and allows GLPK
  745. API routines and the stand-alone solver to read and write
  746. compressed data files performing compression/decompression "on
  747. the fly" (compressed data files are recognized by suffix `.gz'
  748. in the file name). It may be useful in case of large MPS files
  749. to save the disk space (up to ten times).
  750. The `configure' script was re-implemented. Now it supports the
  751. following specific options:
  752. --with-gmp Enable using the GNU MP bignum library
  753. --without-gmp Disable using the GNU MP bignum library
  754. --with-zlib Enable using the zlib data compression
  755. library
  756. --without-zlib Disable using the zlib data compression
  757. library
  758. --enable-dl Enable shared library support (auto check)
  759. --enable-dl=ltdl Enable shared library support (GNU)
  760. --enable-dl=dlfcn Enable shared library support (POSIX)
  761. --disable-dl Disable shared library support
  762. --enable-odbc Enable using ODBC table driver
  763. --disable-odbc Disable using ODBC table driver
  764. --enable-mysql Enable using MySQL table driver
  765. --disable-mysql Disable using MySQL table driver
  766. For more details please see file INSTALL.
  767. GLPK 4.27 (release date: Mar 02, 2008)
  768. Three new table drivers were added to the MathProg translator:
  769. xBASE built-in table driver, which allows reading and writing
  770. data in .dbf format (only C and N fields are supported);
  771. MySQL table driver, which provides connection to a MySQL
  772. database;
  773. iODBC table driver, which provides connection to a database
  774. through ODBC.
  775. The MySQL and iODBC table drivers were contributed to GLPK by
  776. Heinrich Schuchardt <heinrich.schuchardt@gmx.de>.
  777. The table driver is a program module which allows transmitting
  778. data between MathProg model objects and external data tables.
  779. For detailed description of the table statement and table
  780. drivers see the document "Using Data Tables in the GNU MathProg
  781. Modeling Language" (file doc/tables.txt) included in the
  782. distribution. Some examples which demonstrate using MySQL and
  783. iODBC table drivers can be found in subdirectory examples/sql.
  784. GLPK 4.26 (release date: Feb 17, 2008)
  785. The table statement was implemented in the GNU MathProg
  786. modeling language. This new feature allows reading data from
  787. external tables into model objects such as sets and parameters
  788. as well as writing results of computations to external tables.
  789. A table is a (unordered) set of records, where each record
  790. consists of the same number of fields, and each field is
  791. provided with a unique symbolic name called the field name.
  792. Currently the GLPK package has the only built-in table driver,
  793. which supports tables in the CSV (comma-separated values) file
  794. format. This format is very simple and supported by almost all
  795. spreadsheets and database management systems.
  796. Detailed description of the table statement and CSV format can
  797. be found in file doc/tables.txt, included in the distribution.
  798. GLPK 4.25 (release date: Dec 19, 2007)
  799. A tentative implementation of Gomory's mixed integer cuts was
  800. included in the branch-and-cut solver. To enable generating
  801. Gomory's cuts the control parameter gmi_cuts passed to the
  802. routine glp_intopt should be set to GLP_ON. This feature is
  803. also available in the solver glpsol through command-line option
  804. '--gomory'. For more details please see the reference manual
  805. included in the distribution.
  806. GLPK 4.24 (release date: Nov 21, 2007)
  807. A tentative implementation of MIR (mixed integer rounding) cuts
  808. was included in the MIP solver. To enable generating MIR cuts
  809. the control parameter mir_cuts passed to the routine glp_intopt
  810. should be set to GLP_ON. This feature is also available in the
  811. stand-alone solver glpsol via command-line option '--mir'. For
  812. more details please see the reference manual included in the
  813. distribution.
  814. The implementation is mainly based on the following two papers:
  815. 1. H. Marchand and L. A. Wolsey. Aggregation and mixed integer
  816. rounding to solve MIPs. CORE discussion paper 9839, CORE,
  817. Universite catholique de Louvain, June 1998.
  818. 2. G. Andreello, A. Caprara, and M. Fischetti. Embedding cuts
  819. in a Branch&Cut framework. Preliminary draft, October 2003.
  820. MIR cuts can be generated on any level of the search tree that
  821. makes the GLPK MIP solver to be a real branch-and-cut solver.
  822. A bug was fixed in the routine lpx_write_cpxlp. If a variable
  823. x has upper bound and no lower bound, it should appear in the
  824. bounds section as "-inf <= x <= u", not as "x <= u". Thanks to
  825. Enric Rodriguez <erodri@lsi.upc.edu> for the bug report.
  826. GLPK 4.23 (release date: Oct 28, 2007)
  827. The following new API routines were added:
  828. glp_read_sol read basic solution from text file
  829. glp_write_sol write basic solution to text file
  830. glp_read_ipt read interior-point solution from text file
  831. glp_write_ipt write interior-point solution to text file
  832. glp_read_mip read MIP solution from text file
  833. glp_write_mip write MIP solution to text file
  834. For description of these routines and corresponding file
  835. formats see Chapter "API Routines", Section "Utility routines"
  836. in the reference manual included in the distribution.
  837. Advanced API routine glp_free_env was added. It may be used by
  838. the application program to free all resources allocated by GLPK
  839. routines.
  840. The following three new command-line options were added to the
  841. solver glpsol:
  842. --mipgap tol set relative MIP gap tolerance
  843. -r filename read solution from filename
  844. -w filename write solution to filename
  845. GLPK 4.22 (release date: Sep 19, 2007)
  846. This is a maintainer release.
  847. A bug was fixed in the MIP preprocessor (ios_preprocess_node).
  848. Thanks to Roberto Bagnara <bagnara@cs.unipr.it> (Department of
  849. Mathematics, University of Parma, Italy) for the bug report.
  850. A bug was fixed in the MIP preprocessor (col_implied_bounds),
  851. due to which constraint coefficients with small magnitude could
  852. lead to wrong implied bounds of structural variables.
  853. A similar bug was fixed in the routine reduce_bounds.
  854. A bug was fixed in the routines glp_set_mat_row and
  855. glp_set_mat_col. (The bug appeared due to incorrect removing
  856. zero elements from the row/column lists.)
  857. A bug was fixed in the API routines lpx_read_mps and
  858. lpx_read_freemps, due to which bounds of type LI specified in
  859. BOUNDS section were incorrectly processed.
  860. A call to standard function vsprintf was replaced by a call to
  861. vsnprintf for security reasons. Many thanks to Peter T. Breuer
  862. <ptb@inv.it.uc3m.es> and Rafael Laboissiere <rafael@debian.org>.
  863. GLPK 4.21 (release date: Aug 28, 2007)
  864. Additional reasons for calling the callback routine used in the
  865. MIP solver (glp_intopt) were introduced. Currently the following
  866. reasons are supported:
  867. * request for subproblem selection
  868. * request for preprocessing
  869. * request for row generation
  870. * request for heuristic solution
  871. * request for cut generation
  872. * request for branching
  873. * better integer solution found
  874. A basic preprocessing component used to improve subproblem
  875. formulations by tightening bounds of variables was included in
  876. the MIP solver. Depending on the control parameter pp_tech
  877. passed to the routine glp_intopt the preprocessing can be
  878. performed either on the root level or on all levels (default)
  879. or can be disabled.
  880. Backtracking heuristic used by default in the MIP solver was
  881. changed to the "best local bound".
  882. For more details see Chapter "Advanced API routines", Section
  883. "Branch-and-bound interface routines" in a new edition of the
  884. reference manual included in the distribution.
  885. GLPK 4.20 (release date: Jul 26, 2007)
  886. API routine lpx_integer was replaced by API routine glp_intopt,
  887. which provides equivalent functionality and additionally allows
  888. the application to control the solution process by means of the
  889. user-written callback routine, which is called by the solver at
  890. various points of the branch-and-bound algorithm. Besides, the
  891. new MIP solver allows generating "lazy" constraints and cutting
  892. planes on all levels of the branch-and-bound tree, not only on
  893. the root level. The routine lpx_integer is also still available
  894. for the backward compatibility.
  895. The following new advanced API routines, which may be called
  896. from the B&B callback routine, were included in the package:
  897. glp_ios_reason determine reason for calling callback
  898. routine
  899. glp_ios_get_prob access the problem object
  900. glp_ios_tree_size determine size of the branch-and-bound tree
  901. glp_ios_curr_node determine current active subproblem
  902. glp_ios_next_node determine next active subproblem
  903. glp_ios_prev_node determine previous active subproblem
  904. glp_ios_up_node determine parent subproblem
  905. glp_ios_node_level determine subproblem level
  906. glp_ios_node_bound determine subproblem local bound
  907. glp_ios_mip_gap compute relative MIP gap
  908. glp_ios_heur_sol provide solution found by heuristic
  909. glp_ios_terminate terminate the solution process
  910. For description of these routines see Chapter "Advanced API
  911. routines", Section "Branch-and-bound interface routines" in a
  912. new edition of the reference manual, which was included in the
  913. distribution.
  914. Old version of the integer optimization suite (IOS) as well as
  915. TSP solver tspsol based on it are no longer supported and were
  916. removed from the package.
  917. A minor error in the MIP presolver was fixed; thanks to Graham
  918. Rockwell <bionomicron@gmail.com> for the bug report.
  919. GLPK 4.19 (release date: Jul 05, 2007)
  920. The principal change is upgrading to GPLv3.
  921. A serious bug in the routine glp_del_cols was fixed; thanks to
  922. Cedric[FR] <fox2113@wanadoo.fr> for the bug report. The bug
  923. appeared because on deleting non-basic columns the basis header
  924. remained valid, however, contained invalid (old) column ordinal
  925. numbers.
  926. A new advanced API routine glp_mem_limit was added.
  927. The case GLP_EBOUND was added to the routine lpx_simplex.
  928. Thanks to Cameron Kellough <Cameron.Kellough@sri.com> for the
  929. bug report.
  930. An API routine lpx_write_pb to write the problem instance in
  931. OPB (pseudo boolean) format format was added. Thanks to Oscar
  932. Gustafsson <oscarg@isy.liu.se> for the contribution.
  933. Two new options --wpb and --wnpb were added to glpsol to write
  934. the problem instance in OPB format.
  935. GLPK 4.18 (release date: Jun 25, 2007)
  936. The following new API routines were added:
  937. glp_set_rii set (change) row scale factor
  938. glp_set_sjj set (change) column scale factor
  939. glp_get_rii retrieve row scale factor
  940. glp_get_sjj retrieve column scale factor
  941. glp_simplex solve LP problem with the simplex method
  942. (this routine replaces lpx_simplex, which is
  943. also available for backward compatibility)
  944. glp_init_smcp initialize simplex method control params
  945. glp_bf_exists check if the basis factorization exists
  946. glp_factorize compute the basis factorization
  947. glp_bf_updated check if the basis factorization has been
  948. updated
  949. glp_get_bfcp retrieve basis factorization control params
  950. glp_set_bfcp change basis factorization control params
  951. glp_get_bhead retrieve the basis header information
  952. glp_get_row_bind retrieve row index in the basis header
  953. glp_get_col_bind retrieve column index in the basis header
  954. glp_ftran perform forward transformation
  955. glp_btran perform backward transformation
  956. For description of all these routines see a new edition of the
  957. reference manual included in the distribution.
  958. Type names ulong_t and uldiv_t were changed to glp_ulong and
  959. glp_uldiv to avoid conflicts with standard type names on some
  960. platforms. Thanks to Boris Wirtz <Boris.Wirtz@uni-oldenburg.de>
  961. for the bug report.
  962. Some new examples in the MathProg language were added. Thanks
  963. to Sebastian Nowozin <nowozin@gmail.com>.
  964. GLPK 4.17 (release date: May 26, 2007)
  965. API routines glp_set_mat_row, glp_set_mat_col, and glp_load_mat
  966. were modified to allow zero constraint coefficients (which are
  967. not stored in the constraint matrix). Note that constraint
  968. coefficients with duplicate row/column indices are not allowed.
  969. Another form of LP basis factorization was implemented in the
  970. package. It is based on LU-factorization of an initial basis
  971. and Schur complement to reflect changes in the basis. Currently
  972. the implementation is incomplete and provides only updating the
  973. factorization on replacing a column of the basis matrix. On API
  974. level the user can set the control parameter LPX_K_BFTYPE to
  975. choose between the folloiwng forms of LP basis factorization to
  976. be used in the simplex method routines:
  977. 1) LU + Forrest-Tomlin update;
  978. 2) LU + Schur complement + Bartels-Golub update;
  979. 3) LU + Schur complement + Givens rotation update.
  980. The GLPK implementation is similar to LUSOL/LUMOD developed by
  981. Michael A. Saunders.
  982. The user can choose the form of LP basis factorzation used by
  983. the simplex method routines by specifying the folloiwng options
  984. of glpsol: --luf, --cbg, --cgr.
  985. GLPK 4.16 (release date: May 05, 2007)
  986. A number of basic GLPK API routines, which now are in the
  987. stable stable, were renamed to be prefixed with 'glp_'. Note
  988. that all these routines are available via their old names
  989. prefixed with 'lpx_' that keeps the downward compatibility with
  990. older versions of the package.
  991. Three new GLPK API routines were added to the package:
  992. glp_version, glp_term_hook, and glp_mem_usage; for more details
  993. see a new edition of the GLPK reference manual included in the
  994. distribution. The routine glp_version reports the actual version
  995. of the GLPK library and also can be used (along with the header
  996. glpk.h) in Autotools specification files to check if the GLPK
  997. library has been installed.
  998. The header glpk.h was changed to conform to C++ environment.
  999. GLPK 4.15 (release date: Feb 18, 2007)
  1000. Autotools specification files (configure.ac, Makefile.am) were
  1001. changed to use GNU Libtool. This allows building the static as
  1002. well as shared GLPK library.
  1003. GLPK 4.14 (release date: Feb 05, 2007)
  1004. Now GLPK conforms to ILP32, LLP64, and LP64 programming models
  1005. (the latter seems to be the ultimate choice regarding 64-bit
  1006. architectures). Note that GLPK itself is a 32-bit application,
  1007. and the conformity only means that the package works correctly
  1008. on all these arenae. Nevertheless, on 64-bit platforms it is
  1009. possible to use more than 4GB of memory, if necessary.
  1010. GLPK 4.13 (release date: Nov 13, 2006)
  1011. A tentative implementation of the "exact" simplex method based
  1012. on bignum (rational) arithmetic was included in the package.
  1013. On API level this new feature is available through the routine
  1014. lpx_exact, which is similar to the routine lpx_simplex.
  1015. In the solver glpsol this feature is available through two new
  1016. command-line options: --exact and --xcheck. If the '--exact'
  1017. option is specified, glpsol solves LP instance using the exact
  1018. simplex method; in case of MIP it is used to obtain optimal
  1019. solution of LP relaxation. If the --xcheck option is specified,
  1020. LP instance (or LP relaxation) is solved using the standard
  1021. (floating-point) simplex method, however, then glpsol calls the
  1022. exact simplex routine to make sure that the final LP basis is
  1023. exactly optimal, and if it is not, to perform some additional
  1024. simplex iterations in exact arithmetic.
  1025. GLPK 4.12 (release date: Nov 08, 2006)
  1026. A tentative implementation of some simplex method routines
  1027. based on exact (bignum) arithmetic was included in the package.
  1028. Currently these routines provide computing LU-factorization of
  1029. the basis matrix and computing components of basic solution.
  1030. These routines were used to implement a routine, which checks
  1031. primal and dual feasibility of basic solution exactly, i.e. in
  1032. rational numbers, without round-off errors. In glpsol this
  1033. feature is available through the command-line option --xcheck.
  1034. GLPK has its own low-level routines implementing operations on
  1035. integer and rational numbers that makes it independent on other
  1036. software packages. However, to attain a much better performance
  1037. it is highly recommended to install (before configuring GLPK)
  1038. the GNU Multiple Precision Arithmetic Library (GMP). Using GMP
  1039. makes computations 100-200 times faster.
  1040. GLPK 4.11 (release date: Jul 25, 2006)
  1041. Three new built-in functions in the modeling language were
  1042. implemented: card (cardinality of set), length (length of
  1043. character string), and substr (substring of character string).
  1044. Another improvement concerns the printf statement which now
  1045. allows redirecting its output to a specified file. These new
  1046. features are illustrated in example models crypto.mod and
  1047. graph.mod included in the distribution. For more details see
  1048. the document "Modeling Language GNU MathProg".
  1049. Four batch files (along with corresponding makefiles) were
  1050. included in the distribution to simplify building GLPK under
  1051. MS Windows; see them in subdirectory 'w32'.
  1052. GLPK 4.10 (release date: May 11, 2006)
  1053. Cutting planes of two new classes were implemented: mixed cover
  1054. cuts and clique cuts. On API level this feature can be enabled
  1055. by setting control parameter LPX_K_USECUTS passed to the routine
  1056. lpx_intopt. In glpsol this feature is available through the
  1057. command-line options --cover and --clique. For more details see
  1058. the reference manual.
  1059. Now the routines lpx_read_mps and lpx_read_freemps support LI
  1060. bound type. It is similar to LO, however, indicates the column
  1061. as of integer kind.
  1062. GLPK 4.9 (release date: Jan 17, 2006)
  1063. An advanced MIP solver was implemented. It includes:
  1064. - basic presolving technique (removing free, singleton and
  1065. redundant rows, improving bounds of columns, removing fixed
  1066. columns, reducing constraint coefficents);
  1067. - generating cutting planes to improve LP relaxation (currently
  1068. only Gomory's mixed integer cuts are implemented);
  1069. - using the branch-and-bound method to solve resultant MIP;
  1070. - recovering solution of the original MIP.
  1071. The solver is available on API level via the routine lpx_intopt
  1072. (see the reference manual). It is similar to the routine
  1073. lpx_integer, however, does not require initial solution of LP
  1074. relaxation.
  1075. The solver is also available in the command-line utility glpsol
  1076. via two options: --intopt (only presolving) and --cuts (assumes
  1077. --intopt plus generating cuts).
  1078. Note that efficiency of the MIP solver strongly depends on the
  1079. internal structure of the problem to be solved. For some hard
  1080. instances it is very efficient, but for other instances it may
  1081. be significantly worse than the standard branch-and-bound.
  1082. For some comparative benchmarks see doc/bench1.txt.
  1083. Well, what else...
  1084. Three built-in functions were added to MathProg: sin, cos, and
  1085. atan (the latter allows one or two arguments).
  1086. Some bugs were fixed.
  1087. Several new examples in MathProg were included: color.mod
  1088. (graph coloring problem), tsp.mod (traveling salesman problem),
  1089. and pbn.mod (paint-by-numbers puzzle).
  1090. GLPK 4.8 (release date: Jan 12, 2005)
  1091. Core simplex method and interior-point method routines were
  1092. re-implemented and now they use a new, "storage-by-rows" sparse
  1093. matrix format (unlike previous versions where linked lists were
  1094. used to represent sparse matrices). For details see ChangeLog.
  1095. Also a minor bug was fixed in API routine lpx_read_cpxlp.
  1096. GLPK 4.7 (release date: Aug 23, 2004)
  1097. Now GLPK supports free MPS format. Two new API routines
  1098. lpx_read_freemps (to read problem data in free MPS format) and
  1099. lpx_write_freemps (to write problem data in free MPS format)
  1100. were added. This feature is also available in the solver glpsol
  1101. via new command-line options --freemps and --wfreemps. For more
  1102. details see the GLPK reference manual.
  1103. API routines lpx_read_cpxlp and lpx_write_cpxlp for reading and
  1104. writing problem data in CPLEX LP format were re-implemented to
  1105. allow long symbolic names (up to 255 characters).
  1106. The following three modules were temporarily removed from the
  1107. GLPK distribution due to licensing problems: DELI (an interface
  1108. module to Delphi), GLPKMEX (an interface module to Matlab), and
  1109. JNI (an interface module to Java).
  1110. GLPK 4.6 (release date: Aug 04, 2004)
  1111. Three new statements were implemented in the GNU MathProg
  1112. language: solve, printf, and for. Their detailed description can
  1113. be found in the GLPK documentation included in the distribution.
  1114. (See also a sample model, examples/queens.mod, which illustrates
  1115. using these new statements.)
  1116. Two new API routines were added to the package: lpx_read_prob
  1117. and lpx_write_prob. They allow reading/writing problem data in
  1118. GNU LP low-level text format.
  1119. Three new command-line options were implemented in the LP/MIP
  1120. solver glpsol: --glp (to read problem data in GNU LP format),
  1121. --wglp (to write problem data in GNU LP format), and --name (to
  1122. change problem name). Now glpsol also supports processing models
  1123. where the new statements (see above) are used.
  1124. A new version of GLPKMEX, a Matlab MEX interface to GLPK, was
  1125. included. For more details see contrib/glpkmex/ChangeLog.
  1126. GLPK 4.5 (release date: Jul 19, 2004)
  1127. The branch-and-bound solver was completely re-implemented.
  1128. Some modifications were made in memory allocation routines that
  1129. allows using the package on 64-bit platforms.
  1130. For more details see ChangeLog.
  1131. GLPK 4.4 (release date: Jan 17, 2004)
  1132. All API routines were re-implemented using new data structures.
  1133. The new implementation provides the same specifications and
  1134. functionality of API routines as the old one, however, it has
  1135. some important advantages, in particular:
  1136. * linked lists are used everywhere that allows creating and
  1137. modifying the problem object as efficiently as possible
  1138. * all data stored in the problem object are non-scaled (even if
  1139. the internal scaling is used) that prevents distortion of the
  1140. original problem data
  1141. * solution components obtained by the solver remain available
  1142. even if the problem object has been modified
  1143. * no solver-specific data are used in the new data structures
  1144. that allows attaching any external lp/mip solver using GLPK
  1145. API as an uniform interface
  1146. Note that some API routines became obsolete being replaced by
  1147. new, more convenient routines. These obsolete routines are kept
  1148. for backward compatibility, however, they will be removed in
  1149. the future. For more details please see ChangeLog and the GLPK
  1150. Reference Manual.
  1151. New edition of the GLPK Reference Manual was included in the
  1152. distribution.
  1153. GLPKMEX, a Matlab MEX interface to GLPK package, contributed by
  1154. Nicolo Giorgetti <giorgetti@dii.unisi.it> was included in the
  1155. distribution.
  1156. GLPK FAQ contributed by Harley Mackenzie <hjm@bigpond.com> was
  1157. included in the distribution.
  1158. GLPK 4.3 (release date: Dec 12, 2003)
  1159. The bug, due to which the standard math library is not linked
  1160. on building the package on some platforms, was fixed.
  1161. The following new built-in functions were added to the MathProg
  1162. language: round, trunc, Irand224, Uniform01, Uniform, Normal01,
  1163. Normal. For details see the language description.
  1164. The MathProg syntax was changed to allow writing 'subj to' that
  1165. means 'subject to'.
  1166. The new api routine lpx_get_ray_info was added. It is intended
  1167. to determine which (non-basic) variable causes unboundness. For
  1168. details see the reference manual.
  1169. The module glpmps.c was changed to avoid compilation errors on
  1170. building the package on Mac OS X.
  1171. Several typos was fixed and some new material was added to the
  1172. GLPK documentation.
  1173. GLPK 4.2 (release date: Nov 14, 2003)
  1174. A preliminary implementation of the Integer Optimization Suite
  1175. (IOS) was included in the package. The Branch-and-Cut Framework
  1176. being completely superseded by IOS was removed from the package.
  1177. New API routine lpx_print_sens_bnds intended for bounds
  1178. sensitivity analysis was contributed to GLPK by Brady Hunsaker
  1179. <hunsaker@engr.pitt.edu>. This function is also available in
  1180. the solver glpsol (via command-line option --bounds).
  1181. An improved version of GLPK JNI (Java Native Interface) was
  1182. contributed by Chris Rosebrugh <cpr@pobox.com>.
  1183. GLPK DELI (Delphi Interface) was contributed by Ivo van Baren
  1184. <i.van.baren@freeler.nl>.
  1185. Several makefiles were added to allow compiling GLPK on some
  1186. non-GNU 32-bit platforms:
  1187. * Windows single-threaded static library, Visual C++ 6.0
  1188. * Windows multi-threaded dynamic library, Visual C++ 6.0
  1189. * Windows single-threaded static library, Borland C++ 5.2
  1190. * DOS single-threaded static library, Digital Mars C++ 7.50
  1191. And, of course, some bugs were fixed.
  1192. For more details see ChangeLog.
  1193. GLPK 4.1 (release date: Aug 23, 2003)
  1194. Some improvements were made in the lp/mip solver routines and
  1195. several bugs were fixed in the model translator.
  1196. For more details see ChangeLog.
  1197. GLPK 4.0 (release date: May 06, 2003)
  1198. Now GLPK supports the GNU MathProg modeling language, which is
  1199. a subset of the AMPL modeling language.
  1200. The document "GLPK: Modeling Language GNU MathProg" included in
  1201. the distribution is a complete description of GNU MathProg. (See
  1202. the files lang.latex, lang.dvi, and lang.ps in the subdirectory
  1203. 'doc'. See also some examples in the subdirectory 'sample'.)
  1204. New version of the solver glpsol, which supports models written
  1205. in GNU MathProg, was implemented. (Brief instructions how to use
  1206. glpsol can be found in the GNU MathProg documentation.)
  1207. The GLPK/L modeling language is no more supported. The reason is
  1208. that GNU MathProg being much more powerful completely supersedes
  1209. all features of GLPK/L.
  1210. GLPK 3.3 (release date: Mar 25, 2003)
  1211. LP PRESOLVER
  1212. ------------
  1213. Now the routine lpx_simplex (which is a driver to the simplex
  1214. method for solving LP) is provided with the built-in LP
  1215. presolver, which is a program that transforms the original LP
  1216. problem to an equivalent LP problem, which may be easier for
  1217. solving with the simplex method than the original one. Once the
  1218. transformed LP has been solver, the presolver transforms its
  1219. basic solution back to a corresponding basic solution of the
  1220. original problem. For details about this feature please see the
  1221. GLPK reference manual.
  1222. Currently the LP presolver implements the following features:
  1223. * removing empty rows;
  1224. * removing empty columns;
  1225. * removing free rows;
  1226. * removing fixed columns;
  1227. * removing row singletons, which have the form of equations;
  1228. * removing row singletons, which have the form of inequalities;
  1229. * removing column singletons, which are implied slack variables;
  1230. * fixing and removing column singletons, which are implied free
  1231. variables;
  1232. * removing forcing rows that involves fixing and removing the
  1233. corresponding columns;
  1234. * checking for primal and dual infeasibilities.
  1235. The LP presolver is also used by default in the stand-alone
  1236. program glpsol. In order *not* to use it, the option --nopresol
  1237. should be specified in the command-line.
  1238. CHANGES IN GLPK/L
  1239. -----------------
  1240. The syntax and semantics of the GLPK/L modeling language was
  1241. changed to allow declaration of "interval" sets. This means that
  1242. now the user can declare a set, for example, as:
  1243. set task = [8:11];
  1244. that is exactly equivalent to the following declaration:
  1245. set task = (task_8, task_9, task_10, task_11);
  1246. For details see the language description.
  1247. JAVA INTERFACE
  1248. --------------
  1249. Now GLPK includes the package GLPK JNI (Java Native Interface)
  1250. that implements Java binding for GLPK. It allows Java programs
  1251. to utilize GLPK in solving LP and MIP problems. For details see
  1252. a brief user's guide in the subdirectory contrib/java-binding.
  1253. This package was developed and programmed by Yuri Victorovich
  1254. <yuri@gjt.org>, who contributed it to GLPK.
  1255. GLPK 3.2.4 (release date: Feb 18, 2003)
  1256. This is a bug-fix release. For details see ChangeLog.
  1257. GLPK 3.2.3 (release date: Nov 11, 2002)
  1258. A new implementation of the api routine lpx_integer which now
  1259. is based on the b&b driver (which is based on the implicit
  1260. enumeration suite) was included in the package. This new
  1261. implementation has exactly the same functionality as the old
  1262. version, so all changes are transparent to the api user.
  1263. Four new api routines were included in the package:
  1264. lpx_check_kkt checks Karush-Kuhn-Tucker optmality conditions;
  1265. lpx_read_bas reads predifined basis in MPS format;
  1266. lpx_write_bas writes current basis in MPS format;
  1267. lpx_write_lpt writes problem data in CPLEX LP format.
  1268. Also other minor improvements were made (for details see the
  1269. file 'ChangeLog').
  1270. GLPK 3.2.2 (release date: Oct 14, 2002)
  1271. The api routine lpx_read_lpt was included in the package. It
  1272. is similar to the routine lpx_read_mps and intended to read
  1273. LP/MIP data prepared in CPLEX LP format. Description of this
  1274. format is given in the GLPK reference manual, a new edition of
  1275. which was also included in the distribution (see the files
  1276. 'refman.latex', 'refman.dvi', 'refman.ps' in the subdirectory
  1277. 'doc'). In order to use data files in CPLEX LP format with the
  1278. solver glpsol the option '--lpt' should be specified in the
  1279. command line.
  1280. Several bugs were fixed and some minor improvements were made
  1281. (for details see the file 'ChangeLog').
  1282. GLPK 3.2.1 (release date: Aug 12, 2002)
  1283. Now GLPK includes a preliminary implementation of the
  1284. branch-and-cut framework, which is a set of data structures and
  1285. routines intended for developing branch-and-cut methods for
  1286. solving mixed-integer and combinatorial optimization problems.
  1287. Detailed decsription of the branch-and-cut framework is given in
  1288. the document "GLPK: A Preliminary Implementation of the
  1289. Branch-And-Cut Framework" included in the distribution (see the
  1290. file 'brcut.txt' in the subdirectory 'doc').
  1291. In order to illustrate how the GLPK branch-and-cut framework
  1292. can be used for solving a particular optimization problem there
  1293. is an example included in the package. This is a stand-alone
  1294. program, TSPSOL, which is intended for solving to optimality the
  1295. symmetric Traveling Salesman Problem (TSP), a classical problem
  1296. of the combinatorial optimization (see the file 'tspsol.c' in
  1297. the subdirectory 'sample').
  1298. GLPK 3.2 (release date: Jul 15, 2002)
  1299. New edition of the document "GLPK: Reference Manual" was
  1300. included (see the files 'refman.latex', 'refman.dvi', and
  1301. 'refman.ps' in the subdirectory 'doc').
  1302. New edition of the document "GLPK: Modeling Language GLPK/L" was
  1303. included (see the files 'lang.latex', 'lang.dvi', and 'lang.ps'
  1304. in the subdirectory 'doc').
  1305. The following new API routines were added to the package:
  1306. lpx_transform_row (transform explicitly specified row);
  1307. lpx_transform_col (transform explicitly specified column);
  1308. lpx_prim_ratio_test (perform primal ratio test);
  1309. lpx_dual_ratio_test (perform dual ratio test);
  1310. lpx_interior (solve LP problem using interior point method);
  1311. lpx_get_ips_stat (query status of interior point solution);
  1312. lpx_get_ips_row (obtain row interior point solution);
  1313. lpx_get_ips_col (obtain column interior point solution);
  1314. lpx_get_ips_obj (obtain interior point value of obj.func.);
  1315. lpx_read_lpm (read LP/MIP model written in GLPK/L);
  1316. lpx_write_mps (write problem data using MPS format);
  1317. lpx_print_ips (print interior point solution).
  1318. Detailed description of all these new API routines are given in
  1319. the new edition of the reference manual.
  1320. New version of the stand-alone solver glpsol (which is based on
  1321. the new API) was implemented.
  1322. So long as the new API (introduced in glpk 3.0) now provides
  1323. all the functions, which were provided by the old API, the old
  1324. API routines were removed from the package at all.
  1325. GLPK 3.1 (release date: May 27, 2002)
  1326. A preliminary implementation of new API routines was completed
  1327. and included in the package.
  1328. These new API routines provide much more flexible interaction
  1329. between the application program, LP/MIP problem instances, and
  1330. solver routines. Based on completely changed data structures
  1331. they are, however, similar to the API routines and provide the
  1332. same functionality. Please note that three routines, namely,
  1333. solving LPs using interior point method, reading model written
  1334. in the GLPK/L modeling language, and writing problem data in
  1335. the MPS format, are not implemented in the new API, however,
  1336. these routines are planned to be implemented in the next version
  1337. of the package.
  1338. A description of the new API routines is given in the document
  1339. "GLPK Reference Manual", a draft edition of which is included
  1340. in the package (see the files 'refman.latex', 'refman.dvi', and
  1341. 'refman.ps' in the subdirectory 'doc').
  1342. Although the old API routines are kept in the package, they are
  1343. no longer supported and will be removed in the future.
  1344. GLPK 3.0.8 (release date: May 13, 2002)
  1345. A preliminary implementation of new API routines was included
  1346. in the package. These new API routines are intended to provide
  1347. much more flexible interaction between the application program,
  1348. LP/MIP problem and solver routines. See the document "New GLPK
  1349. API Routines" (the file 'newapi.txt' in the subdirectory 'doc')
  1350. also included in the package.
  1351. The api routines glp_simplex2, glp_call_ipm1, glp_call_bbm1 were
  1352. renamed, respectively, to glp_simplex, glp_interior, glp_integer
  1353. in order to reflect changes in implementation. The api routines
  1354. glp_call_rsm1, glp_simplex1, glp_pivot_in, glp_pivout_out were
  1355. removed from the package since they are completely supreseded by
  1356. the new API routines (however, these routines still can be found
  1357. in the subdirectory 'oldsrc'). Please consult a new edition of
  1358. the document "GLPK User's Guide" about all these changes in the
  1359. existing api routines.
  1360. The document "GLPK Library Reference" was removed from the
  1361. package (into the subdirectory 'oldsrc') since it describes the
  1362. obsolete library routines, most of which are no longer used.
  1363. GLPK 3.0.7 (release date: Apr 22, 2002)
  1364. A new, more efficient implementation of the primal/dual simplex
  1365. method was included in the package. Due to some improvements the
  1366. simplex-based solver allows solving many LP problems faster and
  1367. provides more reliable results. Note that the new implementation
  1368. is currently incomplete and available only via the api routine
  1369. glp_simplex2.
  1370. All the changes are transparent on API level.
  1371. GLPK 3.0.6 (release date: Mar 28, 2002)
  1372. New version of LU-factorization and basis maintenance routines
  1373. (based on Forrest-Tomlin updating technique) was implemented.
  1374. Since these new routines functionally supersede some routines
  1375. (which implement other forms of the basis matrix) and make them
  1376. obsolete, the latter were removed from the package (they still
  1377. can be found in the subdirectory 'oldsrc').
  1378. All the changes are transparent on API level.
  1379. GLPK 3.0.5 (release date: Jan 29, 2002)
  1380. New edition of the document "GLPK User's Guide" was included in
  1381. the distribution. Now it describes all additional API routines,
  1382. which were recently added to the package.
  1383. Structure of the package was re-organized in order to make its
  1384. maintenance easier (all small files in the subdurectory 'source'
  1385. were merged in bigger units). These changes are transparent for
  1386. the user.
  1387. GLPK 3.0.4 (release date: Dec 10, 2001)
  1388. A new, more efficient implementation of the two-phase primal
  1389. simplex method was included in the package. Due to some new
  1390. features (an advanced initial basis, projected steepest edge,
  1391. recursive updating values and reduced costs) the new LP solver
  1392. is faster and numerically more stable than the old one.
  1393. The new LP solver is available as API routine glp_simplex2 and
  1394. has the same purpose as API routine glp_call_rsm1. For detailed
  1395. specification see the file 'newapi.txt' in the directory 'doc'.
  1396. Now the new LP solver is also used by default to solve an
  1397. initial LP problem in the branch-and-bound routine glp_call_bbm1
  1398. instead the routine rsm1_driver. Note that the branch-and-bound
  1399. procedure itself is still based on rsm1_driver.
  1400. The new LP solver is also used as default solver in GLPSOL for
  1401. solving LP and MIP problems. In order to choose the old solver
  1402. the option '--old-sim' can be specified in the command line.
  1403. GLPK 3.0.3 (release date: Oct 03, 2001)
  1404. Some minor changes were made in the simplex method routines in
  1405. order to improve numerical stability of the method.
  1406. GLPK 3.0.2 (release date: Sep 24, 2001)
  1407. A new implementation of the basis maintaining routines was
  1408. included in the package. These routines, which are based on so
  1409. called FHV-factorization (a variety of LU-factorization) of the
  1410. basis matrix and Gustavson's data structures, allows performing
  1411. the main operations faster at the expense of some worsening
  1412. numerical accuracy.
  1413. AFI (Advanced Form of the Inverse), which is the form of the
  1414. basis matrix based on FHV-factorization, is available via the
  1415. parameter form = 3 (on API level) or via the option --afi (in
  1416. GLPSOL solver).
  1417. GLPK 3.0.1 (release date: Aug 01, 2001)
  1418. Old GLPK API routines have been removed from the package.
  1419. New GLPK API routines were added:
  1420. - scaling routines;
  1421. - a routine for writing problem data in MPS format;
  1422. - a comprehensive driver to the simplex method;
  1423. - basis maintaining routines.
  1424. A description of the new API routines is given in the document
  1425. "Additional GLPK API Routines". This document is included into
  1426. the distribution in plain text format (see the file 'newapi.txt'
  1427. in the subdirectory 'doc').
  1428. Now the distribution includes a non-trivial example of using
  1429. GLPK as a base LP solver for Concorde, a well known program that
  1430. solves Traveling Salesman Problem (TSP). For further details see
  1431. comments in the file 'sample/lpglpk30.c'.
  1432. GLPK 3.0 (release date: Jul 19, 2001)
  1433. Now GLPK is provided with new API, which being more flexible
  1434. can be used in more complex algorithmic schemes.
  1435. New edition of the document "GLPK User's Guide" is included in
  1436. the distribution. Now it completely corresponds to the new GLPK
  1437. API routines.
  1438. Old API routines are not removed yet from the package, however
  1439. they became obsolete and therefore should not be used. Since now
  1440. the header glpk.h corresponds to new API, in order to compile
  1441. existing programs that use old GLPK API routines the statement
  1442. #define GLP_OLD_API
  1443. should be inserted before the statement
  1444. #include "glpk.h"
  1445. GLPK 2.4.1 (release date: Jun 14, 2001)
  1446. The document "Modeling language GLPK/L" is included into the
  1447. distribution in texinfo format.
  1448. New edition of the document "GLPK User's Guide" is included in
  1449. the distribution. Now it describes all additional API routines
  1450. which were recently added to the package.
  1451. GLPK 2.4 (release date: May 10, 2001)
  1452. Now GLPK includes an implementation of a preliminary version
  1453. of the GLPK/L modeling language. This language is intended for
  1454. writing mathematcal programming models. The name GLPK/L is
  1455. derived from GNU Linear Programming Kit Language.
  1456. A brief description of the GLPK/L language is given in the
  1457. document "GLPK/L Modeling Language: A Brief Description". This
  1458. document is included into the distribution in plain text format
  1459. (see the file 'language.txt' in the subdirectory 'doc').
  1460. The language processor (which is a program that analyzes model
  1461. description written in GLPK/L and translates it to internal data
  1462. structures) is available as the GLPK API routine.
  1463. The stand-alone solver GLPSOL now is able: a) to process model
  1464. descriptions written in the GLPK/L language; b) to solve pure LP
  1465. problems using the interior point method (therefore the program
  1466. GLPIPM was removed from the package).
  1467. GLPK 2.3 (release date: Apr 09, 2001)
  1468. New edition of the document "GLPK User's Guide" is included in
  1469. the distribution. Now it describes all additional API routines
  1470. which were recently added to the package.
  1471. The MIP solver was fully re-programmed in order to improve its
  1472. robustness and performance. In particular, a basis recovering
  1473. procedure was implemented (this procedure allows switching to
  1474. the primal simplex method in case when the dual simplex method
  1475. fails).
  1476. GLPK 2.2 (release date: Mar 15, 2001)
  1477. Now GLPK includes a tentative implementation of the
  1478. branch-and-bound procedure based on the dual simplex method for
  1479. mixed integer linear programming (MIP).
  1480. Complete description of this new feature of the package is given
  1481. in the preliminary document "Mixed Integer Linear Programming
  1482. Using GLPK Version 2.2 (Supplement to GLPK User's Guide)". This
  1483. document is included into the distribution in plain text format
  1484. (see the file 'mip.txt' in the subdirectory 'doc').
  1485. The MIP solver (glp_integer) can be used as GLPK API routine in
  1486. the same way as the pure LP solver (glp_simplex).
  1487. The stand-alone program 'glpsol' is now able to solve LP as well
  1488. as MIP problems.
  1489. Note that the current version of GLPK MIP solver is based on
  1490. easiest heuristics for branching and backtrackng. Therefore the
  1491. solver is fit mainly for MIP problems which are not very hard
  1492. and have few integer variables.
  1493. GLPK 2.1 (release date: Feb 19, 2001)
  1494. The document "GLPK Implementation of the Revised Simplex Method"
  1495. is included into the distribution. This document describes most
  1496. of routines related to the revised simplex method.
  1497. GLPK 2.0 (release date: Jan 25, 2001)
  1498. Now GLPK includes a tentative implementation of the primal-dual
  1499. interior point method for large-scale linear programming.
  1500. The interior point solver can be used as GLPK API routine in the
  1501. same manner as the simplex method solver (glp_simplex):
  1502. ret = glp_interior();
  1503. Note that currently the interior point solver implemented in
  1504. GLPK doesn't include many important features, in particular:
  1505. * it can't process dense columns; therefore if the problem has
  1506. dense columns, the solving will be extremely inefficient;
  1507. * it has no special features against numerical unstability;
  1508. some problems may cause premature termination of the solving
  1509. when the matrix A*D*A' becomes ill-conditioned;
  1510. * it computes only values of primal (auxiliary and structural)
  1511. variables and doesn't compute values of dual variables (i.e.
  1512. reduced costs) which are just set to zero;
  1513. * it doesn't identify optimal basis corresponding to the found
  1514. interior point solution; all variables in the found solution
  1515. are just marked as basic variables.
  1516. GLPK also includes a stand-alone program 'glpipm' which is a
  1517. demo based on the interior point method. It may be used in the
  1518. same way as the program 'glpsol' that is based on the simplex
  1519. method.