MORK
The metaheuristic optimization framework

Hard problems.
Easier to solve.

Build, tune, and evaluate metaheuristics for NP-hard problems. Use existing algorithm components, tune them with irace, and compare results in reproducible experiments on the JVM.

THE SEARCH FOR BETTER SOLUTIONSILLUSTRATION / 01
Explore → Improve → RepeatCombinatorial optimization
BUILT FOR THE JVMCOMPOSABLE ALGORITHMSAUTOMATIC TUNINGREPRODUCIBLE EXPERIMENTS
Algorithm development

Build and compare your algorithms.

01 / COMPOSE

Combine algorithm components.

Combine VNS, simulated annealing, iterated greedy, and other strategies with your own constructors, local searches, and perturbations.

Components ↗
02 / TUNE

Tune components and parameters.

Mork discovers your annotated components and builds the irace search space. Tune both component choices and parameter values without assembling that space by hand.

Autoconfig ↗
03 / COMPARE

Compare against reference results.

Compare your approaches with reference results and best-known values. Export CSV and Excel reports with raw results and interactive pivot tables.

Reference results ↗
AutoLLM

Generate and test algorithm components.

AutoLLM uses language models to propose algorithm components, then builds and tests them. Each trial starts from the same code revision. The proposed components are tuned with irace and evaluated against a fixed reference algorithm.

View the source on GitHub ↗

Run locally or over SSH. Track each campaign in the dashboard and resume it later.

How AutoLLM works

  1. 01
    GeneratePropose new algorithm components
  2. 02
    VerifyBuild and test the proposal
  3. 03
    TuneConfigure with irace
  4. 04
    CompareEvaluate against a fixed baseline
Experiment setup

Select instances, measure runtime, and export results.

Select training and test instances.

Group instances by their properties and identify those that a baseline solves quickly. Review the suggested training and test sets before running your experiments.

Instance selection ↗

Measure where time is spent.

Track solution quality and time to best. Enable timing traces to measure individual components in sequential or parallel experiments.

Explore the documentation ↗

Export results and solutions.

Export experiment data to CSV, TSV, or Excel, and solutions to JSON for further analysis.

Results and exports ↗

Dashboard

Inspect experiment results.

Compare scores and runtimes across repeated runs, then inspect individual solutions. These screenshots show results from the Berlin52 travelling salesman example.

Current Mork dashboard comparing five TSP algorithms on Berlin52: scores, best across repetitions, score distributions, and score versus runtime.
Berlin52 results: five algorithms, ten runs each. View full image ↗
Custom TSP solution visualizer showing the retained Berlin52 route from RandomBIInsert, its distance, and seed.
A Berlin52 tour displayed with a custom solution visualizer. TSP visualization tutorial ↗
Research

Start with a generated project.

Generate a project to implement your problem and algorithms. Our paper describes the methodology Mork follows for reproducible experiments.

Read the research paper ↗
Generate a project ↗