R sripts for Caldeira, G. P. and Isler, C. A. Random Regret Minimization to Commuting Mode Choice in São Paulo, Brazil. Transportation Research Record. 1–14. 2024.
You can find the link for the paper here
In case you use the code or the paper in you research, please cite it!