Skip to content

An implementation of the blossom algorithm for an APX course.

Notifications You must be signed in to change notification settings

koniiiik/edmonds-blossom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Edmonds's blossom algorithm

This is my implementation of the blossom algorithm for min-weight maximum matchings on general graphs, made as an assignment for an approximation algorithms course. It is written in Python and has been tested on CPython 2.7, 3.2 and 3.3 and PyPy 2.0.

The code is not really optimized, it takes a little more than a minute to calculate the result for a graph on 1000 vertices with 10495 edges on PyPy; the time it takes for a complete graph on 1002 vertices on my laptop is about 45 minutes on PyPy and nearly six hours on CPython 3.3.

About

An implementation of the blossom algorithm for an APX course.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages