a simple question: I would like to increase the maximum number of iterations in IPOPT using matlab. What is the syntax to do that?
nlp = struct('f',cost_fun, 'x',opt_var, 'g',const);
options = struct('max_iter', 5000);
sol = nlpsol('solver', 'ipopt', nlp, options);
but it does not work...