Optimal value of a state