Skip to content
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

Question about solve time wrt dimension #145

Closed
JinraeKim opened this issue Dec 10, 2021 · 6 comments
Closed

Question about solve time wrt dimension #145

JinraeKim opened this issue Dec 10, 2021 · 6 comments

Comments

@JinraeKim
Copy link

JinraeKim commented Dec 10, 2021

While I read the COSMO.jl paper,
I was curious about "why the solve time decreases as the dimension increases" in the case of COSMO up to n = 150:
image

How is it possible?

@JinraeKim
Copy link
Author

Or, such phenomenon is it often reported from the literature?

@migarstka
Copy link
Member

Hi @JinraeKim, thanks for noticing this. At small dimensions, where the linear system solve step dominates the computation time, I did in fact notice some variance in the solve time. The results here are from a single run of the problem set on the compute cluster. Running the same problem set multiple times and averaging the solve times should show a more congruent impact of the problem dimension on the solve time.

@JinraeKim
Copy link
Author

Hi @JinraeKim, thanks for noticing this. At small dimensions, where the linear system solve step dominates the computation time, I did in fact notice some variance in the solve time. The results here are from a single run of the problem set on the compute cluster. Running the same problem set multiple times and averaging the solve times should show a more congruent impact of the problem dimension on the solve time.

Thank you.
Do you think it's possible from the mean values from multiple runs?
Actually, I observed this phenomenon in my case with 500 runs, so I'm inspecting the reason :)

@migarstka
Copy link
Member

If it is systematically slower, could you send me a MWE version of the script via email or post it here? Would be interesting to see.

@JinraeKim
Copy link
Author

@migarstka
I'm really sorry that I cannot find an appropriate MWE.
Here is my code (branch: rewrite-code); when running test/basic.jl, it gives some results with optimisation time as I said.

Sorry again that I have no idea how to find an appropriate MWE...

@JinraeKim
Copy link
Author

JinraeKim commented Dec 14, 2021

Ah, it's not actually run with COSMO.jl for now, but I found that this phenomenon is also observed when solver = COSMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants