390 likes | 428 Views
Part 3. Linear Programming. 3.2 Algorithm. General Formulation. Convex function. Convex region. Example. Profit. Amount of product p. Amount of crude c. Graphical Solution. Degenerate Problems. Non-unique solutions. Unbounded minimum. Degenerate Problems – No feasible region.
E N D
Part 3. Linear Programming 3.2 Algorithm
General Formulation Convex function Convex region
Profit Amount of product p Amount of crude c
Degenerate Problems Non-unique solutions Unbounded minimum
Calculation ProcedureStep 2:find a basic solution corresponding to a corner of the feasible region.
Remarks • The solution obtained from a cannonical system by setting the non-basic variables to zero is called a basic solution (particular solution). • A basic feasible solution is a basic solution in which the values of the basic variables are nonnegative. • Every corner point of the feasible region corresponds to a basic feasible solution of the constraint equations. Thus, the optimum solution is a basic feasible solution.
Fundamental Theorem of Linear Programming Given a linear program in standard form where A is an mxn matrix of rank m. • If there is a feasible solution, there is a basic feasible solution; • If there is an optimal solution, there is an optimal basic feasible solution.
Corollary If there is a finite optimal solution to a linear programming problem, there is a finite optimal solution which is an extreme point of the constraint set.
Step 2 x1 and x2 are selected as non-basic variables
Step 3: select new basic and non-basic variables new basic variable
Which one of x3, x4, x5 should be selected as the new non-basic variables?
N N B B B Step 3: Pivot Row Select the smallest positive ratio bi/ai1 Step 3: Pivot Column Select the largest positive element in the objective function. Pivot element
Step 5: Repeat Iteration An increase in x4 or x5 does not reduce f
It is necessary to obtain a first feasible solution! Infeasible!
Phase I – Phase II Algorithm • Phase I: generate an initial basic feasible solution; • Phase II: generate the optimal basic feasible solution.
Phase-I Procedure • Step 0 and Step1 are the same as before. • Step 2: Augment the set of equations by one artificial variable for each equation to get a new standard form.
New Objective Function If the minimum of this objective function is reached, then all the artificial variables should be reduced to 0.