Title: A dynamic, nonstationary inventory problem for a price-quantity setting firm