Intelligent manufacturing for production planning based upon hierarchically coupled constrained and multimodal optimization