Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with funcs.iterfunc #9

Open
CaliShulz opened this issue May 19, 2021 · 0 comments
Open

Problems with funcs.iterfunc #9

CaliShulz opened this issue May 19, 2021 · 0 comments

Comments

@CaliShulz
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant