commented setHessianType at each solve()