-
Notifications
You must be signed in to change notification settings - Fork 22
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
Wall time is much longer than userlimits #88
Comments
Did you run the |
At the moment I would also set the time limit inside of Ipopt as well. |
Yes. All were fed with 60s limit. They are large instances but not necessarily super large. @Wikunia just did a Ipopt test with crudeoil_lee1_09, the root relaxation with Ipopt took 591s on a single core node. I guess the question is where time is spent outside the BnB search. BTW, thanks @Wikunia |
I think there are two keys points,
This is a pretty common problem among non-commercial solvers (incl. bonmin). If a sub-solver is spinning the master solver will not check it's time limit. @Wikunia, the only robust solution I can think of is to run the complete solver algorithm in it's own separate process (incl. pre solve, FP, and search). The master thread monitors the current best solution and bound, and time limit. It then kills the solver alg. process when the limit is reached. |
Until JuMP v0.19, we should not try to have Juniper set the NLP solver runtime limit. The parameters differ by solver, so the user should specify this. |
This still needs to set the time limit for the nlp solver if you want to be safe. |
At the moment I use https://github.com/lanl-ansi/Juniper.jl/blob/master/src/fpump.jl#L152-L157 to limit the time inside the feasibility pump. This might be an option (maybe this changes in JuMP v0.19) |
Was trying to connect Juniper with POD for some large scale runs.
Juniper solver is configed as:
Here is a sample output of problem chp_shorttermplan2a. The "wall time" (getsolvetime(m)=283.986s) is much longer then 60s.
Is the solver configured wrongly? Some other cases suggested excessive long running time.
The text was updated successfully, but these errors were encountered: