Research Article

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

Pseudocode 2

Pseudocode for obtaining the optimal revised price ( ).
Function
case ratio_function   of
  Linear:
     
  Two_Segment:
     
     
        if then
            
        else
            
        End if
  Exponential:
     
End case
return
End Function