Linear Programming - PowerPoint PPT Presentation

1 / 25
About This Presentation
Title:

Linear Programming

Description:

A Nutrition Aid Program is considering two food supplements ... The nutritional content and prices of the food supplements and the ... coincide with ... – PowerPoint PPT presentation

Number of Views:41
Avg rating:3.0/5.0
Slides: 26
Provided by: tirsob
Category:

less

Transcript and Presenter's Notes

Title: Linear Programming


1
Linear Programming
2
Formulating the Linear Programming Problem
  • Linear optimization (more widely known as linear
    programming) involves linear functions only.
  • It can be analyzed using only the methods of
    linear algebra.
  • Classic problem a minimization problem and a
    maximization problem.

3
Example. A Nutrition Aid Problem
  • A Nutrition Aid Program is considering two food
    supplements S1 and S2 for distribution among a
    population deficient in nutrients N1, N2, and N3.
    The nutritional content and prices of the food
    supplements and the minimum daily nutritional
    requirements per person are given in Table 3.1
  • For example, each unit of S1 provides 4 units of
    N1, 8 units of N2, 5 units of N3, and costs 6
    pesos.
  • The problem is to determine the daily quantities
    of the food supplements for each person that meet
    the minimum daily requirements and entail the
    least cost.

4
Table 3.1. Dietary and Price Data
5
(No Transcript)
6
Example. A Product Mix Problem
  • A firm produces two different products P1 and P2.
    Every unit of P1 uses 3 units of resource 1 (R1)
    and 1 unit of resource 2 (R2) and earns a profit
    of 5 pesos. The firm wants to determine how many
    of the two products must be manufactured each
    week in order to maximize profit subject only to
    resource availability.

7
(No Transcript)
8
(No Transcript)
9
Forms of LP problems
  • Each model has a linear function to be optimized
    (maximized or minimized) this function is called
    the objective function.
  • The optimization of the objective function is
    subject to linear inequality constraints either
    of the type "" or of the type .
  • The constraints also include nonnegativity
    restrictions on the variables.
  • In its most general form, a linear programming
    problem can contain both types of inequality
    constraints as well as equality constraints.
    Moreover, the variables need not be constrained
    to be nonnegative

10
General Form of the LP
11
Notes
  • In solving an LP, the constraints (except the
    nonnegativity of the variables), are transformed
    into equalities.

12
Note
  • Since max f(x) -min (-f(x)), then any
    maximization problem may be replaced by a
    minimization problem by changing "Max f(x)"to
    "Min f(x)". Similarly, a minimization problem
    may be replaced by a maximization problem by
    changing "Min f(x)" to "Max f(x)".

13
Standard Form of the LP
14
Definitions
  • Feasible solution - a vector x which satisfies
    the constraints of an LP. The set of feasible
    solutions is called the feasible set or feasible
    region. The value of the objective function at a
    feasible solution x is denoted by VOF(x).
  • Optimal Solution. A feasible solution that makes
    the value of the objective function an optimum
    (maximum or minimum) is called an optimal
    solution (maximizer, minimizer).

15
No feasible solution
16
No optimal solution
Feasible region is unbounded
17
Assumptions of the LP
  • The system Ax b has a solution. (The case where
    there is no solution is of no interest).
  • The system Ax b is non-redundant, i.e., no row
    of Ab is a linear combination of the others
    hence, the row vectors of Ab are linearly
    independent. This is equivalent to the condition
    that rank(Ab) m. Hence, rank(A) m. This
    implies that m lt n since the rank of a matrix
    cannot exceed the number of columns.
  • The system Ax b has more than one solution.
    This implies
  • m lt n. For, if m n, then A is an n x n matrix
    and, by assumption rank(A) n, i.e, A is
    nonsingular which would imply that the equation
    Ax b has a unique solution.
  • The system Ax b has an infinite number of
    solutions. For, if x and y are two distinct
    solutions, then ax (1 - a)y is also a solution
    for all a such that 0 lt a lt 1.

18
Graphical Solution
19
(No Transcript)
20
Optimal Allocation of Resources
21
Simplex method overview
  • An optimal solution may occur only on the
    boundary of the feasible region. For if x1 is an
    interior point of the feasible region, then the
    profit line through x1 can be moved to another
    feasible point x2 with a higher profit, showing
    that x1 cannot be optimal.

22
Simplex method overview
  • An optimal solution can be a corner of the
    feasible set, or a noncorner point of the
    boundary
  • Theorem. If an LP has an optimal solution, then
    it has an optimal solution that is a corner
    (extreme point, vertex) of the feasible set.

23
  • Profit lines are parallel to the boundary AB.
    Optimal solutions coincide with AB
  • All points are optimal, including endpoints which
    are corners of a feasible set.
  • Important whenever an optimal solution exists,
    there is always one that is a corner of a
    feasible set.

Theorem. If an LP has an optimal solution, then
it has an optimal solution that is a corner
(extreme point, vertex) of the feasible set.
24
Simplex method overview
  • The Theorem suggests that searching for an
    optimal solution need not include all feasible
    solutions. The search can be confined only to the
    corners of the feasible set.

25
Simplex method overview
  • The Theorem suggests that searching for an
    optimal solution need not include all feasible
    solutions. The search can be confined only to the
    corners of the feasible set.
  • Enumerating all the corners of the feasible set
    to obtain the optimal solution is not a very
    practical method since many linear programming
    problems could have millions of corners.
  • The Simplex Algorithm is a systematic procedure
    to find the optimal solution.
Write a Comment
User Comments (0)
About PowerShow.com