Skip to content

Instantly share code, notes, and snippets.

View ruolin's full-sized avatar

Ruolin Liu ruolin

  • Cambridge, MA
View GitHub Profile
@fbaeuerlein
fbaeuerlein / Lemon_min_cost_flow_circulation.cpp
Last active June 18, 2019 16:01
Solve the min cost flow circulation problem with Lemon CycleCanceling
#include <lemon/smart_graph.h>
#include <lemon/lgf_reader.h>
#include <lemon/lgf_writer.h>
#include <lemon/list_graph.h>
#include <lemon/cycle_canceling.h>
#include <lemon/preflow.h>
using namespace lemon;
typedef ListDigraph Graph;