starting solutions | R Documentation |
Compute a feasible transference plan between two mass vectors.
northwestcorner(a, b)
russell(a, b, costm)
a , b |
Two numeric vectors (typically containing natural numbers) of length |
costm |
A |
A list whose components are m
by n
matrices, viz.
assignment |
containing as |
basis |
containing as |
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.
Dominic Schuhmacher dschuhm1@uni-goettingen.de
transport
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.