Can Goldberg algorithm in ocamlgraph be used to find Minimum Cost Flow graph?

Posted by Tautrimas on Stack Overflow See other posts from Stack Overflow or by Tautrimas
Published on 2010-05-11T20:40:04Z Indexed on 2010/05/11 20:44 UTC
Read the original article Hit count: 292

Filed under:
|
|
|

I'm looking for an implementation to the Minimum Cost Flow graph problem in OCaml.

OCaml library ocamlgraph has Goldberg algorithm implementation.

The paper called Efficient implementation of the Goldberg-Tarjan minimum-cost flow algorithm is noting that Goldberg-Tarjan algorithm can find minimum cost graph. Question is, does ocamlgraph algorithm also find the minimum cost? Library documentation only states, that it's suitable at least for the maximum flow problem.

If not, does anybody have a good link to a nice any minimum cost optimization algorithm code? I will manually translate it into OCaml then. Forgive me, if I missed it on Wikipedia: there are too many algos on flow networks for the first day!

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about graph-theory