+ All Categories
Home > Documents > LINEAR PROGRAMMING PROBLEM Definition and Examples.

LINEAR PROGRAMMING PROBLEM Definition and Examples.

Date post: 22-Dec-2015
Category:
Upload: robert-cook
View: 234 times
Download: 0 times
Share this document with a friend
Popular Tags:
34
LINEAR PROGRAMMING PROBLEM Definition and Examples
Transcript
Page 1: LINEAR PROGRAMMING PROBLEM Definition and Examples.

LINEAR PROGRAMMING PROBLEMDefinition and Examples

Page 2: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Linear ProgramDecision Variables

Objective Function

Constraints

Page 3: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Linear Program (General Form)Objective Function

Constraints

Page 4: LINEAR PROGRAMMING PROBLEM Definition and Examples.

The Linear Programming Model• Standard form

Page 5: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Linear Programming Problem

(6,11)

(6,3)

(3,11)

(3,0)(0,0)

(0,2)

Not drawn to scale

x1+2 x2 = 0

x1+2 x2 = 35x1+2 x2 = 28

Solution: x1 = 6, x2 = 11Optimal Objective Value: 28

Page 6: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Overview• Solving a Linear Program.• Visualizing Linear Programs.• What does solving a Linear Program mean?

• Algorithms for Linear Programming.• Simplex.• Ellipsoidal Methods.• Interior Point Methods.

Page 7: LINEAR PROGRAMMING PROBLEM Definition and Examples.

VISUALIZING LINEAR PROGRAMS

Page 8: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Linear Program (General Form)Objective Function

Constraints

Page 9: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Feasible Region

Feasible Region: Polyhedron(n dimensional)

Page 10: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Optimization

Page 11: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Optimization• Will the optimal solution always be at a vertex? • Prove it.

Page 12: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Solving Linear Programs

• Outcome #1: Optimal Solution(s) exists.

• Outcome #2: Objective Function is unbounded.

• Outcome #3: Feasible Region is empty.

Page 13: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Unbounded Problem (Example)

y

x

Feasible Region

Page 14: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Infeasible Problem• Issue: Constraints contradict each other.

Page 15: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Solving Linear Programs1. Find which of the three cases are applicable.• Infeasible?• Unbounded?• Feasible + Bounded = Optimal?

2. If Optimal, find optimal solution.• Note multiple optimal solutions possible.

Page 16: LINEAR PROGRAMMING PROBLEM Definition and Examples.

LINEAR PROGRAMMING ALGORITHMS

Page 17: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Linear Programming• Solving systems of Linear Inequalities.• Early work by Fourier (Fourier-Motzkin Elimination Algorithm).• In symbolic logic, this is called “Linear Arithmetic”.

• World War II: Optimal allocation of resources.• Advent of electronic/mechanical calculating machines.• L.V. Kantorovich in USSR (1940) and G.B. Dantzig et al. in the USA

(1947).

Page 18: LINEAR PROGRAMMING PROBLEM Definition and Examples.

SIMPLEX• Simplex: algorithm for solving LPs.

• First Published by George B. Dantzig

• Prof. Dantzig contributed numerous seminal ideas to this field.

G.B Dantzig: Maximization of a linear function of variables subject to linear inequalities, 1947. Photo credit:

Stanford University

Page 19: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Visualizing the Simplex Algorithm

(6,11)

(6,3)

(3,11)

(3,0)(0,0)

(0,2)

Not drawn to scale

Solution: x1 = 6, x2 = 11pt. Objective Value: 28

Page 20: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Linear Programming Theory• Duality: John Von Neumann• Early work by Lagrange.• Connections to game theory.

• Generalized to Karush-Kuhn-Tucker Conditions.

• Complexity of Simplex: • Exponential time in the worst case (Klee + Minty).• Polynomial time in the “average case”.• Much remains to be understood.

Page 21: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Polynomial Time Algorithms• Leonid Khachiyan’s ellipsoidal algorithm [Kachiyan’1980]• First polynomial time algorithm.

• Interior Point Methods• Ideas go back to Isaac Newton (Newton-Raphson).• First algorithms for Linear Programs by Narendra Karmarkar

[Karmarkar’1984]• Interior point methods are useful for non-linear programming (Cf.

Nocedal + Wright textbook).

Page 22: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Applications of Linear Programming Theory• Too numerous to list exhaustively…

• Major application areas:• Operations Research.• Optimal allocation of resources.• Decision making.

• Computer Science • Algorithms, Machine Learning, Automated Reasoning, Robotics.

• Engineering • Control Theory

Page 23: LINEAR PROGRAMMING PROBLEM Definition and Examples.

INTEGER LINEAR PROGRAMMINGReal vs. Integer Variables

Page 24: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Feasible Region

Feasible Region: Polyhedron(n dimensional)

Page 25: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Linear vs. Integer Linear Programs

Page 26: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Integer Linear Programming

Feasible Region: Z-Polyhedron(n dimensional)

Page 27: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Linear vs. Integer Linear Programs (Complexity)

Polynomial TimeLinear

Programming (Reals)

Linear Programming(Integers)

NondeterministicPolynomial Time(NP)

Million Dollar Question: Can Integer Linear Programs be solved in polynomial time?

( P =?= NP)

Page 28: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Example #1

(6,11)

(6,3)

(3,11)

(3,0)(0,0)

(0,2)

Not drawn to scale

Solution: x1 = 6, x2 = 11 Objective Value: 28

Page 29: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Example #2

Page 30: LINEAR PROGRAMMING PROBLEM Definition and Examples.

LINEAR PROGRAMMINGFormulating a Linear Program

Page 31: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Example (H&L)• Example 1: Design of radiation therapy for cancer treatment• Goal: select best combination of beams and their intensities to

generate best possible dose distribution• Dose is measured in kilorads

31

Page 32: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Example 1: Radiation Therapy Design32

Page 33: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Example 1: Radiation Therapy Design• Linear programming model• Using data from Table 3.7

33

Page 34: LINEAR PROGRAMMING PROBLEM Definition and Examples.

Example 1: Radiation Therapy Design• A type of cost-benefit

tradeoff problem

34


Recommended