Docsity

linear programming exercise, Exercises of Operational Research

Toggle sidebar
bg1
Linear Programming Illustrations and exercises
Illustration 1
A transport company has two types of trucks, Type A and Type B. Type A has a refrigerated capacity of
20m3 and a non-refrigerated capacity of 40m3 while Type B has the same overall volume with equal sections
for refrigerated and non-refrigerated stock. A grocer needs to hire trucks for the transport of 3000m3 of
refrigerated stock and 4000m3 of non-refrigerated stock. The cost per kilometer of a Type A is £30 and £40
for Type B. How many trucks of each type should the grocer rent to achieve the minimum total cost?
a) Choose the unknowns.
Let x = number of Type A trucks to be hired and
y = number of Type B trucks to be hired and
Z = Total cost of hiring the above trucks mix
b) Write the objective function.
Total cost, Z = 30x + 40y
Min Z = 30x + 40y
c) Write the constraints as a system of inequalities.
Non-refrigerated constraint: 40x +30y ≥ 4000
Refrigerated constraint: 20x + 30y ≥ 3000
x ≥ 0 and y ≥ 0
d) Find the set of feasible solutions that graphically represent the constraints.
e) Calculate the coordinates of the vertices from the compound of feasible solutions.
pf3
pf4
pf5

Partial preview of the text

Download linear programming exercise and more Exercises Operational Research in PDF only on Docsity!

Linear Programming Illustrations and exercises

Illustration 1

A transport company has two types of trucks, Type A and Type B. Type A has a refrigerated capacity of 20m^3 and a non-refrigerated capacity of 40m^3 while Type B has the same overall volume with equal sections for refrigerated and non-refrigerated stock. A grocer needs to hire trucks for the transport of 3000m^3 of refrigerated stock and 4000m 3 of non-refrigerated stock. The cost per kilometer of a Type A is £30 and £ 40 for Type B. How many trucks of each type should the grocer rent to achieve the minimum total cost? a) Choose the unknowns. Let x = number of Type A trucks to be hired and y = number of Type B trucks to be hired and Z = Total cost of hiring the above trucks mix b) Write the objective function. Total cost, Z = 30x + 40y Min Z = 30x + 40y c) Write the constraints as a system of inequalities. Non-refrigerated constraint: 40x +30y ≥ 4000 Refrigerated constraint: 20x + 30y ≥ 3000 x ≥ 0 and y ≥ 0 d) Find the set of feasible solutions that graphically represent the constraints. e) Calculate the coordinates of the vertices from the compound of feasible solutions.

f) Calculate the value of the objective function at each of the vertices to determine which of them has the maximum or minimum values. Z(0, 400/3) = 30 * 0 + 40 *400/3 = 5,333. Z( 15 0, 0 ) = 30 * 15 0 + 40 * 0 = 4500 As x and y must be natural numbers round the value of y. Z(50, 67) = 30 * 50 + 40 *67 = 4180 By default, we see what takes the value x to y = 66 in the equation 20x + 30y = 3000 * x = 51 which is within the feasible solutions. Z(51, 66) = 30 * 51 + 40 *66 = 4170 Interpretation: Optimal solution is to hire 51 Type A trucks and 66 Type B trucks giving a minimum cost of £ 4170

Illustration 2

A school is preparing a trip for 400 students. The company who is providing the transportation has 10 buses of 50 seats each and 8 buses of 40 seats, but only has 9 drivers available. The rental cost for a large bus is £800 and £600 for the small bus. Calculate how many buses of each type should be used for the trip for the least possible cost. Objective function, Min Z = 600x + 800y Seat constraint: 40x + 50y ≥ 400 Driver constraint: x + y ≤ 9 Non negativity conditions: x ≥ 0, y ≥ 0 Z(0,8) = 600 * 0 + 800 * 8 = 6400 Z(0,9) = 600 * 0 + 800 * 9 = 7200 Z(5,4) = 600 * 5 + 800 * 4 = 6200. Hence, the minimum cost is £6200. This is achieved with 4 large and 5 small buses being used for the trip. We substituted the points (0,9), (0,8), and (5,4) in the equation to determine the minimum cost. However, you can tell this by directly looking at the graph. The coordinate (5,4) comes under the feasible region and is the minimum point of it.

Illustration 3

A store wants to liquidate 200 of its shirts and 100 pairs of pants from last season. They have decided to put together two offers, A and B. Offer A is a package of one shirt and a pair of pants which will sell for £ 30.

f) Calculate the value of the objective function at each of the vertices to determine which of them has the maximum or minimum values. Z(x, y) = 20 * 20 + 50 * 10 = 1100 Z (x, y) = 30 * 90 + 50 * 10 = 3200 Z(x, y) = 30 * 20 + 50 * 60 = 3600 Z(x, y) = 30 * 50 + 50 * 50 = 4000 Hence, 50 packages of each offer generate a maximum amount of $4000 in sales.

Exercise 1

A company machines and drills two types of castings: X and Y. The times required are given below: Casting Machine hours per casting Drilling hours per casting X 4 2 Y 2 5 There are two lathes and three drilling machines and the working week is 40 hours. Variable costs for both castings are £6 per unit and total fixed costs amount to £50 per week. The selling price of casting X is £ 15 per unit while that of casting Y is £ 18 per unit. How many of each casting X and Y should be made in order to maximize profit and what is the value of this profit?

Exercise 2

The Hyderabad Chemical company specializes in the production of three different types of chemicals, A, B and C. These three chemicals are produced at two different factories. In a normal working day, factory I produces 5 tons of A, 3 tons of B and 1 ton of C while factory II produces 6 tons of A, 3 tons of B and 2 tons of C. In a given period, the demand for each of these chemicals is known to be 250 tons, 150 tons and 70 tons

respectively. Demand must be satisfied fully to ensure repeat orders. The daily cost of operation is £2,

in factory I and £3,500 in factory II.

Given that the objective is to minimize total cost o operation, find the optimum number of days each factory should be operated so as to satisfy the demand and the value of this minimum total cost of operation.

Exercise 3

A local builder’s merchant has decided to venture into the field of interior decoration. In the foreseeable future the business is going to concentrate on the painting of walls within agreed structures. Estimates of

total quantities of paints required based on an ad hoc market survey show that the business needs 400 tins of paint per month, the supply consisting of three different colours. The individual colour requirements are summarized as follows: the business requires at least 80 tins of brown paint, not more than 160 tins of blue paint and at least 40 tins of black paint. The cost per tin is given below: Colour: Blue Brown Black Cost/tin: £ 4 £ 5 £4. Required: Construct a linear programming model given that the objective is to purchase tins of paint so as to minimize total costs and yet satisfy the various requirements.