Optimal Capital Investments