Intelligent Manufacturing Line Planning