ARTIFICIAL INTELLIGENCE BASED FORECASTING AND OPTIMIZATION MODEL FOR