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.

1741 lines
77 KiB

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