Modeling competitive markets : retailers and ride-hailing platforms