Dynamic inventory and price controls involving unknown demand on discrete nonperishable items