Professional Documents
Culture Documents
Simplex method - the Simplex algorithm for solving linear programming problems, a repetitive optimizing technique,
was developed around 50 years ago by George B. Dantzig of Standford University. It is a method that can be used to
maximize or minimize the value problems, especially when a large number of variables or constraints are present.
Condition 2. All other constraints are written as linear expressions that is less than or equal to positive constant.
To apply the simplex method to a maximum problem, two steps are followed.
Slack variable- a non-negative variable representing the difference between the left and right sides of the inequality. It
also signifies the unused quantity of the constraint.
In constructing an initial simplex tableau, a table containing the symbols of the variables in each column must first be
made. The objective function and the constraints must be placed together with their corresponding coefficients. The
first row in the tableau represents the objective function and its coefficient. The remaining rows represent the
constraints and their coefficients. The objective row is separated from the constraint by a horizontal line.
A variable that contains a numerical coefficient of 1 and 0 is called a basic variable and is denoted by BV. The number to
the right-hand side of the objective function and the constraint is also denoted as RHS.
Once initial simplex tableau is constructed, a pivoting operation must be performed. T pivot a matrix about a given
element, called the pivot element
Example:
Maximize: 𝑷=80𝒙_𝟏+60𝒙_𝟐
Subject to : (constraints)
4𝒙_𝟏+2𝒙_𝟐≤𝟔𝟎 or 〖𝟐𝒙〗_𝟏+𝒙_𝟐≤𝟑𝟎
2𝒙_𝟏+4𝒙_𝟐≤𝟒𝟖 or 𝒙_𝟏+〖𝟐𝒙〗_𝟐≤𝟐𝟒
𝒙_𝟏≥𝟎;𝒙_𝟐≥𝟎
Step 2. Introduce slack variable ( 𝑺_𝟏and 𝑺_𝟐, since there are only two constraints) and write the constraints in
equation form.
〖𝟐𝒙〗_𝟏+𝒙_𝟐+𝑺_𝟏=𝟑𝟎
𝒙_𝟏+〖𝟐𝒙〗_𝟐+𝑺_𝟐=𝟐𝟒
𝒙_𝟏≥𝟎;𝒙_𝟐≥𝟎
𝑺_𝟏≥𝟎;𝑺_𝟐≥𝟎
Step 3. Write the objective function in the equation form.
𝑷−80𝒙_𝟏−60𝒙_𝟐=𝟎
The first step is to find the pivot element. Find the smallest value in the objective row. The column it belongs to is the
pivot column. Divide the values in the RHS by the corresponding value in the pivot column. Whichever value gives the
smallest quotient is the pivot element. The smallest value in the objective row above is -80, so the column 𝒙_𝟏 is the
pivot column. The quotient of RHS and the positive entries in the pivot column are 30/2= 15 and 24/1=24. The smallest
between the two is 15; therefore, the pivot row is
𝑺_𝟏 and the pivot element is 2.
Next is taking the pivot row (𝑹_(𝟐)) and transforming the pivot element into 1 using 𝑹_𝟐=𝟏/𝟐 𝒓_(𝟐)).
Next is to pivot 𝑹_𝟏 and 𝑹_𝟑, to make the values in the pivot column 0’s. For 𝑹_𝟑=𝒓_𝟑−𝒓_𝟐
𝒓_𝟑 → 0 1 2 0 1 24
𝒓_𝟐→ 0 1 ½ ½ 0 15
𝒓_𝟐 → 0 1 ½ ½ 0 15
Since the objective row in table 3 is composed of non-negative numbers, then the tableau is final.
Decision:
The value 𝒙_𝟏 is 12 and 𝒙_𝟐is 6. Therefore, the maximum profit per production is Php1, 320.00