Strategic Optimization of Medium-Sized Enterprises in the Global Market