Return duality gap upper bound.