The management of a food supply chain is difficult and complex because of the product's short shelf-life, time-sensitivity, and perishable nature which must be carefully considered to minimize food waste. Temperature-controlled perishable food supply chain provides the highly crucial facilities necessary to maintain the quality and safety of the product. The storage temperature is the most vital factor in maintaining both the quality and shelf-life of a perishable food. Adequate storage temperature control ensures that perishable foods are transported to the end-users in good quality and safe to consume. This paper presents perishable food storage temperature control through mathematical optimal control model where the storage temperature is regarded as the control variable and the deterioration of the perishable food’s quality follows the first-order reaction. The optimal storage temperature for a single perishable food is determined by applying the Pontryagin's maximum principle to solve the optimal control model problem. For multi-temperature commodities supply chain, an unsupervised machine learning (ML) method, called k-means clustering technique is used to determine the temperature clusters for a range of perishables. Based on descriptive analysis, it is observed that the k-means clustering technique is effective in identifying the best suitable storage temperature clusters for quality control of multi-commodity supply chain.