[TOC]

最小費用流 (Minumu Cost Flow)

1. 概要

決まった量を始点から終点まで流す際にかかる費用を最小にする問題.

2. 教科書

2.1. 教科書1

Minimum cost flows Amaury Pouly, November 23, 2010

2.1.1. 概要

Minimum Cost Flow のアルゴリズム2つ及び計算量についての記述.証明も詳しいので読みやすかった.

  • アルゴリズムの方針(うろ覚え) 「最小費用条件」をいうものを適切に定めることで,最小費用条件を満たしているフローが最小費用流であることが示される.フロー0からスタートして重みを適切に定めたグラフ上でソースからシンクへの最短路を求めてフローを追加することで最小費用条件を常に満たされるプリフロー(容量制約のみを満たしたフローでフロー整合条件が満たされたいない)が作成できる.フローの追加作業を繰り返し行い,流したい流量まで流れた段階になったときフローであることを示すことでそれが最小費用流であることが示される.
  • 特徴
    • 枝のコストが負の場合にも対応
    • 容量制約にlower bandとupper band(upper bandはもOK)がある場合に対応.
    • 始点(surplus)、終点(demand)も複数ある場合に対応.
  • アルゴリズムの計算量
    • アルゴリズム1 ノード数を,枝数をの有向グラフが与えられているとする. また、各枝に対して非負の距離が定まっているとする. このとき、各枝に対してあるノードからの距離を表す関数を求めるアルゴリズムの計算量をとする.(例えばDijkstra's algorithm with a binary heapを用いるとらしい.) このとき,Minimum Cost Flow を求めるアルゴリズムの計算量は
    • アルゴリズム2 計算量がアルゴリズム1に比べて非常に大きいので略.

2.1.2. 補足

Removing nonzero lower bounds complement

Let flow is the solution of following minimum cost flow problems (1).

>

Then, if we define , is the solution of following minimum cost flow problems (2).

(Proof) It is easy to show satisfies all the constraints of problem (1). (skip detail) Let be a flow that satisfies all the constraints of problem(2). Then, we define the with . Since satisfies all the constraints of problem (2), it is easy to show satisfies the all the constraints of problem (1). Therefore,

Lemma 2.3.1 complement

There exists , a minimum cost flow such that

(Proof.) If we apply theorem 2.1.3 to : we can decompose into cyclic and paths .Moreover, in the proof of theorem, we properly define such that Therefore, the objective function of minimum cost flow problem is as follows Now pick a cycle such that . Then we must have since is a minumum cost flow; otherwise we can set and because we have zero lower bounds, we obtain a feasible flow of strictly lesser cost than . Furthermore, if then we can set and obtain a feasible flow of the same cost. So we can assume that if then . But remember that is a minimum cost flow so if there is a cycle such that then at least one edge of must be saturated, that is otherwise we could push some more flow on W and get a better flow. Let and . Then we have: ....(the rest of proof is same as textbook)

2.4 Removing negative costs proof

We define new problem as follows.The set of arcs is denoted by

, and the cost and capacity is defined as follows

Then, the new minimum cost flow problem (1) is as follows

Let flow is the solution of this problem, and we denote the flow for the original problem as follows

Then, is the solution of the below problem

(Proof)

Therefore, Similarly, Therefore,

Now, we conclude that satisfies all the constraints of original problem. Next, we show that makes the objective value minimum among all the flows that satisfies the constraints. The objective value for is Now, we pick up a flow for original problem, which satisfies all the constraints, and we also define flow for new problem as follows Then, since we can show Moreover, since satisfies all the constraints of new problem (we show later), It shows that is the solution of original problem.

satisfies all the constraints of new problem

Proof. Since, (for all ) is easy to show, we skip the detail. Similarly Therefore,

Theorem 2.6.1 complement

We asuume that for all . Then,

(Proof) the rest of proof is same

Lemma 2.8.3 modification MCNF

I change the assumption because the lemma is wrong. (For example, Let , )

Assume there is a source node such that every node is accessible from , Let be a potential function and . Then if there is no negative cost cycle in the network, the following two conditions are equivalent: (i) is the shortest path distance from to with respect to . (ii) and for all . We add assumption that is greater than or equal to the shortest path distance from to with respect to .

(Proof) (i) (ii) is same as the textbook. (ii) (i) By assumption, for all Let be a path from to , . Then, Since is greater than or equal to the shortest path distance from to with respect to , (ii) (i)

Last modified by akirat1993 2019-05-26 02:56:51
Created by akirat1993 2019-05-26 02:56:51

results matching ""

    No results matching ""