01.2 - The min-cost flow problem - from slides - MM
01.2 - The min-cost flow problem - from slides - MM
Problem definition
A network like the one below is given:
The same network, can also be described through 6 linear equations:
or in matrix form:
Notice how the 6 equations are not linearly indipendent. One equation can be removed as it originates from the others. We same the system is overdetermined.
The flow vector,
Given we have more unknown variables than equations, the solution won't be unique.
The min-cost problem consists in finding the solution, or solutions, that minimize the cost of moving units across a network.
Let:
Node-link incidence matrix flow vector (decision variables) injections/extractions vector lower and upper bounds vectors Is the vector cost: it assigns a cost value to every link
Our system can be written as:
We want
keeping in mind, as a restrain, that:
Usually,
Typically,
- [?] Why is the solution upper bounded when the cost is greater than 0?
Basic feasible solution
Each problem defined as in #Problem definition, has many possible solutions. We are interested in some specific ones, called basic feasible solutions.
Let there be a graphgraph
The solution,
0. It's feasible
- We can build a set,
, so that containing links where the flows in the graph are equal to: constitutes a spanning tree - We put every other null or upper bound flow in other sets,
or
where:
Set of links with null flows: , then Set of links with upper bound flows: , then
or, alternativly, if there is NOT an upper bound, we only have: Set of links with null flows: , then
Given this graph:
We can define
Notice that:
and that the links in
There is no upper bound so we only need
Once we select a spanning tree, we can make an incidence matrix of just the spanning tree. In this case, we'll get:
Notice that the system above is not linearly independent. So, we can remove the last row and we get:
❗❗❗❗❗❗❗❗❗❗❗❗
❗❗❗ COMPLETARE ❗❗❗
❗❗❗❗❗❗❗❗❗❗❗❗
From slide 17 to end of pdf.