Duality inequalities as a numerical aid