LAU_NP
Heuristics for NP problems


LAU_NP is a library of FORTRAN90 routines, using double precision arithmetic, which implement heuristic algorithms for certain "hard" problems.

These problems are hard in the sense that, as the problem size N increases, the amount of work required to compute a solution grows exponentially.

The classic example of this is the "traveling salesman problem", which seeks the shortest roundtrip that visits each location exactly once. The obvious method of solution, to compute the length of every possible path, is not much worse than the best known method of solution, in terms of the amount of computing required to find the exact answer. However, there are heuristic methods that can find a "reasonable" approximation to the answer for most problems, in a much shorter amount of time.

The problems considered include:

Related Data and Programs:

ASA058 is a FORTRAN77 file containing the original text of the Sparks clustering algorithm.

ASA136 is a FORTRAN77 file containing the original text of the Hartigan and Wong clustering algorithm.

CITIES is a FORTRAN90 library which handles various problems associated with a set of "cities" on a map.

CITIES is a dataset directory which contains a number of city distance datasets.

KMEANS is a FORTRAN90 library containing several implementations of the K-Means algorithm.

SPAETH is a library of FORTRAN90 routines which can cluster data according to various principles.

SPAETH is a dataset collection which contains a set of test data.

SPAETH2 is a library of FORTRAN90 routines which can cluster data according to various principles.

SPAETH2 is a dataset collection which contains a set of test data.

TOMS456 is a routine for the routing problem, connecting some nodes in a network.

Author:

Hang Tong Lau

Reference:

  1. Rainer Burkard, Ulrich Derigs,
    Assignment and Matching Problems: Solution methods with FORTRAN programs,
    Lecture Notes in Economics and Mathematical Systems,
    Volume 184,
    Springer Verlag, 1980.
  2. Nicos Christofides,
    Worst-case analysis of a new heuristic for the traveling salesman problem,
    Management Science Research Report Number 388,
    Carnegie-Mellon University, 1976.
  3. Frederick Hillier,
    Efficient heuristic procedure for integer linear programming with an interior,
    Operations Research,
    Volume 17, pages 600-637, 1969.
  4. Dorit Hochbaum, David Shmoys,
    A best possible heuristic for the K-center problem,
    Mathematics of Operations Research,
    Volume 10, pages 180-184, 1985.
  5. Oscar Ibarra, Chul Kim,
    Fast approximation algorithms for the knapsack and sum of subset problems,
    Journal of the Association for Computing Machinery,
    Volume 22, pages 463-468, 1975.
  6. Brian Kernighan, Shen Lin,
    An efficient heuristic procedure for partitioning graphs,
    Bell System Technical Journal,
    Volume 49, pages 291-307, 1970.
  7. Brian Kernighan, Shen Lin,
    Heuristic solution of a signal design optimization problem,
    Bell System Technical Journal,
    Volume 52, pages 1145-1159, 1973.
  8. Lawrence Kou, George Markowsky, Leonard Berman,
    A fast algorithm for Steiner trees,
    Research report RC 7390,
    IBM Thomas J Watson Research Center,
    Yorktown Heights, New York, 1978.
  9. Hang Tong Lau,
    Combinatorial Heuristic Algorithms in FORTRAN,
    Springer Verlag, 1986,
    QA402.5 L37.
  10. Yoshiaki Toyoda,
    A simplified algorithm for obtaining approximate solutions to zero-one programming problems,
    Management Science,
    Volume 21, pages 1417-1427, 1975.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 27 November 2006.