Linear Programming (Optimization)

Download Report

Transcript Linear Programming (Optimization)

Operations Research - 1
Spring 2011
OR-1 2011
 Instructor: Sungsoo Park ([email protected]), Building E2-2, room
4112, Tel: 3121
Office hour: Mon, Wed, 14:00 – 17:00 or by appointment
 TA: Dokyung Hyun ([email protected]), Office hour: Mon, Wed,
15:00 – 17:00 or by appointment
Kiho Seo ([email protected]), Office hour: Tu, Thr, 15:00 –
17:00 or by appointment
Building E2-2, room 4114, Tel: 3161
 Homepage: http://solab.kaist.ac.kr/
 Text: “Linear Programming”, Vasek Chvatal, Freeman, 1983 and class
handouts
OR-1 2011
2
 Grading: Midterm 30 - 40%, Final 40 - 50%, Homework 10 - 20%
(Including computer assignments, CPLEX/Xpress-MP)
 Class codes
No copying of homeworks. You may consult with others, but writing should
be your own. Copying will be severely penalized.
No passing grade for 5 or more class missing. Random check of
attendance.
OR-1 2011
3
Origins of OR
 Contributions of scientists and engineers during world war II.
Battle of Britain (radar site selection and control), Submarine warfare,
Design of B-29, ..
 Battle of Britain: integration of radar(hardware) and warning and
control system. Addition of radar sites causes problems.
(the name operational research (research in (military) operations)
 Maintenance of aircraft: For 350 flying hours, need 7 minor
inspections( 2-5 days each) and a major inspection (14 days). Each
aircraft had a devoted aircrew and a ground crew
 change to central garage system.
: Flying hour increased by 61% over previous best record.
OR-1 2011
4
 Submarine warfare:
Used patrol airplanes to detect surfaced U-boats and attack.
Needed 170 man-hours by maintenance and ground staff to produce
one hour of operational flying.
More than 200 hours of flying to produce one attack on a surfaced Uboat. (34,000 man-hours for an attack)
In 1941, attack kill probability was 2% - 3%
 1.1M  1.7M man-hours needed to destroy one U-boat. (needed
improvements)
 Important decision variables:
1.
2.
3.
4.
5.
6.
Depth (time) setting for depth charge explosion (30/45m -> 8m)
Lethal radius (Use large or small bombs?)
Aiming errors in dropping the stick (aim ahead?)
Orientation of the stick with respect to the U-boat. (along U-boat track)
Spacing between successive depth charges in the stick (12m -> 33m)
Low level bombsights
OR-1 2011
5
 Overall effect: By 1945, the attack kill probability had risen to over
40%.
OR-1 2011
6
 After the war, methodologies used by the scientists adopted by
government, industry.
Called Operations Research (US), Operational Research(UK, Europe) (운용
과학), Management Science (경영과학)
 Characteristics: Use of mathematical models to solve decision problems
arising in management of industry, government, military, ….
E=mC2, F=ma, …
OR-1 2011
7
Nature of OR
 “research on operations”
Applied mathematics + computer science + management
 Models : Deterministic models (확정적 모형, OR-I)
Stochastic models (확률적 모형, OR-II)
 Needed background: Algebra, calculus, discrete mathematics,
probability, statistics, data structure, algorithm, data base, programming
skills, …)
 Important thrusts in early stages
1. Technical progress (Simplex method for linear programming, Dantzig,
1947)
2. Invention of computer and PC
OR-1 2011
8
Study areas
 Deterministic models
Linear programming(선형계획법, linear optimization):1975, Nobel prize,
Kantorovich, Koopmans (efficient allocation of resources)
min x1  2 x2
3x1  2 x2  10
x1  2 x2  3
x1  0, x2  0
Nonlinear programming(비선형계획법):1990 Nobel prize, Markowitz
(portfolio selection)
max x1x2 x3
2 x1x2  2 x2 x3  2 x1x3  a
x1  0, x2  0, x3  0
OR-1 2011
9
Integer Programming(정수계획법), Combinatorial optimization (조합최적화)
• Knapsack problem
max x1  2 x2  5x3  3x4
2 x1  6 x2  3x3  2 x4  6
xi {0,1} for all i
• Traveling Salesman Problem (외판원문제)
Given n cities, and distances cij between city i and j. What is the shortest
sequence to visit each city exactly once and return to the starting city?
( Applications: PCB assembly, Off-shore drilling, vehicle routing
(delivery/pick-up problem), bio, …)
web site: http://www.tsp.gatech.edu/
OR-1 2011
10
Networks and graphs
Inchon
Seoul
Kangnung
Daejeon
Daegu
Kwangju
Pusan
• Shortest path to move from Inchon to Kangnung? (Shortest path
problem)
– Logistics, Telecommunication routing, …
• Connect the cities with roads (or communication lines) in a cheapest
way. (Minimum spanning tree problem)
• How much commodities (or packets) can we send from Kwangju to
Daegu if edges have limited capacities? (maximum flow problem)
OR-1 2011
11
Dynamic programming
• If a system changes in time and the status of the system in the next
period depends on the current status and decisions made, what is the
best decision in each stage to optimize our goal in the end?
• Not the formalized problems, but refer the structured steps used to
solve problems involving many stages.
Game theory
• Investigate the best strategy when the outcome of cooperation and/or
competition between people or groups depends on the collective
decisions made by individual person/group.
• Economics, Marketing (1994, Nobel prize, Nash, Harsanyi, Selten)
OR-1 2011
12
 Computational complexity: Theory that investigate the inherent difficulty of
problems. Turing machine model of computation.
NP-completeness.
• NP-complete (NP-hard) problems: Knapsack problem, Traveling salesman
problem, …
• Easily solvable problems: shortest path problem, minimum spanning tree
problem, …
– Problems for which polynomial running time algorithms exist.
• A little bit of changes in the problem structure may make the problem hard.
– Minimum spanning tree problem vs. Steiner tree problem
• Useful tool when we try to solve some new problems.
 Note that the basic models may appear as subproblems in a big problem. Also
the models may be hidden in the real problem in some unexpected way.
Identifying the hidden model may be crucial.
OR-1 2011
13
 Stochastic models (OR-II)
Markov chain
Queueing theory
Decision analysis
Simulation
Reliability
OR-1 2011
14