Cyber-Physical Systems: Intelligent Models and Algorithms