Minimal cost flow in processing networks by Koene