Limit partially-separable function #82
paraynaud
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@dpo, I made a successful limit function:
where each element's size is$\approx\sqrt(n)$ , which makes $n_i$ grow as $n$ increases but not too much.$f$ considers 139 element functions depending on $70 \leq n_i \leq 73$ elemental variables.
div=Int(floor(sqrt(n)))
For example, when
n
is set to5000
, rounded ton=4970
,The function is not quadratic anymore, but stays positive.
The second sum term is to doubled the number of element functions.
In Julia, it gives:
This numerical result should take place after the performances profiles, so I kept only the best methods: LBFGS (linesearch), PSR1 and PLSE.
I chopped the curve of LBFGS because it reached at some point
max_time=900.
for anyn
greater to 5000, making the curve ofiter
falls without solving the problem.We can observe that PLSE make more iterations than PSR1, but as
n
increases, the amount of computation from PSR1 exceeds the gain obtained by realizing less iterations!Let me know what you think of those graphs:
time.pdf
iter.pdf
Beta Was this translation helpful? Give feedback.
All reactions