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

Add in methods to scale the problem objective, constraints and their derivatives for IPOPT #166

Open
moorepants opened this issue Jun 16, 2024 · 6 comments

Comments

@moorepants
Copy link
Member

IPOPT converges better if the objective and constraints are scaled. We can probably make smart scaling based on the dynamics that are being modeled.

@moorepants
Copy link
Member Author

If the user sets bounds on the trajectories, those could be used to make some scaling rules because the max/min of each state would be known.

@Peter230655
Copy link
Contributor

If the user sets bounds on the trajectories, those could be used to make some scaling rules because the max/min of each state would be known.

Just curiosity: would scaling mean, that the values $\in (-1.0, 1.0)$ ?

@moorepants
Copy link
Member Author

Yes.

@moorepants
Copy link
Member Author

There is some general rule for keeping objective and constraint values small, but here is the basic documentation: https://coin-or.github.io/Ipopt/OPTIONS.html#OPT_NLP_Scaling and it ties to applying scaling to the internal linear solve routine.

@moorepants
Copy link
Member Author

Tips on scaling: coin-or/Ipopt#498 (comment)

@Peter230655

This comment was marked as off-topic.

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

2 participants