The assessment of life cycle greenhouse gas emissions of motor fuels is important due to the legal obligations and corporate social responsibility of the petroleum industry. Combining the Life-Cycle Assessment with optimization methods can provide valuable support in the decision-making process. In this paper, a mathematical model of a refinery was developed to analyze the impact of process optimization on GHG emissions at the fuel production stage. The model included ten major refinery units. Fuel production costs were minimized by taking into account the number of constraints. The analysis was performed in two steps. First, the model was run for the reference case of fuels composition. Then, more than twelve thousand model runs were perfo...