Principle of Optimality

A problem is said to satisfy the Principle of Optimality if the subsolutions of an optimal solution of the problem are themselves optimal solutions for their subproblems.

Examples:

  • The shortest path problem satisfies the Principle of Optimality
  • Optimal Policy

Principle of Optimality

Any Optimal Policy can be subdivided into two components:

  1. An optimal first action
  2. Followed by an optimal policy from successor state

Theorem (Principle of Optimality)

A policy achieves the optimal value from state , , if and only if

  • For any state reachable from ,
  • achieves the optimal value from state ,

From F1TENTH An algorithm is said to be optimal if it returns the minimum cost solution when a solution exists.