A New Approach to Find the Optimal Solution for Base Stock Policies