Computational Intelligence For Optimization

Computational Intelligence For
Optimization
Deepak Sharma
Research Fellow
Department of Electrical and Computer Engineering
National University of Singapore
Email: [email protected]
Overview of Talk
Genetic Algorithm for Designing






Introduction and Procedure of GA
Application in designing mechanism
Approach
Results and Discussion
Conclusions
M liA
Multi-Agent
Modeling
M d li for
f scheduling
h d li






2
Introduction of MAS and Thermal generation scheduling
Problem formulation
Approach
Results and Discussion
Conclusions
SIS@SMU
Borrowed from the lecture notes of
Dr Dipti Srinivasan @ NUS
3
SIS@SMU
Genetic Algorithm for Designing
Introduction







Computerized search and optimization technique
Based on Darwin’s principal of natural selection and genetics
inheritance
Works on the population
Does not require gradient information
Can avoid premature convergence to local optima
optima'ss
Suitable for complex problems


4
Example: Mixed variables, continuous or discontinuous search space,
non-linearity, multiple objectives etc.
However, requires more computation time than point-by-point
search methods
SIS@SMU
Procedure

Initialize
Population
Population Based Meta-Heuristic Algorithm











Initial random population of candidate
solutions
so
ut o s
Fitness evaluation of individuals, e.g., objective
and constraint violation calculations
Ranking: Assign rank to every individual in the
population based on fitness values
Selection: Survival of fittest by choosing good
solutions based on ranking
Elimination
Crossover: Create new individuals from the
selected parents
Mutation: Perturb the newly created individuals
Fitness evaluation of new population
Ranking of new population
Ranking
Elimination to propagate good individuals
Termination criterion
Report results
Fitness
evaluation
5
SIS@SMU
Fitness
evaluation of
individuals
Ranking
Termination
criterion
met?
Parent
Population
p
No
Yes
Selection
Terminate
Report
results
Crossover
Mutation
Child
Population
Application in Designing
Goal: To design a mechanism


Path ggeneratingg compliant
p
mechanism



Advantage over traditional mechanism





J
Joint-less
and monolithic structure
Less friction wear and noise
Light weight
Easy
asy to manufacture
a u actu e without
w t out assembly
asse b y
Applications


6
One piece flexible elastic mechanism that has
to generate user defined path
Identifyy the locations where
material has to be filled optimally
Micro-actuators
Micro switches
Micro-switches
SIS@SMU
Designing criterion in literature



Minimizing the gap between actual and user
defined paths (single or multi-objective)
multi objective)
Limitation: Without limiting the gap, actual
and prescribed paths can be apart from
each other
Motivation



Functionality of mechanism should be represented in terms of
constraints so that every feasible solution can be referred as path
generating compliant mechanism
Can solve the problem for optimal distribution of material in the
design domain
P
Proposed
d Approach
A
h


Objective:


7
Minimum weight
Constraints:
SIS@SMU
Characteristics of ggiven designing
g g problem
p
•Discrete search space
•Mixed-variables
•Non-linear
•C t i d optimization
•Constrained
ti i ti problem
bl
8
SIS@SMU
Multi Objectivization
Multi-Objectivization
Definition:


Provide solution to single
g objective
j
optimization
p
byy addingg helper
p
objective(s) and deal with the problem as multi-objective optimization
Advantages



Guide
G
id the
h searchh for
f evolutionary
l i
algorithms
l i h to avoid
id local
l l optima
i
Maintain the diversity in the population
Further Benefit


Multiple optimal solutions
Bi-Objectives:



9
Minimize weight of structure (Primary objective)
Minimize supplied input energy to structure (Secondary Objective)
SIS@SMU
Customized Genetic Algorithm

Structure
representation

Domain specific initial
population
10
SIS@SMU
Contd.

Chromosome



Shape
C diti
Conditions
Connectivity and repairing
techniques




To connect topology
Single point connectivity
Floating element
2D crossover operator

Finite element analysis


Parallel Computing


11
S
Stress
and
d deflection
d fl i analysis
l i
Master-Slave architecture
F reducing
For
d i th
the computation
t ti
time
SIS@SMU
Contd.

Local search: Post processing


Mutation and hill
hill-climbing
climbing
Weighted sum method to reduce the bi-objective problem into
single objective

12
Weights
SIS@SMU
Results and Discussion

Comparison



13
Customized Initialization of structure shapes
Random Initialization of structure shapes
However, rest of the customized GA is same for both cases
SIS@SMU
Contd.

Performance test



R indicator: Closeness to
R-indicator:
the reference Pareto-Optimal
front
H
Hypervolume-indicator:
l
i di
SSpread
d
and closeness
Path traced by solutions
14
SIS@SMU
Contd.

Shapes of structures
15
SIS@SMU
Contd.

Optimum conditions

Main Findings




Computation time



16
Formulation that can
guarantee feasible designs
Multiple solutions for
decision
ec s o making
a g
Optimum set of conditions
Better performance of
customized GA against
random initialization based
GA
Customized schemes able
to generate practically
feasible designs
P ll l customized
Parallel
t i d GA
SIS@SMU
Multi-Agent
Multi
Agent Modeling for Scheduling

Multi-Agent System (MAS)


Broadly classified approaches for exploiting MAS



Building flexible-robust-extensible system
Modeling the large and complex system
S
Some
benefits
b fi





System of flexible autonomous agents where these agents are loosely connected
and act in the environment to achieve their goals
Increase computation speed because of parallel computation and asynchronous
operations
Graceful degradation
g
of system
y
when one or more agents
g
fail
Scalability and flexibility of adding and removing agents
Reusability of agents
Critical challenges




17
Unstable
U
bl bbehavior
h i iin changing
h i environment
i
Converge to sub-optimal solution due to limited visibility
Action or decision taken by an agent may not be suitable for another agent
p
is when to
which can be reduced byy sharingg information. But the problem
communicate and to which agent
Difficult in debugging and testing parallel and distributed system
SIS@SMU
Day Ahead Thermal Generation Scheduling

In restructured power system

Generator companies (GENCOs) are independent and
autonomous




GENCO performs a day ahead scheduling task based on the
forecast data

18
These companies compete with each other for selling the power and
reserve in the power market to earn profit
Aim: To maximize their profit by generating desired amount of power
and reserve by optimally scheduling the thermal generators
I is important problem
It
bl
ffor GENCO while
h l bidding
b dd in power market
k
We assume that the forecast data is given
SIS@SMU
Contd.
Scheduling involves two decision making processes

ON/OFF status of every generator (Unit Commitment)





2000
1500
1000
500
0
0
4
8
12
16
20
24
Hours -->
Desired amount of power delivery (Economic Power Dispatch)

19
In peak load hours, more number of units
should be committed that can earn profit
I off-peak
In
ff
k lload
d hhours, appropriate
i t units
it
should be committed that can earn profit
Because of the physical constraints, any
generator
t can nott start
t t or shut-down,
h td
immediately.
Thus, optimal scheduling is required
Load Demand (MW)

Distribute the power generation among the committed generators
optimally in order to maximize the profit
SIS@SMU
Profit Maximization for a GENCO

Objective:
Maximize Profit = Revenue –
O
Operation
C
Cost
 Revenue: By selling power and
reserve to market


Power is sold at forecast spot price
GENCO can receive reserve price
per generator of reserve for every
hour that the reserve is allocated
but not used.
used


20
If used, then it is sold at spot price
Operation cost: Fuel cost of
committed generators and startup cost off these generators

Fuel Cost:

Start-up cost: If generator was OFF
previously and now committed
Power Spot price
On/Off
status
Probability of
reserve calling
SIS@SMU
Reserve
R
price
Reserve
Contd.

Constraints

System Constraints



Load demand at time t :
Reserve requirement at time t :
Unit Constraints

Power Generation Limits

Minimum Up/Down Time

21
Generator
G
t mustt bbe ON/OFF for
f
minimum number of hours
before shut-down or start-up
SIS@SMU
Characteristics of thermal generation scheduling
•High-dimensional
•Mixed-variable
•Non-linear
•Combinatorial
Combinatorial
•Constrained optimization problem
22
SIS@SMU
Existing Problem Solving Techniques
Priority List
1)


Give priority to generators and commit or de-commit them accordingly
Computationally
p
y efficient but based on heuristics that can lead to sub-optimal
p
solution
Dynamic Programming
2)


Solving complex problem by dividing it to sub-problems
Can find near optimal solution but mathematically complex and consumes more
computation time
Mathematical Techniques like Lagrange Relaxation (LR), Branch-and-Bound
method etc
3)


Efficient in solving large scale problem and also consumes less CPU time
Sensitive to parameters and susceptible to converge at sub-optimal solution
Stochastic Algorithms like Genetic Algorithm (GA), Particle Swarm Optimization
(PSO), Evolutionary Programming (EP) etc
4)

Can avoid premature convergence but computationally expensive
Hybrid Techniques like LR-EP, LR-GA, EP-Tabu Search etc
5)

23
Can obtain near optimal solution for large scale in reasonable computation time
SIS@SMU
Multi-Agent Modeling for Profit
Maximization

Multi-Agent system



Coordinating agent (CA)
Generator agents (GenAgents)
Architecture of Agents


Optimization
p
pproblem is decomposed
p
and functionalities are assigned
g
CA (Summation over time is decomposed)





24
Takes decision for committing GenAgents based on profit
Communicate and store data for GenAgents
Responsible to satisfy load demand and reserve constraints and also to keep track of
remaining demand and reserve
Asks GenAgents to check their minimum up and down time constraints
GenAgents (Summation over N is broken down by creating N agents)

Decide the desired amount of power and reserve to be sold and evaluates profit

Simplified constraints on load demand and reserve:

Checks minimum up and down time constraints and take action, if not satisfied
SIS@SMU
Communication and
Negotiation

Interaction: Steps 1-3


Competing Scenarios: Steps 4-7


Power sharing for committing other GenAgents which
increase the profit of system for remaining demand
Up and down time constraint satisfaction: Steps 13-15


CA commits maximum profit generating GenAgents
Cooperative scenario: Step 8-12


Share data with GenAgents and these agents evaluate their
po t
profit
GenAgents check these constraints when asked by CA
CA. If any
constraint is not satisfied, GenAgent assigned “must commit”
condition so that the profit of the system can further
increase
Termination: Steps 16-18


25
Current profit is same as last iteration profit from
committed GenAgents
Also, there is no GenAgent with “must commit” condition
SIS@SMU
Data

Forecast data
26

Generator data
SIS@SMU
Simulation Results and Discussion

Ten Generator System

27
Approach is referred as: TGMAM
SIS@SMU
Simulation Results for Large Systems

Compare with LR, GA and LRGA
28
SIS@SMU
Contd.

Working Behavior

Conclusions


Execution Time




Comparison

LR and TGMAM



With other MAS approaches


29
Problem decomposition
Rules vs iterations
Deterministic rules vs stochastic
approach
pp
New and efficient rules for
scheduling


Developed TGMAM for a
GENCO in deregulated power
market
Best profit solution for small to
large systems
Less computation time against
benchmark techniques
Efficient rules for exploring
many scenarios of profit
maximization
Parameter-less as opposed to
LR
C i t t against
Consistent
i t hheuristic
i ti or
stochastic algorithm like GA,
LRGA etc.
SIS@SMU
Concluding Remarks

Computational intelligence techniques were developed
for solving complex real world problems

Genetic Algorithm
g
was customized



Generated improved topologies of mechanism
Provided better decision making via multiple solutions
Multi-agent model was developed for a generator
company in
i restructured
d power system


30
Obtained best profit solutions
Substantially smaller computation time
SIS@SMU
Thank you for your kind attention!
Happy to answer queries 