A cargo plane has three compartments for storing cargo: front, centre and rear. These compartments have the following limits on both weight and space:
Compartment Weight capacity (tonnes) Space capacity (cubic metres)
Front 10 6800
Centre 16 8700
Rear 8 5300
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 plane.
The following four cargoes are available for shipment on the next flight:
Any proportion of these cargoes can be accepted. The objective is to determine how much (if any) of each cargo C1, C2, C3 and C4 should be accepted and how to distribute each among the compartments so that the total profit for the flight is maximised.
Formulate the above problem as a linear program
What assumptions are made in formulating this problem as a linear program?
Briefly describe the advantages of using a software package to solve the above linear program, over a judgemental approach to this problem.
Solution
Variables
We need to decide how much of each of the four cargoes to put in each of the three compartments. Hence let:
xij be the number of tonnes of cargo i (i=1,2,3,4 for C1, C2, C3 and C4 respectively) that is put into compartment j (j=1 for Front, j=2 for Centre and j=3 for Rear) where xij >=0 i=1,2,3,4; j=1,2,3
Note here that we are explicitly told we can split the cargoes into any proportions (fractions) that we like.
Constraints
cannot pack more of each of the four cargoes than we have available
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 plane