This document presents quantitative methods for strategic and investment planning in the oil-refining industry. It describes a mixed-integer nonlinear programming model that incorporates blending equations, crude choice and processing constraints, and logic constraints for unit expansions, installations, and investments. The model is used to determine the optimal investments of $30 billion over 12 years to maximize net present value, considering refining structures like crude distillation units and residual fluid catalytic cracking units. The results show it is best to invest in gasoline production using this type of configuration.