Maximizing Profits in Manufacturing