# Optimization Spring 2015. Practical information Lecturers: Kristoffer Arnsfelt Hansen and Peter Bro Miltersen. Homepage: → bb.au.dk Exam: Written, 3 hours.

## Presentation on theme: "Optimization Spring 2015. Practical information Lecturers: Kristoffer Arnsfelt Hansen and Peter Bro Miltersen. Homepage: → bb.au.dk Exam: Written, 3 hours."— Presentation transcript:

Optimization Spring 2015

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.

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.

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!

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).

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.

(August 2014)

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.

LP formulation Minimize: Subject to:

LP modelling steps

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.

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.

Abstract example

View of production manager

LP formulation

LP formulation – matrix form Maximize Subject to

View of liquidator

LP formulation

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

The LP problem

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.

Linear Programs, Geometric View

23

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

F

F

Linear Programs, Geometric view

Beware of the intuition…

Linear Programs in Standard Form

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

Transforming general Linear programs to standard form.

The Simplex algorithm (geometric sketch)

Whiteboard intermezzo

Equivalent system

Dictionaries

Initialization: First dictionary

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.

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

One phase Simplex method

Analysis: Partial correctness

Download ppt "Optimization Spring 2015. Practical information Lecturers: Kristoffer Arnsfelt Hansen and Peter Bro Miltersen. Homepage: → bb.au.dk Exam: Written, 3 hours."

Similar presentations