There is a factory that produces one unit of stock uniformly so that $q$ units of stock are produced during a day. The warehouse near a factory has the maximal capacity of $q$ items, i.e. a daily production. We assume if at any given time there is an excess inventory of stock - it is destroyed. At the beginning of a day the warehouse holds $q$ units of stock.
There is a stochastic demand for a stock that follows a Poisson process with an intensity that is a function of premium $\delta$ we charge for the item. For simplicity, each time there is a demand - it is for one unit. We know how the intensity depends on the charged premium and this is a convex and decreasing function in premium.
We control the premium and may change it at any time. We need to find a schedule that solves the following optimisation problem.
$$ \delta_t = argmax_\delta( \mbox{number of items sold during a day}) $$ such that $$ q_t > 0, \mbox{for all t} $$
where $q_t$ is the inventory of a warehouse at time $t$. I.e. we want to sell as much items as possible never running out of the inventory at a warehouse. The time horizon for this optimisation problem is one day. We assume factory refills the warehouse at night.
How one would approach this problem? If the condition on the warehouse capacity is an issue I am ok to add it to the objective function as a penalty term. Also, if there is a mathematically sound heuristic solution - this is also fine.
produces one unit of stock uniformly so that q units of stock are produced during a day
, you do have a hard constraint to replenish the warehouse smoothly during the day. It means that you cannot deliver the products more than the replenishment quantity of the warehouse. Would you say please, how you have faced the inventory shortage if the mean of the demand (Poisson function) might be greater than the mean of refilling the warehouse? $\endgroup$