fix wrong asserts in CGraph.vec_hess and CGraph.vec_jac
fix ampl_minimization_problem example (used deprecated API)
add dtype to UTPM and Function
add more verbose NotImplementedError strings