Assumption2. Let tim represent the duration of time that
the unit production cost is ci, before changing to cm. tim is a
random variable with the exponential density function
fim(t) and the parameter lim, because the unit production
cost is evolved according to a continuous-time Markov
process.Clearly wi(t) or the density function of staying
time instate ci is given by