Intelligent Optimal Control for Distributed Industrial Systems