1. Introduction:
Most companies and institutions rely on studies provided by experts and researchers using operations research methods in order to ensure a safe work environment away from danger and danger and to give decision makers a margin of freedom, after the studies and research presented using the concepts of neutrosophic science in most fields of science have proven their ability to provide more accurate results. From the results that we were obtaining using classical data-driven studies, we reformulated many operations research topics using neutrosophic concepts [1-20], and to complement what we have done, we present in this research a study of dual linear models and the binary simplex algorithm that gives us a solution for the original and dual models at the same time so that we can provide a clear study that helps decision makers in companies and institutions develop plans and programs through which the greatest profit and lowest cost are achieved.
Discussion :
In our practical life, we encounter many problems that are formulated in the form of linear mathematical models consisting of an objective function and a set of constraints in the form of equations or inequalities. The linear model is written in many formulas that are distinguished by the type of the objective function and the form of the constraints. Many references have been provided that studies of linear and dual linear models are based on classical data, and the appropriate algorithms for solving each of them and how to find the dual model for any model [21-25]. Since classical data results in optimal solutions, which are classical values, restricted values appropriate to the conditions in which the data were collected, and for any change in these conditions, these solutions are inappropriate and may cause the facility a large unexpected loss, so we found it appropriate to reformulate these studies using concepts neutrosophic science is done by taking data with neutrosophic values suitable for all conditions. In previous research, we presented neutrosophic linear models, the direct neutrosophic simplex algorithm, and the graphical method for finding the optimal solution for linear models, [ 18,19,20 ] . As a continuation of what we have done previously, we present in this research a study whose purpose is to reformulate the binary simplex algorithm to find the optimal solution for the original model and the dual model at the same time.
We present this study in two stages:
The first stage:
Finding the neutrosophic dual models using the binary table.
When we want to find the model associated with any linear model, we start by placing this model in the symmetrical form, so we mention the symmetrical form.
The symmetrical form of the neutrosophic linear model: [19]
We say of a linear model that it is in the symmetrical form if all variables are constrained to be non-negative and if all constraints are given in the form of inequalities (and the inequalities of the maximization model constraints must be in the form (≤ less than or equal to) while the inequalities of the minimization model constraints must be in the form (≥ is greater than or equal to), then the linear model is written in the neutrosophic symmetric form in one of two cases:
First case:

Constraints:

𝑥𝑗≥0 Second case:

Constraints:

𝑥𝑗≥0 In both cases, we have 𝑥𝑗≥0, which are the decision variables, unknown values that we obtain after solving the linear model .
𝑁𝑐𝑗= 𝑐𝑗± 𝜀𝑗 and 𝑁𝑏𝑖= 𝑏𝑖± 𝛿𝑖 and 𝑁𝑎𝑖𝑗= 𝑎𝑖𝑗± 𝜇𝑖𝑗 where (j=1,2,…,n , i=1,2,…,m) are the data of the problem under study, and they are neutrosophic values, indefinite values that enjoy a margin of freedom and are taken according to The nature of the situation represented by the linear model
First method:
Constructing neutrosophic dual linear models using tables:
If the original model is given in detailed form, we put it in the symmetrical form as stated in the previous paragraph, then we draw a binary table for the original and dual models according to the following steps:
1- The coefficients of the objective function in the original model are the constants column in the dual model, and the constants column in the original model are the coefficients of the objective function in the dual model. 2- We invert the signs of the inequalities of the constraints (if they were in the original model of type ≤ they become in the dual model of type ≥) 3- We change the objective from maximizing in the original model to minimizing in the dual model 4- We place each constraint (row) in the original model corresponding to a column in the dual model, meaning there is one variable for each constraint in the original model 5- The variables in the original model and the dual model satisfy the non-negativity constraints. We explain the above through the following two cases :
The first case: The original model is symmetrical and of the maximization type
Find
Constants:
The binary table for the original model and the accompanying model is as follows:
Table No. (1) Objective follower of the maximization type
Original model
function constants

constraints
Dual model
function constraints
vibrable
constraints
The second case: The original model is symmetrical and of the reduction type: Find
Constants:
The binary table for the original model and the accompanying model is as follows:
Table No. (2) objective follower in the original model of the reduce type
Original model
function constants

constraints
Dual model
function constants
constraints
The second stage: formulation of the binary neutrosophic algorithm.
The binary simplex algorithm (for the original and dual models) neutrosophic. Through this algorithm, we can find the two ideal solutions for both the original and dual models at the same time. Before starting the binary simplex algorithm, we must mention the modified simplex algorithm that we will use within the steps of the binary algorithm.
vibrable
Modified simplex algorithm:
In the modified Simplex algorithm, after converting the regular linear model to the basic form, we place the coefficients in a short table whose first column includes the basic variables and whose top row includes the nonbasic variables only. We define the pivot column, which is the column corresponding to the largest positive value in the objective function row if the objective function is a maximization function (but if the objective function is a minimization function, it is the column corresponding to the most negative values). Let this column be the column of the variable 𝑥s. We define the pivot row. The pivot row is determined. Through the following indicator:
Let this line be the line of the base variable 𝑦𝑡, then the anchor element is the element resulting from the intersection of the anchor column and the anchor line, i.e., 𝑁𝑎𝑡𝑠. Then we calculate the new elements corresponding to the anchor line and the anchor column as follows:
1- We put opposite the pivot element 𝑁𝑎𝑡𝑠 the reciprocal of 1
𝑁𝑎𝑡𝑠
2- We calculate the elements of the row corresponding to the pivot row (except the pivot element) by dividing the elements of the pivot row by the pivot element 𝑁𝑎𝑡𝑠 3- We calculate all the elements of the column opposite the pivot (except the pivot element) by dividing the elements of the pivot column by the pivot element 𝑁𝑎𝑡𝑠 and then multiplying them by ( 1 - ) 4- We calculate the other elements from the following relationships:

5- We apply the stopping criterion of the direct Simplex algorithm on the objective function row. If the objective function is of the maximize type, the objective function row in the table must not contain any positive value. (But if the objective function is of the minimization type, the objective function row in the new table must not be contains any negative value), if the criterion is not met, we repeat the same steps until the stopping criterion is met and we obtain the desired ideal solution. Steps of the binary simplex algorithm:
a. We write the two models in basic form by adding or subtracting additional variables or using synthetic variables and isolating the non-restricting variables. Basal form of the original model:
Find

𝑥𝑗≥0 ; j = 1,2, … , n 𝑢𝑖≥0 ; i = 1,2, … , m Here we do not require that 𝑁𝑏𝑖≥0. Basic form of the dual model: Find
Constans:

𝑦𝑖≥0 ; 𝑖= 1,2, … , 𝑚 𝑣𝑗≥0 ; j = 1,2, … , n Here we do not require that 𝑁𝑐𝑗≥0 The two models have the same coefficients, and the matrix of instances of the dual model is the transpose of the matrix of instances of the original model. We write the two models in the following binary table:
Table No. (3) Standard format for the original and companion models
Original model
function constants
𝑀𝑎𝑥 Constants column

constraints
Dual model
function constants
𝑀𝑖𝑛 Constants column
constraints b. We place the variables and coefficients of the original model in the modified simplex table, and we place the variables of the dual model outside the table as follows:
Table No. (4): The binary table for the original and dual models according to the modified Simplex algorithm
vibrable
original model Binary simplex algorithm for the original and dual models:
From the modified simplex algorithm of the original model, we obtain the optimal solution of the original model when all the elements are in the last row (the objective function row of the original model) 𝑁𝑐𝑗≤0 ; j = 1,2, … , n and at the same time all the elements are in the column The last (associated objective function column) 𝑁𝑏𝑖≥0 ; 𝑖= 1,2, … , 𝑚 and we get the optimal solution for the dual model when all elements in the last column (associated objective function column) are 𝑁𝑏𝑖≥0 ; 𝑖= 1,2, … , 𝑚 and at the same time the last row (the objective function row of the original model) 𝑁𝑐𝑗≤0 ; j = 1,2, … , n (because it will correspond to 𝑁𝑐𝑗= −𝑣𝑗) which are the two conditions Same for both models. Therefore, when searching for the optimal solution for both models together, we must work to make all elements 𝑁𝑏𝑖≥0 ; 𝑖= 1,2, … , 𝑚 and to make all elements 𝑁𝑐𝑗≤0 ; j = 1,2, … , n to achieve this, we rely on one of the two models, put its variables and coefficients in a table, and place the dual model in an external frame of that table. In general, we find that the necessity of placing the two models in a short table does not allow us to get rid of the negative constants on the right side, and therefore the general case of the previous binary table can it must include negative constants 𝑁𝑏𝑖< 0 , and the elements of the last row can include positive elements 𝑁𝑐𝑗> 0 , so when searching for the optimal solution for the two models, we must work to address these elements based on one of the two models.
Depending on the original model, we do this in two stages:
The first stage:
We make the constant 𝑁𝑏𝑖 non-negative, which corresponds to obtaining a non-negative basic solution for the original model.
The second stage:
We make all elements of the objective function row non-positive (in the case of the objective function, maximization), and this corresponds to obtaining the optimal solution required for the original model.
Based on the dual model, we do this in two stages:
The first stage:
We must make the elements of the dual model objective function column 𝑁𝑏𝑖≥0 ; i = 1,2, … , m ,The last row is non-negative
The second stage:
We must make the free constants for the dual model −𝑁𝑐𝑗 non-positive, and this corresponds to obtaining the optimal solution for the dual model. We explain the above through the following example:
Find the optimal solution for both the following neutrosophic linear model and its dual using the binary algorithm
Example:
Find:
Constans:
We form the binary table of the model and the dual model:
Table No. (5) The original model and its dual mode
Original model
𝑀𝑎𝑥 Constants column [5,8] 𝑥1 + [3,6] 𝑥2 objective function constants
![[14,20] ≤ 2𝑥1 + 3𝑥2 1 𝑦1 [10,16] ≤ 2𝑥1 + 𝑥2 2 𝑦2 Dual [12,18] ≤ 3𝑥2 3 𝑦3 [15,21] ≤ 3𝑥1 4 𝑦4](https://americaspg.com/storage/fulltext/2233/ffc0d0a9c63db862/eq-49.png)
0 ≥ 𝑥1, 𝑥2 Non-negativity constraints
Dual model
constraints
In the following table, we wrote the two models in standard form:
Original model
Constants column [5,8] 𝑥1 + [3,6] 𝑥2 + 0𝑢1 + 0𝑢2 + 0𝑢3 + 0𝑢4 objective function constants
![[14,20] = 2𝑥1 + 3𝑥2 + 𝑢1 1 𝑦1 [10,16] = 2𝑥1 + 𝑥2 + 𝑢2 2 𝑦2 Dual [12,18] = 3𝑥2 + 𝑢3 3 𝑦3 [15,21] = 3𝑥1 + 𝑢4 4 𝑦4 0 ≥ 𝑥1, 𝑥2, 𝑢1, 𝑢2, 𝑢3, 𝑢4 Non-negativity](https://americaspg.com/storage/fulltext/2233/ffc0d0a9c63db862/eq-54.png)
constraints
Dual model
vibrable
vibrable
0 ≥ 𝑦1, 𝑦2, 𝑦3, 𝑦4, 𝑣1, 𝑣2 Non-negativity constraints
Table No. (6) Standard format for the original model and the dual model
We notice from the table that the standard form of the original model includes a ready-made base of additional variables 𝑢1, 𝑢2, 𝑢3, 𝑢4, but for the dual model there is no ready-made base. Therefore, we multiply the two restrictions by (-1) and we obtain the basic form of the dual model.
The following table shows the basic form of the original and dual models:
Table No. (7): The basic shape of the original model and the dual model
Original model
Constants column [5,8] 𝑥1 + [3,6] 𝑥2 + 0𝑢1 + 0𝑢2 + 0𝑢3 + 0𝑢4 objective function constants
![[14,20] = 2𝑥1 + 3𝑥2 + 𝑢1 1 𝑦1 [10,16] = 2𝑥1 + 𝑥2 + 𝑢2 2 𝑦2 Dual [12,18] = 3𝑥2 + 𝑢3 3 𝑦3 [15,21] = 3𝑥1 + 𝑢4 4 𝑦4 0 ≥ 𝑥1, 𝑥2, 𝑢1, 𝑢2, 𝑢3, 𝑢4 Non-negativity](https://americaspg.com/storage/fulltext/2233/ffc0d0a9c63db862/eq-58.png)
vibrable
constraints
Dual model
constants
constraints
We put the two models in the modified Simplex algorithm table and we get the following table:
Table No. (8): The binary table for the original and dual models according to the modified Simplex algorithm
𝑁𝐵𝑖 The first stage:
1- For the original model: Since the values in the constant’s column are all positive, we study the values in the objective function row and determine the largest positive value. We find:
It is an expression of the variable 𝑥1. This means that it will enter the base. To determine the element that will exit from the base, we calculate the index 𝑁𝜃, where:
We find that the pivot column is the column of the non-base variable 𝑥1, meaning that the variable 𝑥1 will enter the base instead of the variable 𝑢4, and the pivot element is the element resulting from the intersection of the pivot row and the pivot column, which is (3)
We perform the switching between variables using a modified simplex algorithm.
2- For the dual model:
We study the elements of the objective function row. We notice that all the values are positive. Therefore, we study the elements of the constant’s column. We find that they are all negative values. We choose the most negative of them, which is (−[5,8]) which is the row of the base variable 𝑣1, so its row is the pivot row. To determine the pivot column and the pivot element, we calculate the index 𝑁𝜃′where:
So, the column of the non-base variable 𝑢4 is the pivot column, meaning that the variable 𝑢4 will enter the base instead of the variable 𝑣1, and the pivot element is the element resulting from the intersection of the pivot row and the pivot column, which is (-3). We perform the switching between the variables using the modified simplex algorithm, from (1) and (2) We get the following double table:
Table No. (9): The binary table for the first stage, the solution according to the original and dual models
![[4,6] 3 −2 𝑦1 3 𝑢1 [0,4] 1 −2 𝑦2 3 𝑢2 𝑦3 [12,18] 3 0 𝑢3](https://americaspg.com/storage/fulltext/2233/ffc0d0a9c63db862/eq-66.png)
![[5,7] 0 1 3 𝑥1 𝑣1 𝐿−[25,56] 𝑍−[25,56] [3,6] [−8 Original model 𝑁𝑐𝑖](https://americaspg.com/storage/fulltext/2233/ffc0d0a9c63db862/eq-67.png)
model According to the dual
Original model 𝑣1 𝑦3 𝑦2 𝑦1 Non-basic vibrable
Non-basic vibrable
![𝑍−[25,56] 𝐿−[25,56] [5,7] [12,18] [0,4] [4,6] objective function Original model 𝑁𝑐𝑖](https://americaspg.com/storage/fulltext/2233/ffc0d0a9c63db862/eq-71.png)
The second phase:
We apply the stopping criterion of the algorithm
For the original model:
Since the values in the constant’s column are all positive, we study the values in the objective function row. We notice that there is a positive value, which is [3,6], meaning that we have not yet reached the optimal solution. Therefore, we specify the pivot column, which is the column of the variable 𝑥2 corresponding to the only positive value in the objective function row. [3,6] In order to determine the pivot row and the pivot element, we calculate the index 𝑁𝜃, where:
It corresponds to the base element 𝑢1, so its row is the pivot row and the pivot element is (𝟑). We swap between the variables using the modified simplex algorithm.
For the dual model:
We study the elements of the objective function row. We notice that all the values are positive. Therefore, we study the elements of the constant’s column. We find that there is a single negative value, which is (−[3,6]), which is the line of the base variable 𝑣2, so its row is the pivot row. To determine the pivot column and the pivot element, we calculate the index 𝑁𝜃′ where:
So, the column of the non-base variable 𝑦1 is the pivot column, meaning that the variable 𝑦1 will enter the base instead of the variable 𝑣2, and the pivot element is the element resulting from the intersection of the pivot row and
basic vibrable -Non
3 , −5 3 ] objective function objective function
basic vibrable
the pivot column, which is (−3). We perform the switching between the variables using the modified simplex algorithm, from (1) and (2) We get the following double table:
Table No. (10): The binary algorithm table for the second stage
According to the original model
Dual model 𝑢1 𝑢4 Non-basic vibrable basic vibrable 𝑁𝐵𝑖
![[4 3 , 2] 1 3 −2 𝑣2 9 𝑥2 3 −4 [4 3 , 2] −1 𝑦2 9 𝑢2 [8,12] −1 2 3 𝑢3 𝑦3 𝑣1 [5,7] 0 1 𝑥1](https://americaspg.com/storage/fulltext/2233/ffc0d0a9c63db862/eq-75.png)
![𝐿−[29,68] 𝑍−[29,68] [−2, −1] [−6, −1] objective function 𝑁𝑐𝑖](https://americaspg.com/storage/fulltext/2233/ffc0d0a9c63db862/eq-76.png)
According to the dual model
Original model 𝑣1 𝑦3 𝑦2 𝑣2 Non-basic vibrable
Non-basic
𝑁𝐵𝑖 We apply the stopping criterion of the algorithm:
1- For the original model, we study the elements of the objective function row until the criterion for stopping the algorithm is met, which is the absence of any positive element 2- For the dual model, we also study the elements of the constants column until the criterion for stopping the algorithm is met, which is the absence of any negative element 3- We find that the criterion has been met and thus we have reached the optimal solution The optimal solution of the original model is:
objective function
basic vibrable -Non
Original model objective function
basic vibrable vibrable
3 , 2] objective function
Dual model The value of the objective function corresponds to:
The optimal solution of the dual model is:
The value of the objective function corresponds to:
We note that :
This solution is acceptable according to the following theory:
If (𝑥1, 𝑥2, … , 𝑥𝑛)is an acceptable solution to the original model of type 𝑀𝑎𝑥 and (𝑦1, 𝑦, … , 𝑦𝑚)was an acceptable solution for the dual model of type 𝑀𝑖𝑛, so the value of the objective function of the original model does not exceed the value of the objective function of the dual model for these two solutions, that is, it is

This is for all acceptable solutions for both models (including the optimal solution)
5. Conclusion and Results:
From the previous study, we arrived at a solution for the original and dual models at the same time, which are neutrosophic values from which we know the minimum and maximum profit that we can obtain, because the interpretation of the optimal solution for the original model is that it gives us the best production plan that makes the value of that production as large as possible, within Available capabilities. As for the optimal solution for the dual model, it gives us the best values for the prices of raw materials, which, if used without waste, will also give us the best production plan, and the result is the maximum profit.