-
Notifications
You must be signed in to change notification settings - Fork 27
Description
The description of funcs.iterfunc reports:
% funcs.iterfunc (optional)
%
% An additional callback routine that is called once per algorithm
% iteration. It takes three inputs: the first is the current iteration
% of the algorithm, the second is the current value of the objective,
% and the third is a structure containing fields x, inf_pr, inf_du, mu,
% d_norm, regularization_size, alpha_du, alpha_pr, and ls_trials. This
% function should always return true unless you want IPOPT to terminate
% prematurely for whatever reason. If you would like to use the third
% input to iterfunc along with auxdata functionality, you will need to
% modify the appropriate section of ipopt_auxdata.m.
however auxdata struct does not contain the value of the current solution x.
Matlab output is
auxdata =
struct with fields:
inf_pr: 0
inf_du: 0.1052
mu: 1
d_norm: 0
regularization_size: 0
alpha_du: 0
alpha_pr: 0
ls_trials: 0