A Hardware Relaxation Paradigm for Solving NP