Hi, I was trying to use the quadprog(objective vector, Hessian matrix, A, sense, b, lower bound, upper bound, solver) function according to this link
It returns an instance of the type:
If “status = Optimal”, objval, sol and attrs will have values.
I need to limit the iterations of the solver to 100, x = quadprog(f,H,Aeq,’=’,beq,lb,ub,IpoptSolver(max_iter=100))
but in this case, the status = UserLimit, and objval, sol and attrs won’t have values.
Can someone help with this? Thank you!