lecture 4
lecture 4
Spring Semester
2
Linear Programming Models
3
Optimal Solution for New Objective Function
Graphical Solution of Maximization Model
Maximize Z = $40x1 + $50x2 Maximize Z = $70x1 + $20x2
subject to: 1x1 + 2x2 40 subject to: 1x1 + 2x2 40
4x1 + 3x2 120 4x1 + 3x2 120
x1, x2 0 x1, x2 0
5
Fertilizing farmer’s field
Graphical Solution of Minimization Model (1 of 3)
9
Slack and Surplus Variables
10
Slack Variables – Maximization Model (1 of 2)
15
For some linear programming models, the general rules do not apply.
• Consider the Beaver Creek Pottery Company example, with the objective
function changed from Z = $40x1 + $50x2 to Z=$40x1 + 30x2.
• The slight change in the objective function makes it now parallel to the
constraint line, 4x1 + 3x2 = 120
Multiple Optimal Solutions - Beaver Creek Pottery (2 of 4)
• This means that every point along this line segment is optimal (i.e., each point
results in the same profit of 𝑍 = $1,200).
• The endpoints of this line segment, B and C, are typically referred to as the
alternate optimal solutions.
• Alternate optimal solutions are at the endpoints of the constraint line segment that
the objective function parallels.
Multiple Optimal Solutions - Beaver Creek Pottery (4 of 4)
• The pottery company, therefore, has several options in deciding on the number of
bowls and mugs to produce.
• Multiple optimal solutions can benefit the decision maker because the number of
decision options is enlarged.
• The multiple optimal solutions (along the line segment BC ) allow the decision
maker greater flexibility. For example, in the case of Beaver Creek Pottery
Company, it may be easier to sell bowls than mugs; thus, the solution at point C,
where only bowls are produced, would be more desirable than the solution at
point B, where a mix of bowls and mugs is produced.
An Infeasible Problem – (1 of 3)
26
Characteristics of Linear Programming Problems (1 of 1)
• A linear programming problem requires a choice between alternative courses of
action (i.e., a decision).
• The decision is represented in the model by decision variables.
• Identifying the choice task and defining the decision variables is usually the first
step in the formulation process because it is quite difficult to construct the
objective function and constraints without first identifying the decision variables.
• The problem encompasses a goal, expressed as an objective function, that the
decision maker wants to achieve.
• Restrictions (represented by constraints) exist that limit the extent of
achievement of the objective.
• The objective and constraints must be definable by linear mathematical functional
relationships.
Properties of Linear Programming Models (1 of 5)
• Proportionality - The rate of change (slope) of the objective function and constraint
equations is constant.
• Divisibility - Decision variables can take on any fractional value and are therefore
continuous as opposed to integer in nature.
• Certainty - Values of all the model parameters are assumed to be known with
certainty (non-probabilistic).
Properties of Linear Programming Models (2 of 5)
• The term linear not only means that the functions in the models are graphed as a
straight line; it also means that the relationships exhibit proportionality.
• In other words, the rate of change, or slope, of the function is constant; therefore,
changes of a given size in the value of a decision variable will result in exactly
the same relative changes in the functional value.
Properties of Linear Programming Models (3 of 5)
• Linear programming also requires that the objective function terms and the
constraint terms be additive.
• For example, in the Beaver Creek Pottery Company model, the total profit (𝑍)
must equal the sum of profits earned from making ($40𝑥1 ) bowls and ($50𝑥2 )
mugs.
• Also, the total resources used must equal the sum of the resources used for each
activity in a constraint (e.g., labor).
Properties of Linear Programming Models (4 of 5)
• Another property of linear programming models is that the solution values (of
the decision variables) cannot be restricted to integer values; the decision
variables can take on any fractional value. Thus, the variables are said to be
continuous or divisible, as opposed to integer or discrete.
• The final property of linear programming models is that the values of all the
model parameters are assumed to be constant and known with certainty.