Skip to content

Point where nlp scaling is done #481

Answered by svigerske
bradbell asked this question in Q&A
Discussion options

You must be logged in to vote

Not in a clean way.
You may have notices that TNLP::get_starting_point() is called twice. The first one is the one triggered by the gradient or equilibrium scaling methods. So in principle you could provide the point where to scale first and the actual starting point in the next call.

A better implementation could be to add another callback to TNLP (which default to get_starting_point() if not overwritten) or to add a flag to get_starting_point() to indicate whether the point where to compute the scaling is request.

However, the motivation for the warm starting is actually that you want to ensure that the same scaling is used for the warmstarted solve (that's why Nai-Yuan disabled scaling…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by svigerske
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants