Optimization of an Advanced Integrated Inventory Model Considering Shortages and Deterioration across Varying Demand Functions | Synapse