We consider the optimization problem that consists in maximizing the time averaged profit for a motion of a smooth polydynamical system on the circle in the presence of a smooth profit density. When the problem depends on a k-dimensional parameter the optimal averaged profit is a function of the parameter. We present the classification of all generic singularities of this function when k ≤ 2.