Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
nine_k
2mo ago
0 comments
Share
It must be equivalent to the knapsack problem, for which many faster close-to-optimal algorithms exist. Am I missing something?
0 comments
default
newest
oldest
layer8
2mo ago
It’s not equivalent. Knapsack is weakly NP-hard, while optimal join order is strongly NP-hard. Also, algorithms that only approximate an optimal solution don’t generally carry over between NP-hard problems, unless they are structurally very similar.
j
/
k
navigate · click thread line to collapse