Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 10:14
· 3 commits to main since this release
ac3bff4

Highlights

First public release of ALNS, a general-purpose Java implementation of the
Adaptive Large Neighborhood Search metaheuristic for combinatorial
optimization. Provide a solution type, a feasible initial solution, and
problem-specific destroy and repair operators; the library handles the search
loop, operator selection, acceptance, and stopping.

Features

  • Search core: objective minimization with feasibility checks. Infeasible
    candidates are rejected, and feasible new bests are always kept.
  • Acceptance criteria: hill climbing and simulated annealing, with linear or
    exponential cooling and autofit to derive a schedule from a target
    acceptance probability.
  • Operator selection: uniform random, roulette wheel, and segmented roulette
    wheel.
  • Stopping criteria: maximum iterations, maximum runtime, and no improvement,
    combinable with AnyOfStoppingCriterion.
  • Optional features, all disabled by default:
    • local search applied to feasible repaired solutions;
    • visited-solution tracking to control operator rewards;
    • statistics with objective histories, iteration runtimes, and per-operator
      outcome counts;
    • iteration callbacks.
  • Reproducibility: every random choice uses the supplied RandomGenerator.
  • Logging through SLF4J.

Requirements

  • Java 17 or later.
  • org.slf4j:slf4j-api:2.0.20 on the classpath. Dependencies are not bundled in
    the release JAR.

Downloads

  • alns-0.1.0.jar: the library.
  • alns-0.1.0-sources.jar: source code.
  • alns-0.1.0-javadoc.jar: API documentation.