A global optimization method for demand modeling