A comparison of two dual methods for discrete optimal transport