A mathematical optimization method used to select refinery feed, processing, blending, and product-routing decisions within operating constraints. It helps maximize margin while meeting capacity, quality, and market requirements.