Convex programming and systems of elementary monotonic relations