I think what you're describing is NP-hard, at least naively.
Isn't what LLMs do also NP-hard (at minimum)?
easy, just add a line to the prompt to solve P=NP first
Isn't what LLMs do also NP-hard (at minimum)?