It’s the Element of the green line passing in the grey location within the intersection issue with the blue line into the intersection point with the red line. The latter point is the solution. There are many suited and very well-identified Python equipment for linear programming and combined-integer linear programming. https://charlienylik.blogitright.com/28770025/about-linear-programming-homework-help