HOME

TheInfoList



OR:

The out-of-kilter algorithm is an
algorithm In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algorithms are used as specificat ...
that computes the solution to the
minimum-cost flow problem The minimum-cost flow problem (MCFP) is an optimization and decision problem to find the cheapest possible way of sending a certain amount of flow through a flow network. A typical application of this problem involves finding the best delivery rou ...
in a
flow network In graph theory, a flow network (also known as a transportation network) is a directed graph where each edge has a capacity and each edge receives a flow. The amount of flow on an edge cannot exceed the capacity of the edge. Often in operations res ...
. It was published in 1961 by
D. R. Fulkerson Delbert Ray Fulkerson (; August 14, 1924 – January 10, 1976) was an American mathematician who co-developed the FordFulkerson algorithm, one of the most well-known algorithms to solve the maximum flow problem in Flow network, networks. Early l ...
and is described here. The analog of steady state flow in a network of nodes and arcs may describe a variety of processes. Examples include transportation systems & personnel assignment actions. Arcs generally have cost & capacity parameters. A recurring problem is trying to determine the minimum cost route between two points in a capacitated network. The idea of the algorithm is to identify out-of-kilter arcs and modify the flow network until all arcs are in-kilter and a minimum cost flow has been reached. The algorithm can be used to minimize the total cost of a constrained flow in an oriented network.


Algorithm

To begin, the algorithm takes a single cycle and a set of node numbers. It then searches for out-of-kilter arcs. If none are found the algorithm is complete. If the flow needs to be increased or decreased to bring an arc into kilter, the algorithm will look for a path that increases or decreases the flow respectively. If no paths are found to improve the system then there is no feasible flow. This is done until all arcs are in-kilter, at which point the algorithm is complete. Suppose that the network has n nodes and m oriented arcs. We write j ~ (i,i^1) if arc j has initial node i and terminal node i^1. Let x(j) be the flow along arc j (from node i to node i^1). Define c^-(j) and c^+(j) to be the lower and upper capacity bounds on the flow in arc j. The capacities may be either finite, or infinite on some or all arcs for either the lower or upper bounds. The problem that is at hand to solve is to minimize: \sum_^md(j) x(j) subject to: \sum_x(j) -\sum_x(j) = 0 for each i = 1,....,n (1) , and: c^-(j)\leq x(j)\leq c^+(j) for each j = 1,....,n (2) If a given flow x satisfies (1), then the flow is conserved at each node and we call the flow a circulation. If the flow x satisfies (2) we say it is feasible.


Complexity

Runtime: * The algorithm terminates within O(mU) iterations * Dominant computation is shortest path computation * Total runtime is: O(m^2 U+mUn\log(n))


References


External links

* {{YouTube, id=JaDnsMbeUkE, title=Algoritmo Out-of-Kilter (in Spanish) Network flow problem