News for hackers. Stuff that matters.
Re:Researchers at ETH Zurich develop the fastest possible fl... by optimalsolver on Saturday June 29, 2024 @07:33PM (#40834054)
So it's another galactic algorithm?

https://en.wikipedia.org/wiki/Galactic_algorithm

Re:Researchers at ETH Zurich develop the fastest possible fl... by poincaredisk on Saturday June 29, 2024 @08:41PM (#40834344)
I imagine the point of this algorithm, like a lot of algorithm research, is to prove the upper bound of complexity for this problem. Not to be used in practice (despite what this article seem to suggest).

On a similar note, there's a lot of work put into optimal matrix multiplication algorithm. We know the lower bound is N*2, the obvious upper bound is N*3, the best (complexity wise, not practical at all) current algorithm is N*2.37, but we don't know how fast can it really get. Is it possible to write N*2 algorithm? We don't know.

Re:Researchers at ETH Zurich develop the fastest possible fl... by FabHK on Sunday June 30, 2024 @02:41AM (#40835516)
^
Re:Researchers at ETH Zurich develop the fastest possible fl... by nnoremap2 on Sunday June 30, 2024 @04:31AM (#40835871)
I mean nobody is stopping me from writing an exponential time algorithm.
Re:Researchers at ETH Zurich develop the fastest possible fl... by Dylan16807 on Sunday June 30, 2024 @07:13AM (#40836540)
Sure? If you're slow on purpose that doesn't affect the upper bound set by the "obvious" method.
Re:Researchers at ETH Zurich develop the fastest possible fl... by jakeinspace on Sunday June 30, 2024 @09:14AM (#40836978)
I think they’re replying to the claimed upper bound of n^3. I’m not actually sure what that means.
Re:Researchers at ETH Zurich develop the fastest possible fl... by demurgos on Sunday June 30, 2024 @11:02AM (#40837535)
see schoolbook algorithm for the n^3 bound: https://en.wikipedia.org/wiki/Computational_complexity_of_ma...

It comes from directly applying the definition of matrix multiplication on a square matrix.

Re:Researchers at ETH Zurich develop the fastest possible fl... by Dylan16807 on Sunday June 30, 2024 @02:57PM (#40839248)
I'm not sure how to phrase this better than saying it's the bound set by the obvious method. Are you familiar with the obvious method of multiplying a matrix? It's n operations for each cell, and you have n^2 cells.

Being worse on purpose is always possible, but it doesn't change that bound.

It's the "obvious" upper bound, not the "how did you even get here without noticing the obvious method" upper bound.

Re:Researchers at ETH Zurich develop the fastest possible fl... by adrianN on Sunday June 30, 2024 @09:39AM (#40837110)
Knowing an upper bound means you know that the best solution for the problem takes at most that much work. It does not mean that you can’t find worse solutions.
Re:Researchers at ETH Zurich develop the fastest possible fl... by KolenCh on Sunday June 30, 2024 @11:31PM (#40842305)
Both N^2 and N*2 are fine, but N*2 should really not mean what you want it to mean…
Re:Researchers at ETH Zurich develop the fastest possible fl... by KolenCh on Monday July 08, 2024 @09:49AM (#40905425)
Now reading my comment again, I probably understand what happened. I typed N*2, and yet it showed as N*2. Probably this is why.
Re:Researchers at ETH Zurich develop the fastest possible fl... by ddtaylor on Sunday June 30, 2024 @12:26AM (#40835136)
Thank you for introducing a term and concept I was not familiar with.
Re:Researchers at ETH Zurich develop the fastest possible fl... by s_Hogg on Sunday June 30, 2024 @06:39AM (#40836378)
From that page:

> Available computational power may catch up to the crossover point, so that a previously impractical algorithm becomes practical.

Are there examples of Galactic Algorithms that now aren't Galactic Algorithms?

edit: turns out some matmul algorithms are?

Re:Researchers at ETH Zurich develop the fastest possible fl... by klysm on Sunday June 30, 2024 @01:00PM (#40838333)
I was about to ask if there was a term for this