CEDRON - OLA-LP Model Formulation
CEDRON - OLA-LP Model Formulation
1.
Suppose
The
---- constraints
1 are –
� ≤ 15 ---- 1
� ≤ 35 ---- 2
150� + 50� ≥ 2250 ---- 3
400� + 100� ≥ 5000 ---- 4
We need to minimize the cost. Hence, the LPP is
� ≤ 15
� ≤ 35
150� + 50� ≥ 2250
400� + 100� ≥ 5000
Find the solution using Simplex method (BigM method)
Subject to
�1 ≤ 15
�2 ≤ 35
150�1 + 50�2 ≥ 2250
400�1 + 100�2 ≥ 5000
��� �1 , �2 ≥ 0
Solution:
Problem is
�1 ≤ 15
�2 ≤ 35
150�1 + 50�2 ≥ 2250
400�1 + 100�2 ≥ 5000
��� �1 , �2 ≥ 0
The problem is converted to canonical form by adding slack, surplus and artificial variables as
appropriate
�1 + �1 = 15
�2 + �2 = 35
150�1 + 50�2 − �3 + �1 = 2250
400�1 + 100�2 − �4 + �2 = 5000
��� �1 , �2 , �1 , �2 , �3 , �4 , �1 , �2 ≥ 0
Positive maximum �� − �� is 500� − 500 and its column index is 1. So, the entering variable is
�1 .
Minimum ration is 12.5 and its row index is 4. So, the leaving basis variable is �2 .
Iteration-2 �� 50 250 0 0 0 0 �
0
� �� �� �� �� �� �� �� �� �� MinRati
o
��
��
� �� 50 ��. �� 0 0 �. ���� �
= ���� 0 + ��� −� − �. ��
+ ����
�� 0 12.5 − 125 0 0 −� 0.375� 0
− �� − 1.25
Positive maximum �� − �� is 12.5� and its column index is 2. So, the entering variable is �2 .
Minimum ration is 30 and its row index is 3. So, the leaving basis variable is �1 .
�1 0 10 0 0 1 0 -0.02 (0.01) 10
0.01
= 1000
� �� ��� ��� 0 0 �. �
= ����� −��
�� 0 0 0 0 −10 2.5
− ��
Positive maximum �� − �� is 2.5 and its column index is 6. So, the entering variable is �4 .
Minimum ration is 1000 and its row index is 1. So, the leaving basis variable is �1 .
�4 0 10 0 0 100 0 -2 1
�2 0 5 0 0 3 1 0.02 0
�� 250 30 0 1 -3 0 -0.02 0
�1 500 5 1 0 1 0 0 0
� �� ��� ��� -250 0 0
= ���� −�
�� 0 0 -250 0 −5 0
− ��
Since all �� − �� ≤ 0
��� � = 7500
� 8
≥
� 5
= 5� − 8� ≥ 0
����� ������ �� ���� �������� = � + � + � + �
30
�ℎ��, � ≤ (� + � + � + �)
100
= 10� ≤ 3� + 3� + 3� + 3�
= 3� − 7� + 3� + 3� ≥ 0
1
����, � ≤ (� + � + � + �)
3
= 3� ≤ � + � + � + �
= � + � − 2� + � ≥ 0