Text this: Optimization and discrete choice in urban systems :