JOpt.Core overview

The JOpt core is the Java library that computes the plans. It takes the visits, the resources and their constraints, and it looks for the plan with the lowest cost: which resource visits which node, in which order and at which time. How JOpt.TourOptimizer works explains the problem, the cost and the three algorithms that the core runs one after the other.

Two ways to use the core

  • In your Java application. Add the core as a Maven dependency. It runs in process, in the JVM of your application, without a server. Java 17 line shows the setup, and Getting started a first run with the Java examples.
  • Through JOpt.TourOptimizer. The REST server runs the core of the Java 25 line in a container, and a client in any language calls it over REST. See JOpt.TourOptimizer overview.

The lines of the core

The JOpt core is the Java library that computes the plans. Its Java lines are published as jopt:jopt.core.pg with the classifier shaded on the public Maven repository. The Java 17 line, versions ending in -j17, is the current line and needs Java 17. The Java 25 line, versions ending in -j25, needs Java 25 or newer; JOpt.TourOptimizer runs on it. Two legacy lines are not actively maintained: the Java 8 line, last version 7.5.2-j8, and JOpt.NET, a DLL built with IKVM.NET, last version 7.5.2.

The diagram opens full size on click.

The core is published in lines, one per Java version. The Java 17 line and the Java 25 line are actively maintained; the Java 8 line and JOpt.NET are legacy lines.

LineVersionsRuntimeStatusHow to get it
Java 17 lineend in -j17Java 17The current line, actively maintainedMaven, jopt:jopt.core.pg with the classifier shaded: Java 17 line
Java 25 lineend in -j25Java 25 or newerActively maintained; JOpt.TourOptimizer runs on itMaven, the same coordinates: Java 25 line
Java 8 linelast version 7.5.2-j8Java 8Legacy, not actively maintainedMaven, the same coordinates: Legacy lines
JOpt.NETlast version 7.5.2.NET, a DLL built with IKVM.NETLegacy, not actively maintainedContact DNA Evolutions

The Java lines come from the public Maven repository repo.dna-evolutions.com/releases, which needs no login. The newest version of each line and its changes are in Core releases. The API reference of the Java 17 line and the Java 25 line is the JavaDoc.

Which line to pick

Your settingLine
A Java 17 application, or a first run with the Java examplesThe Java 17 line. The Java examples and their public evaluation license use it.
A Java 25 application that wants the newest performance, threading and operator workThe Java 25 line. It needs Jackson 3 and a license in the scheme jopt-ed25519-v1.
An application in another languageJOpt.TourOptimizer over REST, with a client generated from its OpenAPI schema: API and clients.
A Java 8 or .NET applicationLegacy lines: their status and the way to JOpt.TourOptimizer for new work.
  • Java 17 line: the current line, its Maven dependency and its license
  • Java 25 line: what it needs, what changes for a caller, and its measured run time and cost
  • Core releases: the changes of the newest core versions
  • Legacy lines: the Java 8 line and JOpt.NET
  • License guide: the free and the full licenses and their element limits
  • Choose a mode: the core in your JVM, or JOpt.TourOptimizer in trusted mode or auth mode

Added: 2026-11-27 | Last updated: 2026-11-27