International Journal of Advances in Applied Computational Intelligence cover
International Journal of Advances in Applied Computational Intelligence

Online ISSN 2833-5600

Full Length Article

Volume 6 • Issue 1 • PP: 62-73 • 2024

On Two New Algorithms for Solving Mixed Integer Linear Programming Problems and Their Applications

Taher Ahmed Jubbori 1*
1Computer Techniques Engineering Department, Al-Mustaqbal University, Babil, Iraq
* Corresponding Author.
verified

Open Access & Copyright

© 2024 The Author(s). Published by ASPG. This article is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

Abstract

 

The objective of this paper is to introduce two new algorithms for dealing with mixed integer linear programming problems, where the first method will be applied to get the efficient cut in the standard cutting plane procedure to obtain the same optimal solution. The second method will be applied with many special conditions to get the global solution instead of the local solution by using cutting-plane and other famous algorithms. On the other hand, we compare our results to the other obtained results by applying other algorithms.

 

Full Text

This HTML version is generated from the article PDF. The PDF remains the version of record.

1. Introduction

The question of correct linear programming is a usual linear programming question on the condition that all or some of the decision variables are constrained and have an integer value, the methods of solving models with integers are based mainly on two principles: The first principle: is that the correct models cope at the first stage using the simplified method in the solution. The second principle: is to adopt the final results that represent the optimal solution as the basis for reaching the best solution that makes the values of the basic variables integer values (non-fractional). New additional constraints are then selected that share or provide valid values for the original variables in the model. This research is focused: first: on our selection of new additional constraints and by adding these new constraints our new model is formed. Secondly: test the optimal solution for linear integer programming on the basis of that positional convergence or overall convergence of the solution. Here it should be noted that the addition of new entries comes sequentially so that one entry is added to the model and then the calculations are performed as in the (simplified) method. When the solution is incomplete (i.e., the best solution is not found), another new constraint is added and so on until the correct values of the basic variables in the model are reached [2].

2. Mathematical programming:

Mathematical programming (M.P) is one of the methods used in the formulation and resolution of administrative and economic issues by creating a production plan for different actors to increase profits or reduce costs, the general problem of mathematical programming (M.P) is to find the values of variables that maximize or minimize the value of the objective function depending on constraints representing the amount of available resources [1].

2.1. The general formula of the mathematical programming problem is as follows:

𝑧= 𝑐1𝑥1 + 𝑐2𝑥2+. . . . . . . . +𝑐𝑛𝑥𝑛                                           … (1)

This objective function is subject to a number of determinants or constraints (i.e. conditions), which take the following form:

𝑎11𝑥1 + 𝑎12𝑥2+. . . . . . . . . . . . . . . . +𝑎1𝑛𝑥𝑛≤=≥𝑏1 𝑎21𝑥1 + 𝑎22𝑥2+. . . . . . . . . . . . . . . . +𝑎2𝑛𝑥𝑛≤=≥𝑏2 }                      (2)
𝑎𝑚1𝑥1 + 𝑎𝑚2𝑥2+. . . . . . . . . . . . . . . . +𝑎𝑚𝑛𝑥𝑛≤=≥𝑏𝑚

It is noticeable that the variables 𝑥𝑗 are real variables, that is, (𝑥1, 𝑥2, . . . . . , 𝑥𝑛≥0) and that (𝑎𝑖𝑗, 𝑏𝑗, 𝑐𝑗) are constant quantities [3]. With this formula, the problem aims to find a set of positive numbers of variables covered by the system that satisfies the above constraints, the objective function – the set of constraints or conditions-includes all variables with non-negative values [8].

2.2. Integer linear programming problem:

The most scientific applications of linear programming problems (LP) require a solution represented by integers, for example, in production problems It is not possible to complete the production of a car and a half car or a leather bag and a quarter bag, and on this basis the correct linear programming appeared [1] (ILP) Which is a matter of linear programming so that all decision variables (truth) or some of them are constrained to be integer-valued، More precisely, it is a matter of (increasing or decreasing) a linear function (objective function) that is invariant to integervalued variables and fulfills Equation (2), In general the question of correct programming is more difficult to optimally solve the question of linear programming because we can solve the integer programming problem by solving a sequence of linear programming problems. In the question of integer programming, we will call any integer value of the variables that satisfies (2) the positive solution(feasible solution) And we can call the positive solution Group the positive region (feasible region) for the question of correct programming, so MIN (MAX) the question of correct linear programming is a question of finding the positive solution where the objective function is greater (smaller) or equal to the value of all other existing positive solutions, this solution is called the optimal solution, which is our main goal. The question of integer linear programming is solved first by ignoring the conditions of variables to take integer values, the problem is then solved as a linear programming problem to find the optimal real solution, then we use the correct linear programming problem algorithms to move from the real solution towards finding the correct positive solutions that is, Solutions in which all variables are true, Correct linear programming algorithms try to find the correct positive solution and then look for another, better solution [4].

2.3. Methods for solving the problem of correct linear programming (ILP)

There are several methods that have developed to solve the problem of integer linear programming (ILP) Most of these methods are based on ignoring the integer constraint to solve the problem and then the fractional values of the variables are processed if they exist the reason is due to the fact that the process of reaching the optimal solution to the problem of correct linear programming (ILP) is carried out through the optimal solution to the problem of linear programming (LP), the optimal values of the optimal solution of the two problems converge and sometimes equal them and that this leads to the reduction of calculations to arrive at the optimal solution of the problem of correct programming[4].

2.4. The most commonly used methods are:

A) The Cutting – Planes Method It is a unique method for solving the problem of integer linear programming, which was published by the scientist [6] RALPH E. GOMORY was named after him GOMORY, CUTTING PLANES METHOD The basic idea of the method of cutting levels is simple for the question of correct linear programming, the question of linear programming is exactly the question of correct programming but without conditions on which variables the solution is valid. If the solution consists of only integer values, it will be the optimal solution for the correct programming problem and no new constraint for the correct programming problem will increase. This new constraint is added so that all correct solutions to the old constraint satisfy the new constraint and the incorrect optimal solution still does not satisfy this constraint. And in the geometric solution, the new constraint added to the linear programming problem will cut off only the incorrect solution and not the correct points that could be positive solutions to the correct programming problem, theoretically (cutting) the incorrect solution by adding one constraint at a time and repeating until the optimal solution consisting of the correct values is reached [4]. The algorithm of cutting levels: Step 1: (eliminal solution) start by solving the problem given in (1) as a linear programming problem by the odd Simplex Method, ignoring the correct conditions (constraints) on the variables 𝑥𝑗, 𝑗∈𝐼. If all variables have values, stop, otherwise go to step 2. Step 2: (constraint selection) choose the line from the last table of solving the linear programming problem in which the base variable 𝑥𝐵𝑖is an incorrect value 𝑏𝑖 (use the line in which the value of that variable has the largest fractional part, perhaps it will help to reduce the number of iterations and the time it takes to converge) and from it generate the cut-levels constraint. Step 3: (generate the cut-levels constraint) suppose the chosen line is line 𝑖 and its equation is:

𝑥𝐵𝑖+ ∑𝑎𝑖𝑗𝑥𝑗= 𝑏𝑗, 𝑗∈𝐼 𝑗 (3)
𝑥𝐵𝑖+ ∑([𝑎𝑖𝑗] + 𝑓𝑖𝑗)𝑥𝑗= [𝑏𝑗] + 𝑓𝑖 𝑗 ≤0
≤0 = 𝑓𝑖−∑𝑓𝑖𝑗𝑥𝑗 𝑗
𝑥𝐵𝑖+ ∑[𝑎𝑖𝑗]𝑥𝑗−[𝑏𝑖] 𝑗

The new entry 𝑓𝑖−∑𝑓𝑖𝑗𝑥𝑗 𝑗 + 𝛿= 0 (4) Where 𝑓𝑖𝑗= 𝑎𝑖𝑗−[𝑎𝑖𝑗]is the fractional part of 𝑎𝑖𝑗, 0 ≤𝑓𝑖𝑗≺1 𝑓𝑖= 𝑏𝑖−[𝑏𝑖] is the fractional part of 𝑏𝑖, 0 ≤𝑓𝑖≺1 δ a new degenerate variable is possible and correct. Step 4: (testing the most efficient cutter) we test the cutters that we get from Step (3) to get the most efficient cutter in reaching the optimal solution in the fewest steps by compensating for the values of the Slack Variable that we get from the constraints of the original problem in the constraints of cutting the levels that we obtained to obtain straight lines that cut the area of possible solutions and then the cutter that cuts a larger part of that area is selected. Step 5: (Add constraint) add constraint (4) to the last table of the solution of the odd method and solve it as a question of linear programming, if all the variables 𝑥𝑗, 𝑗∈𝐼 are correct then the problem is over, otherwise go to step 2 [5] . The correct programming algorithm: The philosophy of the correct programming method (Zubaidi) is based on two Tests: the first test is to test the objective function in terms of the fact that the value of the objective function of the correct programming problem (ILP) is less or equal to the value of the objective function in the case of maximization or greater or equal to the value of the objective function in the case of minimization of the linear programming problem (LP) and the second Test is to test the verification of constraints [1]. The steps of this algorithm: Step 1: finding the optimal solution to the problem without taking into account the integer constraint. Step 2: we select constraints affecting the model for which the shadow price values are non-zero values. Step 3: in the case that the optimal solution is represented by higher fractional values of the decision variables, the variable with the lower fractional value is chosen, let it be (x). Step 4: the first stage: consists in giving x a value represented by the smallest integer greater than its incorrect value, while giving the rest of the variables with the incorrect value values represented by the largest integer less than its incorrect values. Step 5: calculate the 𝑍1value for the first stage by substituting the values selected in Step 4 with the target function. Step 6: calculate 𝑍= 𝑍−𝑍1so that the value of 𝑍 should be greater or equal to zero in the case of maximization and less or equal to zero in the case of minimization and vice versa we stop and proceed to the second stage. Step 7: after calculating 𝑍, we test the verification of the constraints affecting the model by multiplying the coefficients of the left side of the constraints by the increase or decrease of the values of the variables resulting from Step 4. Step 8: if the constraint signal is smaller or equal, the values calculated in Step 7 must be less or equal to zero and greater or equal to zero if the constraint signal is larger or equal and vice versa, we proceed to the second stage. Step 9: we choose the constraint with the higher non-zero value resulting from Step 7, if the constraint signal is smaller or equal, but if the constraint signal is larger or equal, we choose the constraint with the lower non-zero value and assume that the value is (K). Step 10: calculate the value of Q for the constraint, which represents the coefficients of the left side of the constraint less than or equal to |𝑘| in the case that the constraint signal is smaller or equal to and less than or equal to K in the case that the constraint signal is larger or equal to and also the difference between the coefficients of the left-hand side of the constraint that satisfies the condition, we will assume that the values of Q are: 𝒬= (𝒂𝟏𝟏, 𝒂𝟏𝟐−𝒂𝟏𝟏) Step 11: in the absence of values for Q, the solution of the first stage represents the optimal solution. Step 12: calculate the values of 𝒬 which represent the coefficients of the objective function so that: The constraint signal is smaller or equal to 𝒬= (𝑐1, 𝑐2 −𝑐1) The constraint signal is greater or equal to 𝒬= (−𝑐1, 𝑐1 −𝑐2) Step 13: test the values of 𝒬 greater than zero, which are smaller or equal to 𝑍 in the case of maximization, and then choose the higher value, but in the case of minimization, the values of 𝒬 smaller than zero, which are larger or equal to 𝑍, are chosen, and vice versa, the solution of the first stage represents the optimal solution. Step 14: assuming that the value of 𝒬 chosen in Step 13 is (𝑐2 −𝑐1), this means that we move to a later stage that represents an increase in the value of the variable 𝑥2 and a decrease in the value of the variable 𝑥1 by one unit with the values of the other variables constant. Step 15: the previous steps are recalculated starting from Step 4. Step 16: the second stage consists in giving X a value representing the largest integer smaller than the incorrect value of X, while giving the rest of the variables values represented by the smallest integer larger than the incorrect values for them, and the previous steps are recalculated. Step 17: in the event that the first and second stages do not represent the optimal solution, values are given for x and the variables are represented by the largest integer less than their incorrect values. The previous steps are recalculated. B) New Mixed Integer Linear Programming: The method of mixed integer programming requires to formulate it to make some modification in the problem or (algorithm), such as adding some indicative conditions or using some additional variables [6] we would like to point out that the new mixed integer programming results from adding conditions to the level-cutting algorithm and the Zubaidi integer programming algorithm. The first method is new mixed integer programming: It is a very successful technique in solving a wide range of correct programming issues and is to provide a guarantee of reaching the optimal solution. We will explain how to perform this technique. A large number of correct linear programming problems can be solved by the new method, the algorithm of which consists exactly of the combination between the method of cutting levels and the Zubaidi correct programming method, and it works as its predecessor in solving a series of (sequential) linear programming problems. The most efficient cutter in the method of cutting levels is tested in two ways: First: using the line in which the value of that variable has the largest fractional part (of the optimal solution) and from it we generate the constraint of cutting levels. Secondly, by means of a geometric solution, since the new constraint added to the linear programming problem will (cut off) only the incorrect solution and not the correct points from which it is possible to have positive solutions to the correct programming problem. Theoretically, the incorrect solution is to add one constraint at a time and repeat until the optimal consisting of the correct values is obtained. The new method is equivalent to the first case and better than the second case, because the process of drawing straight lines with two variables is easy, and if it is more than the two variables, it is difficult to draw straight lines, and it may be inaccurate, and this leads to slow convergence and may not lead to the optimal solution. The first algorithm for new mixed integer programming: Step (1): (eliminal solution) start by solving the problem given in (1) as a question of linear programming by the individual method Simplex Method, ignoring the correct conditions (constraints) on variables. If all variables 𝑥𝑗, 𝑗∈ 𝐼 have integer values, stop, otherwise go to Step2. Step (2): (choosing a constraint) choose the line from the last table of solving the linear programming problem in which the base variable 𝑥𝐵𝑖 has an incorrect value 𝑏𝑖 (use the line in which the value of that variable has the largest fractional part, perhaps it will help reduce the number of iterations and the time it takes to converge) and from it generate the constraint of cutting levels. Step (3): (generate the cut-off constraint of the levels) suppose the chosen line is line i and its equation is:

𝑥𝐵𝑖+ ∑𝑎𝑖𝑗𝑥𝑗= 𝑏𝑗, 𝑗∈𝐼 𝑗
𝑥𝐵𝑖+ ∑([𝑎𝑖𝑗] + 𝑓𝑖𝑗)𝑥𝑗= [𝑏𝑗] + 𝑓𝑖 𝑗 ≤0
≤0 = 𝑓𝑖−∑𝑓𝑖𝑗𝑥𝑗 𝑗
𝑥𝐵𝑖+ ∑[𝑎𝑖𝑗]𝑥𝑗−[𝑏𝑖] 𝑗

The new entry 𝑓𝑖−∑𝑓𝑖𝑗𝑥𝑗 𝑗 + 𝛿= 0 (5) Where 𝑓𝑖𝑗= 𝑎𝑖𝑗−[𝑎𝑖𝑗]is the fractional part of 𝑎𝑖𝑗, 0 ≤𝑓𝑖𝑗≺1 𝑓𝑖= 𝑏𝑖−[𝑏𝑖] is the fractional part of 𝑏𝑖, 0 ≤𝑓𝑖≺1 δ a new degenerate variable is possible and correct. Step (4): after generating the cut-level constraints, test the verification of the constraints affecting the model by multiplying the coefficients of the left side of the constraints in increments or decrements for the values of the variables resulting from Step 2. Step (5): if the constraint signal is smaller or equal, the values calculated in Step 4 must be less or equal to zero and greater or equal to zero if the constraint signal is larger or equal. Step (6): Select the constraint with the higher non-zero value resulting from Step 4, if the constraint signal is smaller or equal, but if the constraint signal is larger or equal, select the constraint with the lower non-zero value. Step (7): (add the constraint) add the constraint we got from Step 6 to the last table of solving the individual method and solve it as a linear programming problem, if all the variables 𝑥𝑗, 𝑗∈𝐼 are correct, then the problem is over, otherwise go to step 2. From Steps (4) to (7), the new cutter is selected for the next iteration and does not depend on the two methods of testing the most efficient cutter used in the planar cutting algorithm. Second method of new mixed integer programming (NEW 2): The following are the required iterative steps in the new proposed algorithm as follows: The second algorithm of new mixed integer programming: Step (1): Find the optimal solution to the problem without taking into account the integer constraint. Step (2): we select constraints affecting the model for which the shadow price values are non-zero values. Step (3): in the case that the optimal solution is represented by higher fractional values of the decision variables, the variable with the lower fractional value is chosen, let it be (x). Step (4): the first stage: consists in giving x a value represented by the smallest integer greater than its incorrect value, while giving the rest of the variables with the incorrect value values represented by the largest integer less than its incorrect values. Step (5): calculate the 𝑍1value for the first stage by substituting the values selected in Step 4 with the target function. Step (6): calculate 𝑍= 𝑍−𝑍1so that the value of 𝑍 should be greater or equal to zero in the case of maximization and less or equal to zero in the case of minimization and vice versa we stop and proceed to the second stage. Step (7): after calculating 𝑍, we test the verification of the constraints affecting the model by multiplying the coefficients of the left side of the constraints by the increase or decrease of the values of the variables resulting from Step 4. Step (8): if the constraint signal is smaller or equal, the values calculated in Step 7 must be less or equal to zero and greater or equal to zero if the constraint signal is larger or equal and vice versa, we proceed to the second stage. Step (9): we choose the constraint with the higher non-zero value resulting from Step 7, if the constraint signal is smaller or equal, but if the constraint signal is larger or equal, we choose the constraint with the lower non-zero value and assume that the value is (K). Step (10): calculate the value of Q for the constraint, which represents the coefficients of the left side of the constraint less than or equal to |𝑘| in the case that the constraint signal is smaller or equal to and less than or equal to K in the case that the constraint signal is larger or equal to and also the difference between the coefficients of the left-hand side of the constraint that satisfies the condition, we will assume that the values of Q are:

𝒬= (𝒂𝟏𝟏, 𝒂𝟏𝟐−𝒂𝟏𝟏) Step (11): in the absence of values for Q, the solution of the first stage represents the optimal solution. Step (12): calculate the values of 𝒬 which represent the coefficients of the objective function so that: The constraint signal is smaller or equal to 𝒬= (𝑐1, 𝑐2 −𝑐1) The constraint signal is greater than or equal to 𝒬= (−𝑐1, 𝑐1 −𝑐2) Step (13): test the values of 𝒬 greater than zero, which are smaller or equal to 𝑍 in the case of maximization, and then choose the higher value, but in the case of minimization, the values of 𝒬 smaller than zero, which are larger or equal to 𝑍, are chosen, and vice versa, the solution of the first stage represents the optimal solution. Step (14): assuming that the value of 𝒬 chosen in Step 13 is (𝑐2 −𝑐1), this means that we move to a later stage that represents an increase in the value of the variable 𝑥2 and a decrease in the value of the variable 𝑥1 by one unit with the values of the other variables constant. Step (15): the previous steps are recalculated starting from Step 4. Step (16): the second stage consists in giving X a value that represents the largest integer smaller than the incorrect value of X, while giving the rest of the variables values represented by the smallest integer larger than the incorrect values for them, and the previous steps are recalculated. Step (17): in the event that the first and second stages do not represent the optimal solution, values are given for x and the variables are represented by the largest integer less than their incorrect values. The previous steps are recalculated. Step (18): the third stage is to give 𝑥𝑖, 𝑖= 1,2, . . . . , 𝑛 zeros except i =1, and then give 𝑥𝑖 except i =2 and so on. And other values of x are calculated by dividing the value of Z in the optimal solution of the problem by the coefficient x that is in the objective function. Step (19): calculate the 𝑍𝑖 value of the third stage by substituting the values selected in step 18 with the target function. Step (20): calculate 𝑍= 𝑍−𝑍𝑖 so that the value of 𝑍 should be greater or equal to zero in the case of maximization and less or equal to zero in the case of minimization and vice versa the solution obtained in the last stage is the optimal solution. Step (21): After calculating 𝑍, we test the verification of the constraints affecting the model by multiplying the coefficients of the left side of the constraints by the increase or decrease of the values of the variables resulting from step 18. Step (22): if the constraint signal is smaller or equal, the values calculated in step 21 should be less or equal to zero and greater or equal to zero if the constraint signal is larger or equal, if the constraints are met, we compare 𝑍𝑖 with the value of Z in the last step, if 𝑍𝑖≺𝑍 is maximized, the values of 𝑍𝑖 is not the optimal solution, but in the case of minimization, 𝑍𝑖≺𝑍, the lowest value of 𝑍𝑖 represents the optimal solution. In this algorithm of steps (22)-(18) a comprehensive optimal solution is always obtained, while the Zubaidi algorithm can obtain a local or comprehensive optimal solution. Illustrative examples: The new proposed methods were applied to many examples in order to demonstrate their efficiency. In this paragraph we will review some of these examples to clarify: Example (1): solve the following correct linear programming problem:

𝑴𝒂𝒙 𝒁= 𝟓𝒙𝟏+ 𝟖𝒙𝟐 𝒔. 𝒕   𝒙𝟏+ 𝒙𝟐≤𝟔 𝟓 𝒙𝟏+ 𝟗𝒙𝟐≤𝟒𝟓 𝒙𝟏, 𝒙𝟐≥0            and integers Solution: Simplex Method 𝑴𝒊𝒏 𝑼= −𝟓𝒙𝟏−𝟖𝒙𝟐 𝒔. 𝒕   𝒙𝟏+ 𝒙𝟐+ 𝛿1 = 𝟔 𝟓 𝒙𝟏+ 𝟗𝒙𝟐+ 𝛿2 = 𝟒𝟓 𝒙𝟏, 𝒙𝟐, 𝛿1, 𝛿2 ≥0

Table 1 Basic 𝒃𝒊 𝒙𝟏 𝒙𝟐 𝛿1 𝛿2 𝑥1 9/4 1 0 9/4 -1/4 𝑥2 15/4 0 1 -5/4 1/4 - U 165/7 0 0 5/4 3/4

The optimal solution to the problem of linear programming without taking into account the integer constraint is: 𝑥1 = 𝟗/𝟒, 𝑥2 = 15/4, 𝑍= 41

4 Using the first method for the new mixed integer programming: From table 1 we get:

−𝑍−5 4 𝛿1 −3 4 𝛿2 = −41 1 4 𝑥1 + 9 4 𝛿1 −1 4 𝛿2 = 9 4 𝑥2 −5 4 𝛿1 + 1 4 𝛿2 = 15 4 𝑥1, 𝑥2, 𝛿1, 𝛿2 ≥0 3 4 − 3 4 𝛿1 − 1 The first cutter: −𝑍−2𝛿1 −𝛿2 + 42 = 4 𝛿2 1 4 − 1 4 𝛿1 − 3 The second cutter: 𝑥1 + 2𝛿1 −𝛿2 −2 = 4 𝛿2 3 4 − 3 4 𝛿1 − 1 The third cutter: 𝑥1 −2𝛿1 −3 = 4 𝛿2 3 4 − 3 4 𝛿1 − 1 4 𝛿2 ≤0 1 4 − 1 4 𝛿1 − 3 4 𝛿2 ≤0

Cutters first = third

Second

Testing the most efficient cutter among the cutters extracted from the issue:

3 4 − 3 4 𝛿1 − 1 4 𝛿2 + 𝛿3 = 0   , 𝛿3 ≥0 1 4 − 1 4 𝛿1 − 3 4 𝛿2 + 𝛿4 = 0   , 𝛿4 ≥0

The first cutter is

The second cutter is from the original problem we extract the values 𝛿1, 𝛿2in the following form: 𝛿1 = 6 −𝑥1 −𝑥2 (6) 𝛿2 = 45 −5𝑥1 −9𝑥2 (7) We substitute equations (6) and (7) in the first and second cutouts to find the basic cutouts in the matter, which are denoted by the variables in the matter After compensation we get:

2𝑥1 + 3𝑥2 ≤15 . . . . . . . . . . . . . . . . . . . . 𝑐1

4𝑥1 + 7𝑥2 ≤35 . . . . . . . . . . . . . . . . . . . . 𝑐2 We test the most efficient cutter by compensating the amount of increase or decrease in the values of 𝑥1, 𝑥2 in the cutters as follows:

(−1 4 )2 + (−3 4)3 = −2 3 4 (−1 4 )4 + (−3 4)7 = −6 1 4

Since the most efficient cutter is the first cutter, so we use the first cutter to solve the problem:

3 4 −3 4 𝛿1 −1 4 𝛿2 ≤0 3 4 −3 4 𝛿1 −1 4 𝛿2 + 𝛿3 = 0   , 𝛿3 ≥0 −3 4 𝛿1 −1 4 𝛿2 + 𝛿3 = −3 4

Table 2 Basic 𝒃𝒊 𝒙𝟏 𝒙𝟐 𝛿1 𝛿2 𝛿3 𝑥1 9/4 1 0 9/4 -1/4 0 𝑥2 15/4 0 1 -5/4 1/4 0 - U 165/7 0 0 5/4 3/4 0 𝛿3 -3/4 0 0 -3/4 -1/4 1

Figure

Table 3 Basic 𝒃𝒊 𝒙𝟏 𝒙𝟐 𝛿1 𝛿2 𝛿3 𝑥1 0 1 0 0 -1 3 𝑥2 5 0 1 0 2/3 -5/3 - U 40 0 1 0 -1/3 -5/3 𝛿1 1 0 0 1 1/3 -4/3 Hence 𝒙𝟏= 0, 𝒙𝟐= 𝟓, 𝒁= 𝟒𝟎 Using the second method for new mixed integer programming: Table 1 represents the optimal solution to the problem without taking into account the integer constraint, which is:

Figure
𝒙𝟏= 2 1 4,      𝒙𝟐= 𝟑3 4 ,    𝒁= 𝟒𝟏1 4 3 4 𝛿1 = 1 1

The values of the shadow prices are 𝛿2 =

4, which means that the two constraints affect the model. The first stage: We choose the variable 𝒙𝟐 because it has the highest fraction, that is, that:

𝒙𝟏= 2,      𝒙𝟐= 𝟒,    𝒁𝟏= 42 𝒁= 𝒁−𝒁𝟏= 41 1 4 −42 = −3 4

Since the value is negative, we proceed directly to the second stage. The second stage:

𝒙𝟏= 3,      𝒙𝟐= 𝟑,    𝒁𝟐= 39 𝒁= 𝒁−𝒁𝟐= 41 1 4 −39 = 2 1 4

We test the verification of the first and second entries as follows:

1) ( 3 4)1 −( 3 4)1 = 0 2) ( 3 4)5 −( 3

4)9 = −3 Since the values (0,-3) are smaller or equal to zero, this means that the constraints are checked and from the values (0,-3)The second constraint is tested to calculate the values of 𝒬2: 𝒬2 =. . . . . . . . . . . . .. The solution:

𝒙𝟏= 3,      𝒙𝟐= 𝟑,    𝒁𝟐= 39 The third stage: 𝒙𝟏= 0,      𝒙𝟐= 𝟓,    𝒁𝟑= 40 𝒁= 𝒁−𝒁𝟑= 41 1 4 −40 = 1 1 4

We test check constraints:

1) −1( 9 4) + 1( 5 4) = −1 2) −5( 9 4) + 9( 5

4) = 0 Since the values are less than or equal to zero, this means that the constraints are checked:

𝒬1 = (𝑎11, 𝑎12 −𝑎11, 𝑎11 −𝑎12) 𝒬1 =. . . . . . . . . . . . .. The fourth stage: 𝒙𝟏= 8,      𝒙𝟐= 𝟎,    𝒁𝟒= 40 𝒁= 𝒁−𝒁𝟒= 41 1 4 −40 = 1 1 4

We test check constraints:

1) 1( 23 4 ) −1( 15 4 ) = 2 2) 5( 23 4 ) −9( 15 4 ) = − 30

4 Since not all values are less than or equal to zero, this means that the constraints are not fulfilled so the point does not represent a possible solution to the issue. So the optimal solution is: 𝒙𝟏= 0, 𝒙𝟐= 𝟓, 𝒁= 40 Example (2): Solve the following correct linear programming problem:

𝑀𝑖𝑛𝑍= 2𝑥1 −3𝑥2 −3𝑥3
𝑠. 𝑡       −𝑥1 + 𝑥2 + 3𝑥3 ≤8 3𝑥1 + 2𝑥2 −𝑥3 ≤10 𝑥1, 𝑥2, 𝑥3 ≥0 The solution: Simplex Method

Table 4 Basic 𝒃𝒊 𝒙𝟏 𝒙𝟐 𝒙𝟑 𝛿1 𝛿2 𝑥3 6/7 -5/7 0 1 2/7 -1/7 𝑥2 38/7 8/7 1 0 1/7 3/7 Z 132/7 23/7 0 0 9/7 6/7 For an optimal solution to the problem of linear programming without taking into account the integer constraint is:

𝒙𝟑= 6/7, 𝒙𝟐= 𝟑𝟖/𝟕, 𝒁= −132/7 Using the first method of new mixed integer programming: We get from table 4

𝑍+ 9 7 𝛿1 + 6 7 𝛿2 + 23 7 𝑥1 = 132 7 𝑥1 + 1 7 𝛿1 + 3 7 𝛿2 + 8 7 𝑥1 = 38 7 𝑥3 + 2 7 𝛿1 −1 7 𝛿2 −5 7 𝑥1 = 6 7 𝑥1, 𝑥2, 𝑥3, 𝛿1, 𝛿2 ≥0 the first cutter                                           𝑍+ 3𝑥1 + 𝛿1 −18 = 6 7 − 2 7 𝑥1 − 2 7 𝛿1 − 6 7 𝛿2 ≤0 3 7 − 1 7 𝑥1 − 1 7 𝛿1 − 3 the second cutter                          𝑥2 + 𝑥1 −5 = 7 𝛿2 ≤0 6 7 − 2 7 𝑥1 − 2 7 𝛿1 − 6 the third  cutter                            𝑥3 −𝑥1 −𝛿2 =

7 𝛿2 ≤0 Cutters The first = the third

6 7 − 2 7 𝑥1 − 2 7 𝛿1 − 6 7 𝛿2 ≤0 3 7 − 1 7 𝑥1 − 1 7 𝛿1 − 3

The second

7 𝛿2 ≤0 Testing the most efficient cutter among the cutters extracted from the issue: the first cutter

6 7 − 2 7 𝑥1 − 2 7 𝛿1 − 6 7 𝛿2 + 𝛿3 = 0,    𝛿3 ≥0 3 7 − 1 7 𝑥1 − 1 7 𝛿1 − 3 7 𝛿2 + 𝛿4 = 0,    𝛿4 ≥0 hence:

the second cutter 𝛿1 = 8 + 𝑥1 −𝑥2 −3𝑥 …(8) 𝛿9 = 10 −3𝑥1 −2𝑥2 + 𝑥3 …(9) We substitute equations (9),(8) in the first and second cutouts to find the basic cutouts in the matter, which are denoted by the variables in the matter

2𝑥1 + 2𝑥2 ≤10 . . . . . . . . . . . . . . . . . . . . 𝑐1

𝑥1 + 𝑥2 ≤−5 . . . . . . . . . . . . . . . . . . . . 𝑐2 We get: To find the most efficient cutter, we compensate for the decrease in the values of 𝑥1, 𝑥2, 𝑥3, in cutters:

2(0) + 2(−3 7) + 0 = −6 7 1(0) + 1(−3 7) + 0 = −3 7

If the most efficient cutter is the second cutter, then we solve the question using the second cutter:

3 7 −1 7 𝑥1 −1 7 𝛿1 −3 7 𝛿2 ≤0 3 7 −1 7 𝑥1 −1 7 𝛿1 −3 7 𝛿2 + 𝛿3 = 0,    𝛿3 ≥0 −1 7 𝑥1 −1 7 𝛿1 −3 7 𝛿2 + 𝛿3 = −3 7

Table 5 Basic 𝒃𝒊 𝒙𝟏 𝒙𝟐 𝒙𝟑 𝛿1 𝛿2 𝛿3 𝑥3 6/7 -5/7 0 1 2/7 -1/7 0 𝑥2 38/7 8/7 1 0 1/7 3/7 0 Z 132/7 23/7 1 0 9/7 6/7 0 𝛿3 3/7 -1/7 0 0 -1/7 -3/7 1

Figure

Table 6 Basic 𝒃𝒊 𝒙𝟏 𝒙𝟐 𝒙𝟑 𝛿1 𝛿2 𝛿3 𝑥3 1 -3/5 0 1 2/5 0 -5 𝑥2 5 4/5 1 0 -1/5 0 3/5 Z 18 3 0 0 1 0 2 𝛿2 1 1/3 0 0 1/3 1 -7/3 then 𝒙𝟏= 0, 𝒙𝟐= 5, 𝒙𝟑= 𝟏, 𝒁= −18 Using the second method of new mixed integer programming: Table 4 represents the optimal solution to the problem without taking into account the integer constraint, which is:

Figure
𝒙𝟏= 0, 𝒙𝟐= 38 7 ,     𝒙𝟑= 6 7 ,    𝒁= −132 7

The values of the shadow prices are

5 7 ،𝛿1 = 11 𝛿2 =

7 which means that the two constraints affect the model. The first stage: We choose the variable 𝒙𝟑 because it has the highest fraction, that is:

𝒙𝟏= 0, 𝒙𝟐= 5, 𝒙𝟑= 1, 𝒁𝟏= −𝟏𝟖 𝒁= 𝒁−𝒁𝟏= −18 6 7 −(−18) = −6 7

We test check constraints:

−(0) −(3 7) + 3(1 7) = 0 3(0) −2(3 7) + (1 7) = −1

Since the values (0,-1) are smaller or equal to zero, this means that the constraints are checked and from the values (0,-1)The second constraint is tested to calculate the values of 𝒬2:

𝒬2 = (𝑎21 −𝑎22) = 1 𝒬2 = (𝑐1 −𝑐2) = 5 solution:   𝒙𝟏= 0, 𝒙𝟐= 5,     𝒙𝟑= 𝟏,    𝒁= −18 The second stage: 𝒙𝟏= 9, 𝒙𝟐= 0, 𝒙𝟑= 𝟎, 𝒁𝟐= 𝟏𝟖 𝒁= 𝒁−𝒁𝟐= −18 6 7 −18 = −36 6 7

We test the verification of the first and second entries as follows:

1) −(9) + ( −38 7 ) + 3( −6 7 ) = −119 7 2) 3 3 4 + 2( −38 7 ) −( −6 7 ) = 119

7 The third stage:

𝒙𝟏= 0, 𝒙𝟐= 6, 𝒙𝟑= 𝟎, 𝒁𝟑= −𝟏𝟖 𝒁= 𝒁−𝒁𝟐= −18 6 7 −(−18) = −6 7

We test check constraints:

1) −(0) + ( 4 7) + 3( −6 7 ) = −2 2) 3(0) + 2( 4 7) −( −6

7 ) = 2 The fourth stage:

𝒙𝟏= 0, 𝒙𝟐= 0, 𝒙𝟑= 𝟔, 𝒁𝟒= −𝟏𝟖 𝒁= 𝒁−𝒁𝟒= −18 6 7 −(−18) = −6 7

We test check constraints:

1) −(0) + ( −38 7 ) + 3( 36 7 ) = 10 2) 3(0) + 2( −38 7 ) −( 36 7 ) = −112 7 إthe optimal solution is: 𝒙𝟏= 0, 𝒙𝟐= 5, 𝒙𝟑= 𝟏, 𝒁𝟑= −𝟏𝟖

3. Results:

Based on the planar cutting algorithm and the Zubaidi algorithm, the two new algorithms NEW2, NEW1, we include the results of a number of nonlinear functions that have been solved by the aforementioned algorithms, and these algorithms all depend on the optimal solution.

Table 7. The results of a number of nonlinear functions PROBLEM CUTTING
Table 7. The results of a number of nonlinear functions PROBLEM CUTTING

ALIH. NEW 1 NEW 2

References

al-Zubaidi, D.Ali Khalil" (2000) the proposed method for solving linear programming problems", XIII scientific conference of the Iraqi society for Statistical Sciences, journal of statistical sciences page(348-334)

 [2] Ahmed, Dr. Khalid Hussein" (2000) operations research foundations and principles", Ministry of higher education and scientific research Press, first edition.

 [3] Salih, Dr. Bashir Mohammed, Saleh, Mohammed Wajid Mohammed" (2005) improvements of the balanced individual method", Al-Rafidain Journal of Computer Science and mathematics, Vol. (2), Issue (2), page (72-67).

 [4] fatouhi, Noor Najm Abdallah," (2005) a hybrid method of cutting levels with the method of branching in questions of correct programming " master thesis, unpublished.

[5] ADAM, N. LETCHFORD AND ANDREA LODI, (2001) "PRIMAL CUTTING PLANE ALGORITHM REVISITED " LANCASTER LA 14 YW, V, K, PP.

[6] R. S. GRAFINKEL AND G. L. NEMHAUSER, (2003) "INTEGER PROGRAMMING", MATH3902 OPERATION RESEARCH II, CHAPTER 1, PP. (1-5).

[7] RALPH, E. GOMORY, (1973) "AN ALL-INTEGER PROGRAMMING ALGORITHM", RAND REPORT, R. M. 25797, NEW YORK CHAPTER 3, PP. (46-S66).

[8] Salkim, Harrey M., (1975) "Integer programming Addision – Wesley publishing Co., Inc., Reading, Mass chapter 2, pp. 34.

Continue Reading

View the full issue arrow_forward

Cite This Article

Choose your preferred format

format_quote
Jubbori, Taher Ahmed. “On Two New Algorithms for Solving Mixed Integer Linear Programming Problems and Their Applications.” International Journal of Advances in Applied Computational Intelligence, vol. 6, no. 1, 2024, pp. 62–73. https://doi.org/10.54216/IJAACI.060106.
Jubbori, T. A. (2024). On Two New Algorithms for Solving Mixed Integer Linear Programming Problems and Their Applications. International Journal of Advances in Applied Computational Intelligence, 6(1), 62–73. https://doi.org/10.54216/IJAACI.060106
Jubbori, Taher Ahmed. “On Two New Algorithms for Solving Mixed Integer Linear Programming Problems and Their Applications.” International Journal of Advances in Applied Computational Intelligence 6, no. 1 (2024): 62–73. https://doi.org/10.54216/IJAACI.060106.
Jubbori, T.A. (2024) ‘On Two New Algorithms for Solving Mixed Integer Linear Programming Problems and Their Applications’, International Journal of Advances in Applied Computational Intelligence, 6(1), pp. 62–73. Available at: https://doi.org/10.54216/IJAACI.060106.
Jubbori TA. On Two New Algorithms for Solving Mixed Integer Linear Programming Problems and Their Applications. International Journal of Advances in Applied Computational Intelligence. 2024;6(1):62-73. doi:10.54216/IJAACI.060106
T. A. Jubbori, “On Two New Algorithms for Solving Mixed Integer Linear Programming Problems and Their Applications,” International Journal of Advances in Applied Computational Intelligence, vol. 6, no. 1, pp. 62–73, 2024, doi: 10.54216/IJAACI.060106.
policy

Publisher's Note

The statements, opinions, and data presented in this article are solely those of the author(s) and do not necessarily represent those of ASPG, the journal, or its editors. ASPG and the editors disclaim responsibility for any harm arising from the use of any ideas, methods, instructions, or products described in this article, to the fullest extent permitted by applicable law.

Digital Archive Ready