Expert control architectures for production planning and control