انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة
الكلية كلية العلوم للبنات
القسم قسم الحاسبات
المرحلة 3
أستاذ المادة سعد عبد ماضي عنيزي النصراوي
25/01/2014 18:32:43
7.1 Steps for Two-Phase Method
The process of eliminating artificial variables is performed in phase-I of the solution and phase- II is used to get an optimal solution. Since the solution of LPP is computed in two phases, it is called as Two-Phase Simplex Method.
Phase I – In this phase, the simplex method is applied to a specially constructed auxiliary linear programming problem leading to a final simplex table containing a basic feasible solution to the original problem. Step 1 – Assign a cost -1 to each artificial variable and a cost 0 to all other variables in the objective function. Step 2 – Construct the Auxiliary LPP in which the new objective function Z* is to be maximized subject to the given set of constraints. Step 3 – Solve the auxiliary problem by simplex method until either of the following three possibilities do arise i. Max Z* < 0 and atleast one artificial vector appear in the optimum basis at a positive level (?j ? 0). In this case, given problem does not possess any feasible solution. ii. Max Z* = 0 and at least one artificial vector appears in the optimum basis at a zero level. In this case proceed to phase-II. iii. Max Z* = 0 and no one artificial vector appears in the optimum basis. In this case also proceed to phase-II.
Phase II – Now assign the actual cost to the variables in the objective function and a zero cost to every artificial variable that appears in the basis at the zero level. This new objective function is now maximized by simplex method subject to the given constraints.
Simplex method is applied to the modified simplex table obtained at the end of phase-I, until an optimum basic feasible solution has been attained. The artificial variables which are non-basic at the end of phase-I are removed.
7.2 Worked Examples
Example 1 Max Z = 3x1 - x2 Subject to 2x1 + x2 ? 2 x1 + 3x2 ? 2 x2 ? 4 and x1 ? 0, x2 ? 0
1
Solution
Standard LPP Max Z = 3x1 - x2 Subject to 2x1 + x2 – s1+ a1= 2 x1 + 3x2 + s2 = 2 x2 + s3 = 4 x1 , x2 , s1, s2, s3,a1 ? 0
Auxiliary LPP Max Z* = 0x1 - 0x2 + 0s1 + 0s2 + 0s3 -1a1 Subject to 2x1 + x2 – s1+ a1= 2 x1 + 3x2 + s2 = 2 x2 + s3 = 4 x1 , x2 , s1, s2, s3,a1 ? 0
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
|