UDC 519.852.2 https://doi.org/10.33619/2414-2948/100/03
SOME NOTES ON LINEAR PROGRAMMING PROBLEMS
©Yakubova U., ORCID: 0000-0001-5831-7068, Tashkent State Economic University, Tashkent, Uzbekistan, umidayakubova@rambler.ru
©Mirkhodjaeva N., ORCID: 0000-0001-5370-9871, Tashkent State Economic University,
Tashkent, Uzbekistan, najibaxon_7@mail.ru ©Parpieva N., ORCID: 0000-0002-5695-8619, Ph.D., Professional University, Tashkent, Uzbekistan, nparpieva@mail.ru
НЕКОТОРЫЕ ЗАМЕТКИ О ЗАДАЧАХ ЛИНЕЙНОГО ПРОГРАММИРОВАНИЯ
©Якубова У. Ш., ORCID: 0000-0001-5831-7068, Ташкентский государственный
экономический университет, г. Ташкент, Узбекистан, umidayakubova@rambler.ru, ©Мирходжаева Н. Ш., ORCID: 0000-0001-5370-9871, Ташкентский государственный экономический университет, г. Ташкент, Узбекистан, najibaxon_7@mail.ru ©Парпиева Н. Т., ORCID: 0000-0002-5695-8619, Ph.D., Профи университет, г. Ташкент, Узбекистан, nparpieva@mail.ru
Abstract. The paper considers such problems of linear programming as the problem of using raw materials, the problem of composing a diet. The basic definitions, theorems, algorithm and solution of the linear programming problem by the graphical method are given.
Аннотация. В работе рассмотрены такие задачи линейного программирования, как проблема использования сырья, задача составления рациона. Приведены основные определения, теоремы, алгоритм и решение задачи линейного программирования графическим методом.
Keywords: linear programming problems, graphical method, raw material use problem, diet problem, function maximum, minimum, constraints.
Ключевые слова: задачи линейного программирования, графический метод, проблема использования сырья, задача диеты, максимум, минимум функции, ограничения.
Nowadays, the ability to apply theoretical knowledge in solving practical problems is becoming a decisive factor for the study of any discipline. In particular, based on many years of experience in teaching business mathematics at an economic university, the authors consider it necessary to demonstrate the solution of some economic problems with the help of mathematical apparatus [1, 2].
If we fail to improve mathematics education in a way that takes into account the needs of today's world and students, we are in danger of turning mathematics into an increasingly "dead language" and alienating groups of students whose mathematical potential remains undeveloped [3, 4].
In many cases of investment production projects, deposits are returned in the same payment stream or other type of payment. It is called an "annuity" [5].
The subject of mathematical programming is the study of mathematical methods, the study and solution of extreme problems. Mathematical programming methods are used to find the extremum of multidimensional functions with given multidimensional constraints. The function for
Бюллетень науки и практики /Bulletin of Science and Practice https://www.bulletennauki.ru
Т. 10. №3. 2024 https://doi.org/10.33619/2414-2948/100
which the extreme value is searched is called the objective function of the problem. Constraints on unknown variables are written as a system of equations or inequalities.
A lot of fundamental works are devoted to the methods of linear programming. Mathematician J. Danzig introduced the concept of linear programming and in 1949 proposed an algorithm called the simplex method [8].
Let's consider constructing mathematical models of some simple economic problems.
The raw material use problem. In the production of n types of products, m types of raw
materials are used. Let's denote by S. (j = 1, m) types of raw materials; bj — stocks of raw materials of type i; Pj, j — 1, n — types of products; ajj. — number of units of raw materials of type i, for the production of a unit of product j ; C. — the amount of profit received from the sale
of the unit of productj . Let — number of units of product j , that needs to be produced. Then
the mathematical model of the problem can be represented as follows. Find the maximum value of a linear function
subject to constraints
L ^CyX^ ^ С2^2 ^ ••• ^
ailX1 + а12X2 + ••• + arnxn ^ bl
a2lX1 + a22X2 + ••• + a2nXn ^ b2
am,x + amlx0 + ••• + am„x„ < bm
ml 1 m2 2 mn n m
Xj > 0 (j = ~n)
The diet problem. Let the diet contain m types of nutrients in an amount of at least b (i = 1, m) units, and it is necessary to use n types of feed. To compile a mathematical model of
the problem, let's denote by ay (i = 1, m; j = 1, n) — number of units of nutrient j, contained in the
unit of feed j ; Cj — per unit cost of feed j ; Xj — number of units of feed j in the daily diet. It is necessary to find the minimum value of a linear function
L — (CjXJ ^ C2X2 ^ ••• ^ CftXyi
subject to constraints
aiixi + ai2X2 + ••• + arnxn > bl
a2lX1 + a22X2 + ••• + a2nXn ^ b2
am1 X1 + am2X2 + ••• + ^ b
mn n m
о (j = 1, n)
Definition. Linear programming is a field of mathematical programming, which is a branch of mathematics and studies methods for solving the extreme values of a linear function of a finite number of variables, on the unknowns of which linear constraints are imposed.
This linear function is called the objective function, and constraints, which are quantitative relationships between variables that express the conditions and requirements of an economic
problem, and are mathematically written as equations or inequalities, are called a system of constraints.
Definition. A set of relations consisting of a linear objective function and linear constraints on its variables is called a mathematical model of linear programming.
A linear function L = C1X1 + C2x2 + ...+Cnxn ^min is given and a system of linear constraints:
+... + a x < h
11 1 12 2 1n n 1
a21 X1 + a22X2 + ... + a2nXn < h2
(1)
a ,x, + a X +... + a x < b
m1 1 m 2 2 mn n m
X
> 0 (J = 1, n)
where atj, b and Cj — are specified constant values.
Find such non-negative values of xx, x2,...,xn, that satisfy the constraint system (1) and give a minimum value to the linear function.
As noted earlier, in a constraints' system (1), all b. (i — 1, m) can be considered as nonnegative. The constraints' system (1) can be either linear or nonlinear.
All or some of the equations of a system of constraints can be written as inequalities.
If all constraints (1) are given by equations and variables Xj are non-negative, this type of
model is called canonical. If at least one constraint is an inequality, then the model is non-canonical. Basic Definitions. Solution of the system of n linear equations are called such values
) , which after substitution xi x2 Xn ~an into each equation of the
system, turn it into correct numerical equation.
Definition. A basis solution is a solution in which all free variables are equal to zero. Definition. A feasible solution is a basic non-negative solution.
Definition. The feasible solution of the LP problem given in the standard form is an ordered
set of numbers (x1, x2,...,xn), satisfying the constraints, this is the point in the n — dimensional
space. The set of feasible solutions forms the domain of feasible solutions to the LP problem.
Definition. A feasible solution in which the objective function reaches its extreme value is called the optimal solution and is denoted by x^nm.
Definition. A reference solution is said to be non-degenerate if the number of its nonzero coordinates is equal to the rank of the system, otherwise it is degenerate.
Theorem (on the replacement of linear inequality by a linear equation). Every solution
x-(a1, a2,...,an) of inequality a1x1 + a2x2 +... + anxn <b
complies with a single solution y -(a1, a2,...,an,an+1) of equation
ax + a2x2 +... + anxn + xn+1 — b and inequalities xn+1 >0 and vice versa.
Thus, if the constraint system contains inequalities (in which case the linear programming problem is said to be given in a standard form), then by introducing an additional variable into each inequality, the system can be transformed into a system of equations. Additional variables are called balance or slack variables.
This leads to the rule of transition from the non-canonical form of the linear programming problem to the canonical one. To get to the canonical form of the problem, you need to introduce a balance variable into each inequality. At the sign of inequality < the balance variable is introduced into the inequality with a plus sign, with an inequality sign > with a minus sign. Balance variables are not introduced into the objective function.
Example. Translate inequalities into equations:
a) ax + a2x2 +...+anxn <b.
b) ax + ax +...+ax >b
■-Vil 2 2 n n
Solution.
a) aixi + a2x2 +...+anxn <b ^ aixi + a2x2 +... + anxn + xn+i = b, xn+i > 0.
b) aixi + a2x2 +... + anxn > b ^ aixi + a2x2 +... + anxn - xn+l= b, xn+l> 0.
Theorem (On the extremum of an objective function in a bounded domain). If the domain of feasible solutions given by the constraint system of the LP problem is closed and bounded, then the optimal solution of the LP problem exists, and at least one of the supporting solutions of the constraint system is the optimal solution of this problem.
x^
0
Theorem. (On the extremum of an objective function in an unbounded domain). If the domain of feasible solutions is unbounded, then the optimal solution exists and coincides with at least one of the support solutions if and only if the objective function is bounded from above for maximum problems or from below for minimum problems.
If the conditions of the theorem do not hold, then the objective function is said to be unconstrained in the domain of feasible solutions.
The graphical method is based on the geometric interpretation of the LP problem and is used mainly in solving problems of two-dimensional space.
Consider the problem of linear programming, the system of constraints of which is given in the form of inequalities. Find the maximum value of a linear function
L (л) = cxi
subject to constraints
|x | = cx + c2x2 + ... + cnxn
aux + a12X2 +... + a^xn < \
a21 xi + a22x2 + ... + a2nxn < b2
(1)
(2)
a,x + ax +... + <
mi 1 m 2 2 mn n m
Xj > 0 (j = —n)
(3)
Set of numbers x2,...,xn, satisfying constraints (2) and (3) is called a solution. If the
system of inequalities (2) under condition (3) has at least one solution, it is called compatible, otherwise it is called incompatible. A linear programming problem in the standard form with two variables is
L (x) = cx + c2x2 ^ max
aiiX1 + ai2X2 < bi a21 Xi + a22 X2 < b2
am1X1 + am2X2 < bm
X. > 0
(J = )
aiixi+a 2 x2 =
Each inequality of this system geometrically defines a semi-plane with a boundary line b (i = 1, m). This means that the line divides the plane into two semi-planes, one of
which is true for our inequality, and the other of which is the opposite.
Conditions for non-negativity of variables x1 > 0, x2 > 0 cause this region to be in the first coordinate quadrant.
To find the extreme value of the objective function in the graphical solution of linear programming problems, is used the vector gradL on the plane x10x2, which we denote by N. This vector shows the direction of the fastest change of the objective function, it is equal to
„ - dL- 8L-
gradL = N = — ei H--ei
dxx dx2
where e1 and e2 — unit vectors on axes oXl and Ox2 respectively. Thus, N = Coordinates of the vector N are the coefficients of the objective function L (x).
С dL дЬ л
Sxj ' dx.
2
Бюллетень науки и практики /Bulletin of Science and Practice Т. 10. №3. 2024
https://www.bulletennauki.ru https://doi.org/10.33619/2414-2948/100
Algorithm for solving linear programming problems by graphical method.
1. Finding the feasible region from the problem constraint system.
2. Building a vector N .
3. Drawing the level line L0, perpendicular to N .
4. Move the level line in the direction of the vector N for maximization problems and in the opposite direction to N for minimization tasks. This movement is carried out until the level line has only one point in common with the feasible region of solutions. This point will be the extremum point of the objective function in the feasible region of solutions, i.e. it will be the optimal solution of the LP problem.
5. Find the coordinates of the extremum point and the value of the objective function in it.
If it turns out that the level line is parallel to one of the sides of the feasible region of solutions, then the LP problem will have an infinite number of solutions.
If the feasible region of solutions is an unbounded area, then the objective function can be unlimited.
The LP problem may be unsolvable when the constraints that define its feasible region of solutions are conflicting.
Example. Solve the linear programming problem
L ( x ) = —6 — x + 4x2 ^ max
'x — x2 >—2, (1)
+ x2 - 4, (2)
^0,(3) *2 > 0 (4)
Solution. Let's construct a feasible region of solutions (Figure. Numerate the task constraints. In a rectangular Cartesian coordinate system, we construct a straight line x1 - x2 = -2, conforming to the constraint (1). Let us find which of the two semi-planes is the domain of inequality solutions. For example, the line (1) does not pass through the origin, so we substitute the coordinates of the point 0(0, 0) in the first constraint 0 - 0 > -2 . We get the correct strict inequality of 0 > -2. Hence, point O lies in the semi-plane of the solutions. In the same way, we draw straight lines (2)-(4).
We found grad L = —i + 4 j , draw a level line of the function, perpendicular to the gradient, move it parallel to itself in the direction grad L. This line passes through the point X* of the
Бюллетень науки и практики / Bulletin of Science and Practice Т. 10. №3. 2024
https://www.bulletennauki.ru https://doi.org/10.33619/2414-2948/100
intersection of the lines that limit the feasible region of solutions and correspond to inequalities (1) and (2).
Determine the coordinates of the point X* by solving the system:
I X1 — X2 = —2 |x1 + X2 = 4
Get X*(1, 3). Calculate L^*) = -6 -1 + 4 • 3 = 5 .
So, maxL (1; 3) = 5.
References:
1. Yakubova, U., Parpieva, N., & Mirhojaeva, N. (2021). Some Applications of Matrix Theory in Economics. Bulletin of Science and Practice, 7(2), 245-253. (in Russian). https://doi.org/10.33619/2414-2948/63/24
2. Parpieva, N., Yakubova, U., & Mirkhodjaeva, N. (2020). The Relevance of Integration of Modern Digital Technologies in Teaching Mathematics. Bulletin of Science and Practice, 6(4), 438443. https://doi.org/10.33619/2414-2948/53/51
3. Yakubova, U., Mirkhodjaeva, N., & Parpieva, N. (2022). Some Applications of Duality Theory in Solving Linear Programming Problems. Bulletin of Science and Practice, 5(5), 621-628. (in Russian). https://doi.org/10.33619/2414-2948/78/75
4. Yakubova, U., Parpieva, N., & Mirkhodjaeva, N. (2022). Some Applications of Graphical and Simplex Methods for Solving Linear Programming Problems. Bulletin of Science and Practice, 5(4), 490-498. (in Russian). https://doi.org/10.33619/2414-2948/77/57
5. Malykhin, V. I. (2003). Finansovaya matematika. Moscow. (in Russian).
6. Yakubova, U., Parpieva, N., & Mirkhodjaeva, N. (2023). Some Applications of Financial Mathematics in Solving Economic Problems. Bulletin of Science and Practice, 9(2), 312-320. (in Russian). https://doi.org/10.33619/2414-2948/87/36
7. Yakubova, U., Parpieva, N., & Mirkhodjaeva, N. (2023). Some Notes on Payments Streams. Bulletin of Science and Practice, 9(2), 321-328. (in Russian). https://doi.org/10.33619/2414-2948/87/37
8. Dantsig, D. B. (1966). Lineinoe programmirovanie, ego primeneniya i obobshcheniya. Moscow. (in Russian).
Список литературы:
1. Якубова У. Ш., Парпиева Н. Т., Мирходжаева Н. Ш. Некоторые применения теории матриц в экономике // Бюллетень науки и практики. 2021. Т. 7. №2. С. 245-253. https://doi.org/10.33619/2414-2948/63/24
2. Parpieva N., Yakubova U., Mirkhodjaeva N. The Relevance of Integration of Modern Digital Technologies in Teaching Mathematics // Бюллетень науки и практики. 2020. Т. 6. №4. С. 438-443. https://doi.org/10.33619/2414-2948/53/51
3. Якубова У. Ш., Мирходжаева Н. Ш., Парпиева Н. Т. Некоторые применения теории двойственности при решении задач линейного программирования // Бюллетень науки и практики. 2022. Т. 8. №5. С. 621-628. https://doi.org/10.33619/2414-2948/78/75
4. Якубова У. Ш., Парпиева Н. Т., Мирходжаева Н. Ш. Некоторые применения графического и симплексного методов решения задач линейного программирования // Бюллетень науки и практики. 2022. Т. 8. №4. С. 490-498. https://doi.org/10.33619/2414-2948/77/57
5. Малыхин В. И. Финансовая математика. М., Юнити-дана, 2003.
6. Якубова У Ш., Парпиева Н. Т., Мирходжаева Н. Ш. Некоторые применения финансовой математики при решении экономических задач // Бюллетень науки и практики. 2023. Т. 9. №2. С. 312-320. https://doi.org/10.33619/2414-2948/87/36
7. Якубова У Ш., Парпиева Н. Т., Мирходжаева Н. Ш. Некоторые заметки о потоках платежей // Бюллетень науки и практики. 2023. Т. 9. №2. С. 321-328. https://doi.org/10.33619/2414-2948/87/37
8. Данциг Д. Б. Линейное программирование, его применения и обобщения. М.: Прогресс, 1966. 600 с.
Работа поступила в редакцию 08.02.2024 г.
Принята к публикации 19.02.2024 г.
Ссылка для цитирования:
Yakubova U., Mirkhodjaeva N., Parpieva N. Some Notes on Linear Programming Problems // Бюллетень науки и практики. 2024. Т. 10. №3. С. 36-43. https://doi.org/10.33619/2414-2948/100/03
Cite as (APA):
Yakubova, U., Mirkhodjaeva, N., & Parpieva, N. (2024). Some Notes on Linear Programming Problems. Bulletin of Science and Practice, 10(3), 36-43. https://doi.org/10.33619/2414-2948/100/03