THE OPTIMIZATION OF WAREHOUSE LOCATION AND RESOURCES DISTRIBUTION FOR