Optimized Cloud Resource Management and Scheduling: Theories and Practices