For the sake of standardization . the algebraic representation of the LP
solution Space is made under two condition:
1. All the constraints ( with the exception of the nonnegativity restrictions ) are equations with
a nonnegative right-hand side .
2- All the variables are Nonnegative .
Converting Inequalities into Equations
in(≤) constraints the right-hand side can be thought of as representing the limit on the availability of a resource in
which case the left hand side would represent the usage of this limited resource by the activities ( variables) of
the model. the difference between the right hand side and the left hand side of the (اق من) constraints thus the unused
or slake amount of resource.
To convert a ( ≤ ) inequality to an equation a nonnegative slake variable is added to the left-hand side of the
constraints . 'For example in the reddy mikks model ,
the constraints associated with the use of raw material M1 is given as
defining s1 as the slak or unused amount of M1 ,the constraint can be converted to the following equation 6X1 + 4X2 + S1 = 24 , S1 ≥ 0
solution Space is made under two condition:
1. All the constraints ( with the exception of the nonnegativity restrictions ) are equations with
a nonnegative right-hand side .
2- All the variables are Nonnegative .
Converting Inequalities into Equations
in(≤) constraints the right-hand side can be thought of as representing the limit on the availability of a resource in
which case the left hand side would represent the usage of this limited resource by the activities ( variables) of
the model. the difference between the right hand side and the left hand side of the (اق من) constraints thus the unused
or slake amount of resource.
To convert a ( ≤ ) inequality to an equation a nonnegative slake variable is added to the left-hand side of the
constraints . 'For example in the reddy mikks model ,
6X1 + 4X2 ≤ 24
defining s1 as the slak or unused amount of M1 ,the constraint can be converted to the following equation 6X1 + 4X2 + S1 = 24 , S1 ≥ 0
next a( ≥) constraint normally sets a lower limit on
the on the activities of LP model. AS such the amount by which the left hand side exceeds the
minimum limit represents a surplus.
The conversion from ( ≥) to (=) is achieved by subtracting a nonnegative surplus variable from
the left hand side of the inequality .
For example in the diet model ( Example 202-2 ) , the constraint representing the
minimum feed requirements is given as X1 + X2 ≥ 800
Defining S1 as the surplus variable, the constraint can be converted to the following eqution
For example in the diet model ( Example 202-2 ) , the constraint representing the
minimum feed requirements is given as X1 + X2 ≥ 800
Defining S1 as the surplus variable, the constraint can be converted to the following eqution
X1 + X2 - S1 = 800 , S1 ≥ 0
Note importantly that the slack and surplus variable , s1 and S1
are always non-negative.
The only remaining requirement is for the right-hand side of the resulting equation to be non-negative.
The condition can always be satisfied by multiplying both sides of the resulting equation by -1 where necessary.
For example the constraint -X1 + X2 ≤ -3
is equivalent to the equation
-X1 + X2 + S1 = -3,S1 ≥ 0
Now multiplying both sides by -1 will render a non-negative right-hand side as desired that is
X1 - X2 - s1 =3