Queueing System with controllable arrival rate ¦Ë

OBJECTIVE: Find the optimal price policy to reduce the waiting time of customer in the system, while maximizing the long-run reward.

Where g is period cost function and ¦Â is a given positive discount parameter.

Program solves optimal price policy and draw the figure.