Duality theory in mathematical programming Geometry and constraints mathematics