Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
/ steiner_tree Public archive

Toy Implementations of an Exact Algorithm and Two Approximations for the Steiner Tree Problem

Notifications You must be signed in to change notification settings

5hir0kur0/steiner_tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PACE 2018 Steiner Tree Algorithms – Archive

This repository contains Rust implementations for the Tracks 1 and 3 of the 2018 PACE challenge.

I wrote this for an oral exam for an algorithm engineering class at university. It is probably not suitable for real-world applications.

I implemented the following algorithms:

Usage (Benchmarks)

The easiest way to run the benchmarks is by running the benchmark.sh script in this repository. The usage is as follows:

./benchmark.sh results.csv path/to/pace_instance_directory

The benchmark results are then stored in results.csv.

Usage (Tests, Example)

For a "real" example program that runs all the algorithms and does some sanity-checking of the results see examples/run_all.rs. You can e.g. execute it on Instance 001 of PACE 2018 Track 1.

cargo run --release --example=run_all path/to/instance001.gr

About

Toy Implementations of an Exact Algorithm and Two Approximations for the Steiner Tree Problem

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published