Open kalmarek opened 2 years ago
Thanks for posting this. I played around with it and I think it's just the 1/k convergence rate taking a long time to reach high accuracy, I was able to eventually converge for all settings. This is a good test case for some potential improvements.
ok, I thought that AA was supposed to be (guaranteed) faster than linear, but I've just fact-checked myself ;)
Unfortunately AA is not guaranteed to even provide a speedup, just that if AA is applied it will also eventually converge to the optimum (this might be out of date now, haven't quite kept up with the latest literature). However, in practice it does provide a speedup for many problems and I have added some safeguards so that it shouldn't really slow down any problem. This should translate to a net win on average.
Specifications
Description
SCS-3.2.0 fails to converge.
How to reproduce
the attached file contains a problem that scs struggles to solve. Fixing
max_iters=10_000
and grid search onacceleration_lookback = -20:1:20
andalpha = 0.1:0.05:1.99
the problem is solved successfully only 13 times.Additional information
The correct objective value is
3825 / 4096 ≈ 0.933837890625
. The problem is tiny: when solved, it's <2000 iterations, runs in 0.05s so it's easy to experiment. It's somehow difficult to explain as it is a symmetric reformulation of sum of squares problem here: https://github.com/kalmarek/SymbolicWedderburn.jl/blob/master/test/action_dihedral.jlhere is the
write_data_filename
: https://cloud.impan.pl/s/HeOfF5dZyG4SO3NOutput
e.g. unsuccessful solve:
and a successful one: