Optim.jl
Optim.jl copied to clipboard
Equality test instead of assignment in `IPNewton`?
state.ev == equality_violation(constraints, state)
in this snippet of update_state!
is an equality test, but it looks like assignment was meant:
https://github.com/JuliaNLSolvers/Optim.jl/blob/adc5b277b3f915c25233b45f8f2dd61006815e63/src/multivariate/solvers/constrained/ipnewton/ipnewton.jl#L282-L288
Looks like currently the algorithm only updates state.ev
here:
https://github.com/JuliaNLSolvers/Optim.jl/blob/adc5b277b3f915c25233b45f8f2dd61006815e63/src/multivariate/solvers/constrained/ipnewton/ipnewton.jl#L176-L179
Thanks, feel like making a PR? I promise to review quickly :)