Half 4: Extending linear programming optimization to discrete resolution variables Picture from Pexels.com by Min An…