Академический Документы
Профессиональный Документы
Культура Документы
Associate Professor
Department of Mechanical Engineering Amrita School of Engineering Amrita Vishwa Vidyapeetham
Coimbatore - 641112
spanbu@yahoo.com
1
Optimization Problem
A computational problem in which the object is to find the best of all possible solutions (i.e. find a solution in the feasible region which has the minimum or maximum value of the
objective function.)
Decision Problem
A problem with a yes or no answer.
2
Objective Function
some function of decision variables
, , ,
) constraints
Search Space
Types of Solutions
specifies the values of the decision variables, and therefore also the
value of the objective function
A feasible solution
An optimal solution
A near-optimal solution
Continuous vs Combinatorial
Constraints
Example: In our course schedule a hard constraint is that no classes overlap a soft constraint is that no class be before 10 AM
Objectives Single or
Multiple
Degree of constraints
number of constraints
difficulty of satisfying constraints proportion of feasible solutions to search space
Deterministic
Stochastic
variables)
Decomposition
decomposite a problem into series problems, and then solve them independently
Relaxation
Models
The essence of Operations Research lies in the
cijxij
i,
j, i, j.
10
Transportation Model !
min s.t.
j i i j
cijxij
i,
j, i, j.
Chennai 21 35 55 43 200,000
PLANT Bearings Madurai Cochin Coimbatore Available 50 40 35 275,000 30 22 42 400,000 20 25 70 300,000 25 37 58 500,000 600,000 225,000 350,000
12
Modeling become
What is P
Reasonable Time
What is NP
What is NP Complete
Minesweeper
TSP
What is NP-Hard
Allocation Problem
5 Patient 1 4 Hospital 1
Patient 2
Hospital 2
NP
NPHard
P NP Complete
18
NP-complete
&
NP-hard We need.
19
Heuristics
and
Metaheuristics
20
21
Heuristics
Heuristics
Examples
FIFO
LIFO
earliest due date first largest processing time first shortest distance first, etc.
22
Heuristics
Cutting/Packing
23
Packing Problem
How it works (Packing stage)
Gap
1
Gap
Gap
Gap
3 1 X
Gap
Gap 2
3 1
4 2
3 3 1
X X
Towers are boxes with large height dimensions and lower width
How it works
Gap
9 12
10 6 11 4 7
832
How it works
9 12
10 6 11 4 7
832
How it works
9 12
10 6 11 4 7
832
How it works
9 12
10 6 11 4 7
832
How it works
new height
1
9 12
10 6 11 4 7
832
(50 pieces)
12000000000000
Thats quite a lot really. If a computer could evaluate 1000 orderings per second itd still take approximately:
964424568801159882154128873860501295166718720476931 506 years! (and thats without being allowed to rotate the pieces)
43
Depot
44
Combinatorial Explosion
45
Combinatorial Explosion
Cities Routes 1 1 2 1 3 3 4 12 5 60 6 360 7 2520 8 20160 9 181440 10 1814400 11 19958400
46
Combinatorial Explosion
A 10 city TSP has 181,000 possible solutions
49
50
51
2 3
Depot
OVERLOAD
OK !
Depot
OVERLOAD
Depot
OK !
Depot
56
Wikipedia says
A metaheuristic is a heuristic method for solving a very general class of computational problems by combining user given black-box procedures usually
57
Meta-heuristics
Genetic algorithms
Simulated Annealing Ant Colony Optimisation Particle Swarm Optimisation Tabu Search Hill Climbing / Greedy search
many more
58
Local Minima
Global Minima
Rastrigins Function
Global minimum at ( 0, 0 )
61