A New Approach for Solving an Optimization Problem