The focus of present article is to investigate a supply chain inventory model along with inspection and stock dependent demand with use of green technology to reduce carbon emissions. Products that are decaying, or those that change over time, have a high sensitivity to the environment in terms of temperature, carbon emission, humidity, waste disposal, etc. This study develops a profit maximization model in the presence of deterioration, preservation, imperfect production, inspection error, rework, stock and price-dependent demand. The three carbon emission strategies are proposed to reduce the expenses in different carbon emissions scenarios. The suggested approach may be used to determine the optimal production period, preservation investment, and level of green investment. The solution of the non-linear constraint optimization is provided by using a penalty method in metaheuristic approaches. In order to conduct a sensitivity analysis for the essential model parameters, a numerical example is presented. The soft computing results produced by DE and PSO are compared with the results obtained by Adaptive Neuro-Fuzzy Inference System (ANFIS) technique.