Compute a feasible transference plan between two mass vectors.
northwestcorner(a, b)
russell(a, b, costm)
A list whose components are \(m\) by \(n\) matrices, viz.
containing as \((i,j)\)-th entry the mass assigned from origin \(i\) to destination \(j\);
containing as \((i,j)\)-th entry a \(1\) if it is a basic entry and a \(0\) otherwise.
Two numeric vectors (typically containing natural numbers) of length \(m\) and \(n\), describing mass distributions.
A \(m\) by \(n\) matrix of costs for moving one unit of mass.
Dominic Schuhmacher dschuhm1@uni-goettingen.de
The current implementations are in R. Computations may be slow for larger vectors a
and b
.
The computed starting solution may be degenerate, i.e. there may be basic entries where zero mass is assigned.
transport