This repository contains Python codes to reproduce the figures in F. Magrini and M. Sambridge, Optimal Transport and Seismic Rays, Mathematics, 2023, 11(22), 4686; https://doi.org/10.3390/math11224686
Before running the codes, ensure you have seislib and docplex installed.