An additive eigenvalue problem of physics related to linear programming