Closed shmarovfedor closed 9 years ago
It's because the domain of k
includes 0
. When I changed the domain of k
to 0.00001 <= k <= 4
, it stops generating exceptions while it took about 6 min to terminate.
Thank you, Soonho. Could you please add this example to the benchmarks?
Sure, I will do it. How did the previous version work with the example?
In the previous version it was still generating division by 0.
The previous version was much slower on this example
I see. I think that makes sense.
FYI, I have some cases where CAPD3 still outperforms CAPD4. I think they change the algorithm for making ODE steps and sometimes CAPD4 picks up very tiny ODE steps which causes slow performance in ODE solving.
One idea is to run both of them in parallel and takes the one first to come and interrupts the other one. I'm working on this direction.
Great. Could you also please check another ticket I created today?
Sure, I'm on it now.
Email CAPD about this?
On Thu, Dec 18, 2014 at 11:22 AM, Soonho Kong notifications@github.com wrote:
I see. I think that makes sense.
FYI, I have some cases where CAPD3 still outperforms CAPD4. I think they change the algorithm for making ODE steps and sometimes CAPD4 picks up very tiny ODE steps which causes slow performance in ODE solving.
One idea is to run both of them in parallel and takes the one first to come and interrupts the other one. I'm working on this direction.
— Reply to this email directly or view it on GitHub https://github.com/dreal/dreal/issues/63#issuecomment-67511467.
This is the model which was very slow in the previous version of
dReal
. Now it is significantly faster but there are a lot of division by 0 exceptions