Introduction to Optimization
Introduction to Optimization
Optimization
Dr. Manjubala Bisi
Optimization
• The action of making the best or most effective use of a situation or
resource
• Finding an alternative with the most cost effective or highest
achievable performance under the given constraints by maximizing
desired factors and minimizing undesired ones
• Used for decision making
• Decision making always involves making a choice between various
possible alternatives
Category in decision making
problems
• Category 1 :
The set of possible alternatives for the decision is a finite discrete set
typically consisting of a small number of elements. (scoring/ranking
method)
Category in decision making
problems
• Category 2 :
The number of possible alternatives are either infinite, or finite but
very large and the decision may be required to satisfy some
restrictions and constraints
(Unconstrained and constrained optimization methods)
Solution for Category 2 :
Step 1:
Get a precise definition of the problem, all relevant
data and information on it (Variables)
Step 2:
Construct a mathematical (optimization) model of the
problem (Build objective functions and constraints)
Step 3:
Solve the model (Apply the most appropriate algorithm)
Optimization and Its Components
• Selection of the best choice (based on some criteria) from a set of
alternatives
• Decision variable
• Objective function (Relation of decision variables)
• Constraints (Restrictions on the decision variables)
• Helps in classification problem
Decision variables
• Formulation of optimization problem begins with identifying the
decision variables
• Relates objective function and constraints
• Can be continuous, semi-continuous, discrete or set
• Can be bounded or unbounded
Objective function
• Criteria with respect to which the decision variables are to be
optimized
• Every solution in variable space is mapped to objective
• Can be continuous or semi continuous
• Maximization problem to a minimization problem
• Can be bounded or unbounded
• Absence of objective function (In presence of constraints) leads to a
feasibility problem (Map coloring problem)
Constraints
• Inequality (usually resource constraints) (convert one form to
another)
• Equality constraints
• Feasible solution (Satisfy all constraints)
• Infeasible solution (Not satisfy at least one constraint)
• Hard constraints (Must be satisfied in order to accept a solution)
• Soft constraints (Allowed to relax to some extent to accept a solution)
Bounded and Unbounded problem
• Redundant constraints help to reduce feasible region
• Non-redundant constraints not able to reduce feasible region
Feasible problem and Infeasible
problem
Contour Plot
• It shows how the objective function behaves in the search space
• Lines having identical objective function value
Realization
• Two or more solutions with same objective function value
Monotonic and Convex Functions
• Monotonic: functions are continuously increasing / decreasing
• Convex function: The line segment between any two points on the
graph of a function lies above the graph
Unimodal and Multimodal function
• Unimodal function: For some value of m, if the function is
monotonically increasing for x<=m and monotonically decreases for
x>=m
• Maximum value of f(x) is f(m)
• No other local maxima
• Multimodal function: Function has multiple global and local optima
• Most real life optimization problem are multimodal
Optimality
Iteration t =1
no
t = t+1 T <= T stop
yes