Source: https://www2.econ.iastate.edu/faculty/langinier/papers/revue.pdf