Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

matching algorithm #194

Closed
CarloLucibello opened this issue Oct 26, 2015 · 4 comments · Fixed by #207
Closed

matching algorithm #194

CarloLucibello opened this issue Oct 26, 2015 · 4 comments · Fixed by #207
Assignees
Labels
enhancement new or improved functionality help wanted ideal for new contributors who want to help

Comments

@CarloLucibello
Copy link
Contributor

A matching algorithm would be a great addition to LG, but its implementation would be long and difficult, in fact very few graph libraries support it (e.g. Lemon has some fast and general implementations).

In the case of bipartite graphs though the maximum weight perfect matching can be stated as a linear programming problem whose solutions happen to be integers. Therefore I could provide a solver for this particular case if any of you think it is appriopriate. This would also mean adding a linear solver library to REQUIRE.

Bye,
Carlo

PS
I think that Lemon licence would allow for a julia port, provided we obtain permission from the authors. Translating thousands of lines of C++ code would be a huge task per se though

@CarloLucibello
Copy link
Contributor Author

unless @pranavtbhat wants to take a try at implementing another Edmonds's algorithm :)

@sbromberger
Copy link
Owner

I'm ok with this proposal. We can also include it as a conditional dependency (much like we do with GraphMatrices). Thanks!

@pranavtbhat
Copy link
Contributor

Haha. The algorithm seems to be incredibly complicated! Could give it a shot in my holidays.

@jpfairbanks
Copy link
Contributor

We could in the short term include a greedy maximal weighted matching right?

@sbromberger sbromberger added enhancement new or improved functionality help wanted ideal for new contributors who want to help labels Oct 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement new or improved functionality help wanted ideal for new contributors who want to help
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants