Download presentation

Presentation is loading. Please wait.

Published byLena Stoneham Modified over 2 years ago

1
Optimization Spring 2015

2
Practical information Lecturers: Kristoffer Arnsfelt Hansen and Peter Bro Miltersen. Homepage: → bb.au.dk Exam: Written, 3 hours. Compulsary program: 3 assignments. You can transfer credit from earlier years - see course page. The solution to the compulsory assignments should be handed in at a specific tutorial and given to the instructor in person. Text: Robert J. Vanderbei: Linear Programming – Foundations and Extensions.

3
Blackboard intermezzo You need to ”self-enroll” to your correct class! To switch classes: find another student willing to switch and then inform the respective TA’s.

4
Compulsary assignments To pass the compulsary program and take the exam you must: Hand in all 3 assignments on time and have them approved by your TA. Start early!

5
Linear Programming In a sentence: Optimizing a linear function subject to linear inequalities. We will see today: How to model problems using linear programming. How to solve linear programs (Dantzig’s simplex algorithm).

6
Example: Diet Problem Serving Size Energy (kcal) Protein (g) Calcium (mg) Price per serving (cents) Oatmeal28 g110423 Chicken100 g205321224 Eggs2 large160135413 Whole Milk237 cc16082859 Cherry Pie170 g42042220 Pork with Beans260 g260148019 Necessary daily intake: Energy 2000 kcal, Protein 55 g, Calcium 800 mg Compose a diet minimizing price and fulfilling necessary daily intake.

7
(August 2014)

8
Example: Diet Problem Serving Size Energy (kcal) Protein (g) Calcium (mg) Price per serving (cents) Oatmeal28 g110423 Chicken100 g205321224 Eggs2 large160135413 Whole Milk237 cc16082859 Cherry Pie170 g42042220 Pork with Beans260 g260148019 Necessary daily intake: Energy 2000 kcal, Protein 55 g, Calcium 800 mg Compose a diet minimizing price and fulfilling necessary daily intake.

9
LP formulation Minimize: Subject to:

10
LP modelling steps

11
A little history of linear programming Roots in work on linear inequalities of J. Fourier. L. V. Kantorovitch invents LP in USSR 1939 for optimizing production while working for the Soviet government. G. Dantzig invents the simplex method in 1947 for solving LP problems, working for U.S. Air Force, solving planning problems. T.C. Koopmans applies LP to classical economics same year after meeting with Dantzig.

12
Nobel prize 1975 The Sveriges Riksbank Prize in Economic Sciences in Memory of Alfred Nobel 1975 was awarded jointly to Leonid Vitaliyevich Kantorovich and Tjalling C. Koopmans “for their contributions to the theory of optimum allocation of resources“. Many were surprised that Dantzig was omitted. Koopmans proposed to Kantorovich to decline the prize, but was pursuaded not to do this.

13
Abstract example

14
View of production manager

15
LP formulation

16
LP formulation – matrix form Maximize Subject to

17
View of liquidator

18
LP formulation

19
LP formulation – matrix form Minimize Subject to Next week: The two LP formulations are intimately related (duals).

20
The LP problem

21
LP terminology An assignment to the decision variables is called a solution. A solution that satisfies all linear inequalities and linear equations is called feasible. A feasible solution that attains the desired minimum or maximum is called optimal.

22
Linear Programs, Geometric View

23
23

26
The set of feasible solutions F is a convex Polyhedron. F

27
F

28
F

29
Linear Programs, Geometric view

30
Beware of the intuition…

31
Linear Programs in Standard Form

32
Exceptions: If no feasible solution exist, report “Infeasible”. If arbitrarily good feasible solutions exist, report “Unbounded”.

33
Transforming general Linear programs to standard form.

40
The Simplex algorithm (geometric sketch)

41
Whiteboard intermezzo

42
Equivalent system

43
Dictionaries

45
Initialization: First dictionary

46
Improvement: Pivoting Find entering variable: Pick variable with positive coefficient in objective function. Find leaving variable: Pick variable from basis to preserve nonnegativity of basic variables. Rewrite equation of leaving variable in terms of entering variable. Substitute for entering variable in dictionary.

47
Special case If entering variable has nonnegative coefficient in all equations, report Unbounded.

48
One phase Simplex method

49
Analysis: Partial correctness

Similar presentations

Presentation is loading. Please wait....

OK

The application of mathematics and the scientific

The application of mathematics and the scientific

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on natural and artificial satellites distance Ppt on zener diodes View ppt on android Ppt on obesity diet chart Ppt on history of olympics in greece Ppt on sexual reproduction in plants for class 7 Ppt on ready to serve beverages direct Ppt on online hotel management system Ppt on hindu religion map Ppt on satellite orbiting