Skip to content

SzymonMakula/approximation-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Approximation algorithms

Rust implmentation of various approximation algorithms:

  • Christofides algorithm
  • Double tree algorithm
  • Greedy knapsack
  • FPTAS kanpsack
  • Dynamic knapsack

Uses Blossom V algortihm from Vladimir Kolmogorov. "Blossom V: A new implementation of a minimum cost perfect matching algorithm." In Mathematical Programming Computation (MPC), July 2009, 1(1):43-67.. Source code and license may be found at /approx_algorithms/lib

Running algortihms

To run bnechmarking tests, go to Rust project folder:

cd approx_algorithms

Then run:

cargo run

This should produce benchmaking data in /dist folder, located in root directory. You may use this day to produce plots using scripts included in plot_tools

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors