Dynamic pricing and inventory control with learning | Synapse