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

IPNewton() and Constrained Nonlinear Optimization #813

Open
alh99 opened this issue May 1, 2020 · 2 comments
Open

IPNewton() and Constrained Nonlinear Optimization #813

alh99 opened this issue May 1, 2020 · 2 comments

Comments

@alh99
Copy link

alh99 commented May 1, 2020

Hi,

I was wondering if IPNewton() could be used in conjunction with equality constraints. The tutorial was quite nice, but noted that this had not yet been implemented.

Something else I noticed in using IPNewton() for a multivariable optimization problem (with second order Hessian information) was that the returned solution didn't satisfy the inequality constraints that I imposed on the problem (although the initial point did). It seems like the algorithm shouldn't return "success" when the solution doesn't satisfy the original inequality constraints.

@pkofod
Copy link
Member

pkofod commented May 4, 2020

Thanks for the comments. Certainly, that part of the code can still use a lot of improvements. The last part is news to me, and I would love if you could provide a small example if at all possible.

@timholy
Copy link
Contributor

timholy commented May 5, 2020

if IPNewton() could be used in conjunction with equality constraints

Does it work if you set the lower and upper bounds to the same value?

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

3 participants