Added check eps optimality.