Dynamic Pricing in the Linear Valuation Model using Shape Constraints