-
Notifications
You must be signed in to change notification settings - Fork 4
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
Decomposition became much slower for lazy_expm mode #147
Comments
EDIT
|
Here it works: compute(:δ => 1e-3, :N => 3, :mode=>"reach", :verbosity => "info", :lazy_expm=>true, :set_type=>Interval, :partition => [[i] for i in 1:10913])
[info] Time discretization...
[info] elapsed time: 342.700746425 seconds
[info] Reachable States Computation...
[info] - Decomposing X0
[info] elapsed time: 707.852182514 seconds
[info] - Computing successors
[info] elapsed time: 2.667469983 seconds
[info] - Total
[info] elapsed time: 712.20336396 seconds
[info] Projection...
[info] elapsed time: 0.360965227 seconds For the real The changeset #304 cannot affect decomposition i think because decomposition uses calls to the support vector (To evaluate the support vector in some direction of a runtime object i used a call like using JLD
julia> X0 = load("X0_mna5.jld", "X0");
julia> v = sparsevec([10], [1.0], 10913);
julia> @time σ(v, X0);
0.015218 seconds (306 allocations: 7.295 MiB) For this model it takes around |
I just double-checked the experiment with FOM. Interestingly, the difference is only visible for For MNA5 it is so much slower. I added a I agree that the PR should not have any effect on the decomposition. What is going on here? |
I found out how |
#147 - Convert to sparse matrix in discretization with lazy_expm
Recent changes made decomposition for MNA5 run much slower. I ran it for at least 30 minutes and finally stopped it.
On March 27, 10 am, the whole analysis (which decomposition is only a part of) took 970 seconds (1D
Interval
) resp. 1,568 seconds (2DHyperrectangle
).The text was updated successfully, but these errors were encountered: