Skip to content

Warm Start with dual variables #605

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

You must be logged in to vote

Setting warm_start_init_point to yes should be sufficient.
If I add an ipopt.opt with warm_start_init_point yes and run the hs071_cpp example, I get

lt-hs071_cpp: hs071_nlp.cpp:120: virtual bool HS071_NLP::get_starting_point(Ipopt::Index, bool, Ipopt::Number*, bool, Ipopt::Number*, Ipopt::Number*, Ipopt::Index, bool, Ipopt::Number*): Assertion `init_z == false' failed.

So init_z seems to be true.

Please check your code again.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@GTRay
Comment options

@svigerske
Comment options

@GTRay
Comment options

Answer selected by svigerske
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