Linear Programming Exercises Test
Linear Programming Exercises Test
(Ecology) A fish pond supplies them every spring with two species of
Fish S and T. There are two types of food F.1y F2available in the pond. The weight
average of the fish and the average daily food requirement for each fish of
each species is given in the following table:
If there are six hundred of F1and three hundred of F2Every day. How do you debit supply?
The pool for what the total weight of fishes is at least 400 pounds?
Solution:
Problem 21:
A farmer has 200 pigs that consume 90 pounds of special food every
days. The food is prepared as a mixture of corn and soybean flour with the
following compositions:
Pounds per Pound of Food
Food Football Protein Fiber Cost ($/lb)
Corn 0.001 0.09 0.02 0.2
Soy Flour 0.002 0.6 0.06 0.6
Determine the food mix with the minimum cost per day.
Solution:
Problem 22:
A small bank allocates a maximum of $20,000 for personal loans and for
cars during the next month. The bank charges an annual interest rate of 14%
12% for personal loans and 12% for car loans. Both types of
loans are settled in periods of three years. The amount of the loans for
car must be at least more than twice the amount of the loans
personal. Past experience has shown that uncovered debts
they make up 1% of all personal loans How should they be allocated
funds?
Solution:
Problem 23:
A radio assembly plant produces two models HiFi-1 and HiFi-2 on the same line
assembly. The assembly line consists of three stations. The times for
assembly in the workstations are:
Minutes per Unit of Minutes per Unit of
Workstation HiFi-1 HiFi-2
1 6 4
2 5 5
3 4 6
Each workstation has a maximum availability of 480 minutes per day. Without
embargo, the workstations require daily maintenance, which contributes to
10%, 14% and 12% of the total 480 minutes available daily for
stations 1, 2, and 3 respectively. The company wishes to determine the units
daily that will be assembled from HiFi-1 and HiFi-2 in order to minimize the sum of non-time
used (inactive) in the three stations.
Solution:
Problem 24:
Solution:
Problem 25:
Two products are produced by passing successively through three machines. The time for
machine assigned to the products is limited to 10 hours per day. The time of
production and the profit per unit of each product are:
Minutes Per Unit
Product Machine 1 Machine 2 Machine 3 Profit
1 10 6 8 $2
2 5 20 15 $3
Note: Determine the optimal combination of products.
Solution:
Problem 26:
A company can advertise its product through the use of radio and television stations.
Their budget limits advertising expenses to $1000 per month every minute of
A radio ad costs $5 and each minute of advertising on television costs $100.
the company would like to use the radio at least two times more than television.
past experience shows that every minute of television advertising will generate in terms
General 25 more sales than every minute of advertising on the radio. Determine the allocation.
optimal monthly budget for radio and television advertising.
Solution:
Max Z = x1+ x2
Subject to:
5x1+ 100x2< 1000 …….. (2)
x2(2)(x1)
x1(25)(x2
x1, x20
Problem 27:
Solution:
Problem 28:
A company manufactures two types of hats. Each hat of the first type requires
twice as much labor time as a second type product. If all the
hats are exclusively of the second type. The company can produce a total of
500 units per day. The market limits daily sales of the first and second types to
150 and 200 units. Suppose the profit obtained per product is $8 per
type 1 and $5 for type 2. Determine the number of hats of each type that must
developing to maximize profit.
Solution:
What are we going to maximize?
Problem 29:
from the operation of this, since due to a shortage of raw material it cannot produce more
of 21 units of the product.
Solution:
Problem 30:
The group 'IMPEXA' wants to advertise its products in three different ways.
media: radio, television, and magazine. The main objective is to reach as many clients as
It is possible. They have conducted a study and the result is:
Durante el día
Number of clients 450,000 800,000 675,000 200,000
potentials that it can
reach by units of
advertising
500,000 1,000,000 650,000
"IMPEXA" does not want to spend more than $1,200.00. Also, on television advertising, no
They want to spend more than 750 thousand pesos. They want to buy three television units.
during the day and 2 units at night. Formulate the problem as a model of
linear programming.
Solution:
Problem 31:
Mrs. Morales has a diet to follow, which meets the following requirements
nutritional.
At least 4 mg of vitamin A
At least 6 mg of vitamin B
At most 3 mg of vitamin D
Likewise, the diet consists of bread, cheese, beef, and meat. The following table gives us
provide the requirements per vitamin in mg, as well as the cost
Content in mg per gram of product
Solution:
Problem 32:
Julio, who is an investment advisor, has 4 projects presented to him with their
respective costs over a period of three years, as well as the total profit. It requires
maximize total utility having $50,000; $24,000; and $30,000 in each of
the following years:
PROJECT USEFULNESS COST COST COST
TOTAL YEAR 1 YEAR 2 YEAR 3
X1 100 6 14 5
X2 90 2 8 14
X3 75 9 19 18
X4 80 5 2 9
Solution:
Problem 33:
Suppose that the Agricultural Credit Bank has two investment plans.
the first in the irrigation land program, the second in the
temporary lands. The first program returns 30% of the investment at the end of the year.
while the second plan returns 65% of the investment, for the term of two
years. The interest received in both plans is reinvested again in either.
of both plans. Formulate the linear program that allows the bank to maximize the
total investment in a six-year period, if the investment is $100 million.
Solution:
Problem 34:
A perfume company can advertise its product through the use of stations.
from radio and television. Its budget limits advertising expenses to $1,500 per month.
Every minute of advertising on the radio costs $15 and every minute of advertising on
The television costs $90. The company would like to use the radio at least twice.
more than television. Historical data shows that each minute of advertising for
television will generate in general terms 30 times more sales than every minute of
radio advertising. Determine the optimal allocation of the monthly budget for
radio and television advertisements.
Solution:
What are we going to maximize?
Problem 35:
An animal store has determined that each hamster should receive less than 70.
units of protein. 100 units of carbohydrates and 20 units of fat. If the
The store sells the six types of food shown in the table. What mix of
Does the food meet the needs at a minimal cost for the store?
Solution:
The company has 480 hours available weekly for machining, 400 hours for the
polished and 400 hours for assembly. The unit profits per product are $6, $4,
$6 and $8 respectively. The company has a contract with a distributor in which it
commits to delivering 50 units of product 1 and 100 units weekly.
any combination of products II and III, depending on the production, but only one
maximum of 25 units of product IV. how many units of each product should I
manufacture weekly by the company in order to meet all the conditions of the
contract and maximize total profit?
Consider the incomplete pieces as a Linear Programming model.
Solution:
Problem 36:
Four products are processed successively on two machines. The times for
Manufacturing hours per unit of each product are tabulated below for the
two machines:
Machine Product 1 Product 2 Product 3 Product 4
1 2 3 4 2
2 3 2 1 2
The total cost of producing one unit of each product is directly based on the
machine time. Assume that the cost per hour for machines 1 and 2 is $10 and
$15. The total hours budgeted for all products on machines 1 and 2
They are 500 and 380. If the selling price per unit for products 1, 2, 3, and 4 is $65,
$70, $55, and $45, formulate the problem as a linear programming model for
maximize total net profit.
Solution:
Problem 37:
At the beginning of each month, the company has three alternatives available for acquisition.
machinery. In the first option, you can buy a machine for $20,000.00 each.
with a delivery period of one month. That is, if at the beginning of each month 't' is requested and
Pay for the machinery, it will be delivered at the beginning of month t + 1.
In the second option, each machinery can be purchased for $15,000.00, but the
The delivery period is in two months. The last alternative is to buy for $10,000.00.
each machine with a delivery period of three months.
Formulate a linear programming model to determine the purchasing policy.
of machinery, production, and payment of operators each month, in such a way that
At the beginning of the seventh month, have the maximum number of machines in operation.
Solution:
Problem 38:
Note that period 1 follows period 6. Consider that each person in the
The company works 8 consecutive hours. Suppose that Xty Zt, denote the number of
technical and specialized personnel, respectively, who begin to work at the start
from period t on each day. In this company, the labor agreement states that throughout
there should be at least three times the number of technical staff than that
specialized personnel. Establish a linear programming model to determine
the minimum number of technical and specialized personnel to meet the needs
work diaries in the company.
Solution:
xiRthe number of technical staff
xitthe amount of specialized personality
where i = 1, 2, 3, 4, 5, 6.
Min Z = x1+ x2
Subject to:
20x1+ 8x2> 60
40x1+ 12x2120
80x1+ 15x2240
45x1+ 9x23 times 45
25x1+ 3x2> 75
10x1+ 2x2> 30
Problem 39:
National Railways of Mexico has the following demand at the beginning of next year
of diesel locomotives to occupy their system throughout the country:
Trimester 1 2 3
Locomotives 750 800 780
Diesel
It is estimated that at the beginning of the year there will be 650 locomotives in working condition and the
the operating budget for that year is $100,000,000 delivered in installments
quarterly of 40, 30, 20 and 10 million respectively.
It is supposed that at the end of each quarter, 5% of the locomotives must be maintained.
repair and 5% are out of service. Formulate a programming problem
linear that allows determining the combination of policies that should be taken into account
management of railways to minimize costs and meet the demand for locomotives.
Solution:
Problem 40:
A company produces brown sugar, white sugar, powdered sugar, and molasses.
with the syrup from sugar cane. The company purchases 4000 tons of syrup from
the week and has a contract to deliver a minimum of 25 tons weekly of
each type of sugar. The production process begins by manufacturing brown sugar and
molasses with syrup. One ton of syrup produces 0.3 tons of sugar
brown sugar and 0.1 tons of molasses. After that, white sugar is produced by processing
brown sugar. 1 ton of brown sugar is required to produce 0.8 tons.
of white sugar. Finally, powdered sugar is made from white sugar by
through a special grinding process, which has a 95% conversion efficiency (1
ton of white sugar produces 0.95 tons of powdered sugar). The
utilidades por tonelada de azúcar morena, azúcar blanca, azúcar pulverizada y melazas
are 150, 200, 230, and 35 dollars, respectively. Formulate the problem as a
linear program.
Solution:
The production of each type of sugar according to the production process is detailed in
continuation per ton of material used.
Problem 41:
Four products are processed in sequence by two machines. The following table
provide the relevant data for the problem.
Solution:
We determine the decision variables:
Xij: units produced by product type j: 1, 2, 3, 4.
using each machine i: 1, 2.
The restrictions:
2X11 + 3X12 + 4X13 + 2X14 <= 500 (Capacity restriction of machine 1)
3X21 + 2X22 + 1X23 + 2X24 <= 380 (Capacity constraint of machine 2)
Problem 42:
With rubies and sapphires, a businessman produces two types of rings. A type 1 ring requires 2
rubies, 3 sapphires and 1 hour of work from a jeweler. A type 2 ring requires 3 rubies, 2 sapphires and 2
working hours of a jeweler. Each type 1 ring is sold for 400 dollars, and each type 2 ring for
500 dollars. All the produced rings can be sold. Currently, there are 100 available.
rubies, 120 sapphires, and 70 hours of a jeweler's work. More rubies can be bought at a cost
of 100 dollars per ruby. Market demand requires a production of at least
20 rings of type 1 and at least 25 rings of type 2. Formulate the problem to maximize the
profit.
Solution:
Requirement per unit
Type of
ring Availability
Type 1 Type 2
Rubies (unit) 2 3
Sapphires (unit) 3 2
Man-hours 1 2 70
Price ($/unit) 400 500
Demand (unit) 20 25
Problem 43:
For a 24-hour shift, a hospital is requiring the following staff for the area of
nursing, defines 6 shifts of 4 hours each.
Number
Shift minimum
of personal
2:00 - 6:00 4
6:00 - 10:00 8
10:00 AM - 2:00 PM ten
2:00 PM - 6:00 PM 7
18:00 - 20:00 12
20:00 - 24:00 4
Labor contracts are for 8 consecutive hours per day. The objective is to find the number
fewer people who meet the requirements. Formulate the problem as a model
of linear programming.
Solution:
We determine the decision variables:
Xi = Amount of personnel per shift i = 1, 2, 3, 4, 5, 6.