Optimizing Complex Problems: Linear Programming with Python