390 likes | 407 Views
Learn how to apply the Simplex Method and explore the Extreme Point Theorem in linear programming to achieve optimal solutions efficiently. Understand the basic concepts and principles to solve complex optimization problems effectively.
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 feasible 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 (i.e., a particular solution). • A basic feasible solutionis a basic solution in which the values of the basic variables are nonnegative. • Every corner pointof 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 m by n matrix of rank m. • If there is a feasible solution, then there must be a basic feasible solution; • If there is an optimal solution, then there must be an optimal basic feasible solution.
Theorem (Equivalence of extreme points and basic feasible solutions)
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=0 and x2=0 are selected as initial non-basic (free) variables
Step 3: Select new basic and new non-basic (free) variables new basic variable
Which one of the basic variables (x3, x4, x5) should be selected as the new non-basic or free variables? (Note: x2=0)
Carry out step 3 and step 4 in matrix form by Gauss-Jordan elimination
N N B OBJ B B Step 3.2: Pivot Row Select the smallest positive ratio bi/ai1 Identity Matrix Step 3.1: Pivot Column Select the largest positive element in the objective function. Pivot element
OBJ Basic variables
Step 5: Repeat Iteration An increase in x4 or x5 does not reduce f Corner C!
It is still necessary to guarantee obtaining the first basic feasible solution in any LP problem! 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 Basic Variables Artificial Variables Artificial Variables
New Objective Function If the minimum of this objective function is reached, then all the artificial variables should be reduced to 0.