Interpreting error messages from optimizer