Optimal and robust methods in the evaluation of measurement uncertainty