Learn R Programming

gridOT (version 1.0.2)

Approximate Optimal Transport Between Two-Dimensional Grids

Description

Can be used for optimal transport between two-dimensional grids with respect to separable cost functions of l^p form. It utilizes the Frank-Wolfe algorithm to approximate so-called pivot measures: One-dimensional transport plans that fully describe the full transport, see G. Auricchio (2023) . For these, it offers methods for visualization and to extract the corresponding transport plans and costs. Additionally, related functions for one-dimensional optimal transport are available.

Copy Link

Version

Install

install.packages('gridOT')

Monthly Downloads

179

Version

1.0.2

License

GPL-3

Maintainer

Michel Groppe

Last Published

September 18th, 2025

Functions in gridOT (1.0.2)

north_west_corner

North-west-corner Rule
dual1d

Dual Solution of one-dimensional Optimal Transport
transport_costmat

Cost Matrix for two-dimensional Optimal Transport
plot.otgrid

Plots for two-dimensional Optimal Transport
gridOT-package

gridOT: Approximate Optimal Transport Between Two-Dimensional Grids
otgrid

Two-dimensional Grid with Mass
transport_cost.numeric

Optimal Transport Cost
pivot_measure

Pivot Measure
transport_df.numeric

Optimal Transport Plan