Text this: Minimal cost flow in processing networks :