A solution (by recursion formulas) of a simple linear minimization problem, involving a cycle set of inequalities. A modification of these formulas yields a solution in the case where the unknown variables are restricted to assume only integer values.