-
Notifications
You must be signed in to change notification settings - Fork 16
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
Best way to export results? #743
Comments
whoa, that's huge. my first suggestion would indeed have been to export using JLD2.
if you are only interested in the plotting result and not in the taylor models themselves, then indeed i'd suggest first to convert to zonotope and then to save those. in past projects we could handle lots (the order of a few millions) reach-sets, even for plotting. it's possible ,but i can be a bit tricky to do it efficiently. |
if it is only omitted for reason of brevity, then i encourage you to share it. we could take a look and potentially suggest optimizations. |
i thought the number of taylor series variables was bound to ~20, because of the size of the coeffs table |
Here is the code! Annoyingly, the generated file can't be attached because jld is not a supported file type.
|
I tried saving after over-approximating with |
Wow, 80 dimensions. I am impressed that the method can handle that.
How many sets are there? I expect for a time horizon |
Along the same lines, what is the most efficient way to access the vertices of any of these zonotopes? I'm doing this naively to compute the maximum norm in the set (I could also solve the convex opt problem, lmk if there is a better way built in). Interestingly, the projection for the plots isn't too slow and Even when Part of the problem is this model form has all these dummy states (for disturbance) doubling the dimension, which do not change. Thus, I could project onto the first N dimensions but I'm not sure how to do that, nor if it will ultimately be enough. |
@willsharpless: If you want the infinity norm, then the box approximation is what you want. There is a function |
Sorry missed this, meant 2-norm but eventually gave up on it and reduced to inf-norm |
Hi all, thanks for all the help
With the previous L96 model (happy to share, omitted for brevity), I expanded the dimension to 40 and the analysis was able to complete at some point over night (wow, well done). Out of caution, I immediately exported the object returned by
solve
(usingTMJets
) and I usedJLD
, which I understand isn't the best but does the job.It worked, however, the file is ~15 gb. Is there a better way to save the objects?
I understand this is use case dependent, but from the previous issues, maybe over-approximating with
Zonotopes
would yield a "lighter" structure and could be reformatted for future use if needed? While its nice to have the solver metadata, it's certainly an after thought.The text was updated successfully, but these errors were encountered: