The New Era of Dynamic Pricing: Synergizing Supervised Learning and Quadratic Programming