Food waste is present at any stage of the food chain, considerably in stores and households, and it has serious consequences for the environment and the economy. In this thesis, we will focus on food waste of perishable products in the last two stages of the food chain (stores and households) because they are particularly sensitive as the shelf life of these types of products decreases . At these levels, food can be wasted for several reasons. One of the principal reasons is consumer behavior. Our contribution is to find a trade-off between customer expectations and retail service level by proposing a unified optimization model that brings together all factors involved in food waste at the distribution and consumption levels to help retailers make the best inventory decisions that maximize their profit and minimize food waste in both stages