Code for the article "Regularized Discrete Optimal Transport "