Research Article

A Price-Dependent Demand Model in the Single Period Inventory System with Price Adjustment

Pseudocode 1

Pseudocode for obtaining the best revised price within the interval .
Function
Initialize ; where is the length of each step at each iteration
Initialize where is the calculation accuracy
repeat
      
      if then
          
      else
          
      End if
until     Check finishing criterion
return
End Function