Question: 5. (4pts) Using Python and whichever modeling library you prefer, formulate the following problem as a linear program and report the optimal solution. A cargo

5. (4pts) Using Python and whichever modeling library you prefer, formulate the following problem as a linear program and report the optimal solution. A cargo plane has three compartments for storing cargo: front, center, and back. These compartments have capacity limits on both weight and space, as summarized below: Furthermore, the weight of the cargo in the respective compartments must be the same proportion of that compartment's weight capacity to maintain the balance of the airplane. The following four cargoes have been offered for shipment on an upcoming flight as space is available: Any portion of these cargoes can be accepted. The objective is to determine how much (if any) of each cargo should be accepted and how to distribute each among the compartments to maximize the total profit for the flight
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
