./math/glpk, Library for solving linear programming problems

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 4.65, Package name: glpk-4.65, Maintainer: adam

GLPK is a set of routines written in ANSI C and organized in the form
of a callable library. This package is intended for solving large-scale
linear programming (LP), mixed integer linear programming (MIP), and
other related problems.

GLPK includes the following main components:

* implementation of the primal/dual simplex method;

* implementation of the primal-dual interior point method;

* implementation of the branch-and-bound procedure (based on the dual
simplex method);

* application program interface (API);

* GLPK/L, a modeling language intended for writing LP/MIP models;

* GLPSOL, a stand-alone program intended for solving LP/MIP problems
either prepared in the MPS format or written in the GLPK/L modeling

Required to run:

Required to build:

Master sites: (Expand)

RMD160: eec545719baf2d691f12ded2822bde1ea7185c26
Filesize: 4069.443 KB

Version history: (Expand)

CVS history: (Expand)

   2021-10-07 16:28:36 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Remove SHA1 hashes for distfiles
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
   2019-07-08 18:28:17 by Leonardo Taccari | Files touched by this commit (3) | Package updated
Log message:
glpk: Update to 4.65

- The following new API routines for LP/MIP preprocessing were
    glp_npp_alloc_wksp    allocate the preprocessor workspace
    glp_npp_load_prob     load original problem instance
    glp_npp_preprocess1   perform basic LP/MIP preprocessing
    glp_npp_build_prob    build resultant problem instance
    glp_npp_postprocess   postprocess solution to resultant problem
    glp_npp_obtain_sol    obtain solution to original problem
    glp_npp_free_wksp     free the preprocessor workspace
  See doc/npp.txt for detailed description of these API routines.
- A new, more robust implementation of locally valid simple cover
  cuts was included in the MIP solver.
- The API routine glp_init_iocp was changed to enable long-step
  option of the dual simplex by default.

- The dual simplex solver routine was changed to perform more
  aggressive perturbation to prevent dual degeneracy and avoid
  stalling even if the current dual basic solution is strongly
  feasible (mainly if the objective is zero). Thanks to David
  Monniaux <David.Monniaux@univ-grenoble-alpes.fr> for bug report
  and example model.
- The exact simplex solver routine was changed to perform
  terminal output according to the verbosity level (specified by
  the control parameter smcp.msg_lev). Thanks to Jeroen Demeyer
  <jdemeyer@cage.ugent.be> for bug report.
- A minor bug (related to MS Windows version) was fixed. Thanks
  to Heinrich Schuchardt <xypron.glpk@gmx.de> for bug report.
- An example model (Graceful Tree Labeling Problem) in MathProg
  was added. Thanks to Mike Appleby <mike@app.leby.org> for
- Three example models (Power plant LP scheduler, Neumann CA
  grid emulator generator) in MathProg and one in Cplex LP format
  were added. Thanks to Peter Naszvadi <vuk@cs.elte.hu> for

Discussed with <adam>, thanks!
   2017-08-18 23:47:51 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
GLPK 4.63:

A "smart" LP perturbation was implemented in the primal and
dual simplex solvers. Now LP is perturbed only if it is
necessary, and by default perturbation is not activated.
The sum of primal infeasibilites that appears in the terminal
output of the primal simplex solver (as "inf = ...") now
corresponds to the original bounds of variables. This allows to
see how much perturbed solution violates the original bounds.

The long-step technique was implemented for phase I of the
primal simplex solver. This feature can be enabled by
specifying --flip option for glpsol or by specifying
glp_smcp.r_test = GLP_RT_FLIP on api level. For many LP
instances the long-step technique allows reducing the number
of simplex iterations to 30-70%. Please note that unlike the
dual simplex, where this technique can be used on both phase I
and II, for the primal simplex it can be used only on phase I,
where the sum of primal infeasibilities (which is a convex
piecewise linear function) is minimized.

An internal objective scaling was included in both primal and
dual simplex solvers. For many LP/MIP instances this feature
improves numerical stability (for the dual solver) and prevents
cycling near the optimum (for the primal solver).

The Posix version of glp_time (glpk/src/env/time.c) was changed
to resolve time_t issue on msys2.

Three new example models in MathProg were added:
life_goe.mod (Conway's Game of Life garden of eden checker);
tiling.mod (Rectifiable polyomino tilings generator);
toto.mod (Covering code generator).
   2017-01-25 11:02:17 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
GLPK 4.61 (42:0:2) has been released.

The following modules were renamed to simplify maintenance.
* src/prob.h     RENAMED            -> src/api/prob.h
* src/glpapi01.c RENAMED            -> src/api/prob1.c
* src/glpapi02.c RENAMED            -> src/api/prob2.c
* src/glpapi03.c RENAMED            -> src/api/prob3.c
* src/glpapi04.c RENAMED            -> src/api/prob4.c
* src/glpapi05.c RENAMED            -> src/api/prob5.c

* src/env/tls.c
TLS (thread local storage class specifier) option was added;
see comments in tls.c for details.

* configure.ac, config.h.in
Test for TLS was added.

* src/env/tls.c
Dll support was added.

The following modules were changed to add __cdecl specifier
for functions passed to qsort (this is needed only on compiling
GLPK with MSVC to run under MS Windows).
* src/api/cpxbas.c
* src/cglib/cfg1.c
* src/cglib/gmigen.c
* src/cglib/mirgen.c
* src/misc/wclique1.c
* src/simplex/spychuzc.c
* src/glpios10.c
* src/glpios11.c
* examples/glpsol.c

* src/glpk.h, src/env/env.c
The API routine glp_version was changed to avoid initialization
of the GLPK environment. The new API routine glp_config was
added (but not documented yet).

Description of the configure option '--with-zlib' was removed.
   2016-04-12 23:40:47 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
GLPK 4.60:

Some improvements were made in the primal and dual simplex
solvers to make the solution process more numerically stable.

An experimental long-step ratio test feature was added to the
dual simplex. On API level this feature is available thru the
GLP_RT_FLIP option. For glpsol it is available thru the options
--flip (for MIP) or --flip and --dual (for LP). This feature is
not documented yet.

Additional check was added to reject wrong solutions sometimes
reported by the PROXY heuristic.

A bug (memory leak) was fixed in the FPUMP heuristic routine.

The header sql.h was renamed to avoid conflicts with standard
ODBC headers.
   2015-11-27 22:00:29 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Changes 4.57:

A new, more efficient implementation of the dual simplex method
was included in the package. This new implementation replaces
the old one, which was removed.

Option sr_heur was added to struct glp_iocp to enable/disable
the simple rounding heuristic used by the MIP solver.

New API routine glp_at_error was added and documented.

Some minor typos were corrected in the GLPK documentation.

An example application program TSPSOL was added. It uses the
GLPK MIP optimizer to solve the Symmetric Traveling Salesman
Problem and illustrates "lazy" constraints generation. For more
details please see glpk/examples/tsp/README.
   2015-11-04 00:33:46 by Alistair G. Crooks | Files touched by this commit (262)
Log message:
Add SHA512 digests for distfiles for math category

Problems found locating distfiles:
	Package dfftpack: missing distfile dfftpack-20001209.tar.gz
	Package eispack: missing distfile eispack-20001130.tar.gz
	Package fftpack: missing distfile fftpack-20001130.tar.gz
	Package linpack: missing distfile linpack-20010510.tar.gz
	Package minpack: missing distfile minpack-20001130.tar.gz
	Package odepack: missing distfile odepack-20001130.tar.gz
	Package py-networkx: missing distfile networkx-1.10.tar.gz
	Package py-sympy: missing distfile sympy-
	Package quadpack: missing distfile quadpack-20001130.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.