Skip to content

If the solution is affected by the running time #672

Answered by svigerske
zzzZ-zy asked this question in Q&A
Discussion options

You must be logged in to vote

If Ipopt stops on a timelimit, then you may of course get different end results when repeating the runs. But everything before the timelimit is reached should be unaffected.

Enabling the derivate tests means additional calls to your function/Jacobian/Hessian evaluation routines. You need to make sure that calls to these routines do not affect subsequent calls.

Changes to a print_level or so should not have any effect. Getting different results in this case is sometimes a symptom of using uninitialized memory somewhere. You may want to run under a tool like valgrind to check this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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