Adding deprecation errors as per #630
Added NLP_SOLVER_X0
Fixed callback.py example