Professional Documents
Culture Documents
• A company desires to blend a new alloy of 50 percent aluminum, 30 percent copper, and
20 percent magnesium from several available alloys (1-5) having the following properties:
Property 1 2 3 4 5
Percentage aluminum 50 30 30 10 55
Percentage copper 10 10 50 40 35
Percentage magnesium 40 60 20 50 10
Cost ($/lb) 25 15 30 10 20
• The objective is to determine the proportions of these alloys that should be blended to
produce the new alloy at a minimum cost. Formulate the linear programming model for
this problem.
Simplex Method
Example
• Maximize Z = 3x1 + 5x2
• Constraints:
x1 ≤ 4
2x2 ≤ 12
3x1 + 2x2 ≤ 18
• Non- negativity constraints:
x1 ≥ 0
x2 ≥ 0
Graphical Solution
Graphical Solution
Terminologies
• Corner-point solutions
• Corner point feasible solutions (CPF solutions)
• Corner point infeasible solution
x1 ≥ 0, x2 ≥ 0 x1 ≥ 0, x2 ≥ 0
Slack Variables
• If slack variable = 0, the solution lies on the constraint boundary for
that constraint
• If slack variable > 0, the solution lies on the feasible side
• If slack variable < 0, the solution lies on the infeasible side
Setting up the simplex method
• In the augmented form,
• System of constraints has 5 variables and 3 equations
• Any two variables can be set equal to any arbitrary value to solve the 3
equations for the remaining three equations. Simplex method uses zero
as the arbitrary value.
• The other three variables are known as basic variable and this solution is
known as basic solution.
Setting up the simplex method
• Properties of basic solutions
• Each variable is either basic or non-basic variable
• Number of basic variables equals the number of constraints/ equations .
Remaining are non-basic variables
• Non-basic variables are set equal to zero
• Values of basic variables are obtained as the simultaneous solution of the
system of equations (set of basic variables is referred to as basis)
• If basic variables satisfy the non-negativity constraints, the basic solution is
basic-feasible solution
Algebra of the Simplex Method
• Step 1: Initialization
• Choose x1 and x2 as non-basic variables
• For feasibility all variables should be non-negative. So we need to check how far
x2 can be increased without violating the non-negativity constraints for the basic
variables
Algebra of the Simplex Method