Do you know
my former blog?
It contains four posts about the computation of the Kantorovich
distance:

Using Julia to compute the Kantorovich distance

Continue reading: Kantorovich distance with the ‘ompr’ …