State Optimization: Best Practices and Future Trends