(no title)
a3_nm | 2 years ago
It is not known whether this problem is NP-hard, or whether it can be solved in polynomial time; apparently the question is open since the early 90s.
(The problem is also open for paths of length p mod q for any fixed p and q (fixed means they are constants, and are not given as input), whenever q>2. The problem is known to be in PTIME for 0 mod 2 and 1 mod 2, and to be NP-hard when the graph is directed. Pointers to related work here: https://gitlab.com/a3nm/modpath)
sdenton4|2 years ago
In your right hand, take any collection of trees with 2, 3, ..., n vertices. These have a total of 1+2+...+n-1 edges, ie, n choose 2.
In your left hand, take the complete graph with n vertices. This, of course, has the same number of edges.
Conjecture: it is always possible to pack/embed the trees into the complete graph in such a way that all edges are matched exactly once.
The problem has been open for like fifty years, lacking a counter-example or a proof. One can assume Erdos thought hard about it at some point...
a3_nm|2 years ago
muldvarp|2 years ago
a3_nm|2 years ago
4death4|2 years ago
penteract|2 years ago
3np|2 years ago
That's the question, isn't it?
unknown|2 years ago
[deleted]
fuzzer371|2 years ago
melvinmelih|2 years ago
voxl|2 years ago
This is why I hate the AI hype, because people do legitimately do this and think "wow it's so smart." When I explained the halting problem using Python to a student he asked "did you use ChatGPT?" No. Of course not...
a3_nm|2 years ago