NP is the complexity class of decision problems whose proposed solutions can be verified in polynomial time. Decision problems return a simple yes-or-no answer. section 2.1.1
Optimization problems can be reframed as NP-style decision questions: does a feasible solution meet the requested optimality or near-optimality criterion? This connects complexity theory with routing and planning. section 2.1.1
Routing as a decision problem
For a traveling-salesperson instance, ask whether a route visiting every city satisfies a chosen distance or time bound. The corresponding optimization task seeks the best route; related vehicle-routing problems assign customers to depot-based vehicles while meeting demand. section 2.1.1

