5.6 - Linear Programming: Definitions
5.6 - Linear Programming: Definitions
6 - Linear Programming
In business, it is often desirable to find the production levels that will produce
the maximum profit or the minimum cost. The production process can often be
described with a set of linear inequalities called constraints. The profit or cost
function to be maximized or minimized is called the objective function. The
process of finding the optimal levels with the system of linear inequalities is
called linear programming (as opposed to non-linear programming).
Definitions
Objective Function
The linear function (equal sign) representing cost, profit, or some other
quantity to be maximized of minimized subject to the constraints.
Constraints
A system of linear inequalities.
Problem Constraints
The linear inequalities that are derived from the application. For
example, there may be only 40 hours a machine can be used in a week,
so the total time it is used would have to be <= 40. The problem
constraints are usually stated in the story problem.
Non-Negativity Constraints
The linear inequalities x>=0 and y>=0. These are included because x
and y are usually the number of items produced and you cannot
produce a negative number of items, the smallest number of items you
could produce is zero. These are not (usually) stated, they are implied.
Feasible Region
The solution to the system of linear inequalities. That is, the set of all
points that satisfy all the constraints. Only points in the feasible region
can be used.
Corner Point
A vertex of the feasible region. Not every intersection of lines is a corner
point. The corner points only occur at a vertex of the feasible region. If
there is going to be an optimal solution to a linear programming
problem, it will occur at one or more corner points, or on a line segment
between two corner points.
Bounded Region
A feasible region that can be enclosed in a circle. A bounded region will
have both a maximum and minimum values.
Unbounded Region
A feasible region that can not be enclosed in a circle.
Geometric Approach
If the slope of the objective function is negative and you take a line with that
slope passing through the origin and move it to the right through the feasible
region, the last corner point hit by that moving line will be the maximum value.
In the example shown, the last line with slope m=-4/3 that touches the feasible
region touches at the corner point (6,3).
Since z=4(6)+3(3)=24+9=33, the maximum value is 33 when x=6 and y=3.
Algebraic Approach
x
0
0
4
6
5
y
0
4
5
3
0
z = 4x + 3y
0
12
31
33
20
As you can see, the corner point with the maximum value is at (6,3).
We can also determine the minimum value from that table. A suitable answer,
assuming the problem had asked for both the maximum and minimum is ...
The minimum value is 0 when x=0 and y=0.
The maximum value is 33 when x=6 and y=3.
Differentiating Explicit and Implicit Functions
independent
variable
x.
y + x2 - 3x + 8 = 0
Example
Differentiate x2 + y2 = 16 with respect to x.
Compared to
Example
Differentiate 2x2 + 2xy + 2y2 = 16 with respect to x.
Example
Find the gradient of the tangent at the point R(1,2)
on the graph of the curve defined by x3+ y2= 5, and
determine
whether the curve is concave up or concave down at
this point.
Divide through by y