• Aucun résultat trouvé

Hybridation

N/A
N/A
Protected

Academic year: 2022

Partager "Hybridation"

Copied!
23
0
0

Texte intégral

(1)

Algorithmes Évolutionnaires (M2 MIAGE IA²)

Andrea G. B. Tettamanzi

Laboratoire I3S – Équipe SPARKS

andrea.tettamanzi@univ-cotedazur.fr

(2)

Séance 5

Hybridation

(3)

Hybridization

2) Use local optimization algorithms as genetic operators (Lamarckian mutation)

1) Seed the population with solutions provided by some heuristics heuristics initial population

3) Encode parameters of a heuristics

genotype heuristics candidate solution

(4)

Seeding the Initial Population

Given an available heuristics for the problem

Two cases:

– heuristics gives one solution

– heuristics gives different solution when

restarted

(5)

Case 1: One Solution

Insert solution in the initial population

Fill the population with

– random solutions (not a good idea)

– exact copies of solution (not so good)

– perturbations of solution (ok)

– perturbations of solution and random

solutions (ok)

(6)

Case 2: Many Solutions

Run the heuristics as many times as

needed to fill the initial population

(7)

Discussion

Win-win situation

Results cannot be worse than the available heuristics

Often they will be much better

Use exploration capabilities of EAs

(8)

Using Local Search Algorithms

heuristics

x

x*

candidate solution

improved solution local optimization

algorithm

(9)

Using Local Search Algorithms

Examples:

– gradient descent methods

– quasi-Newton methods (e.g., BFGS, Conjugate Gradient)

– simulated annealing (with a limit on the number of moves)

– etc.

(10)

“Memetic” Algorithms

Combination of local search and standard Eas

“Meme” is a cultural gene

Use an improvement operator, based on local search methods

Use standard blind mutation as well

(11)

Memetic Algorithms Pseudocode

MA() {

Initialize(parents);

while(gen <= MAX_GENERATIONS) { Evaluate(parents);

LocalSearch(parents);

mating_pool = Selection(parents);

offspring = Crossover(mating_pool);

Mutation(offspring);

parents = Replacement(offspring, mating_pool);

gen = gen + 1;

} }

(12)

Sample Local Search Algorithm

moves = 0;

while(moves<MV) {

old = ind;

Mutate(ind); moves++;

 = Fitness(old) - Fitness(ind);

if( > 0) // decline of solution quality

if(Random(0, 1) > e-k/T

) { // with probability 1 - e

-k/T

ind = old; // reject worse solution

return;

(13)

Discussion

Local search  new genetic operator

No parallel in the natural genetic metaphor

Attractive parallel in the cultural metaphor:

“memes”

Lamarckian mutation

(14)

Heuristics as Decoders

Basic assumption: parameterized heuristics

Indirect representation:

– encode heuristics parameters

– the heuristics constructs the

(15)

Sample Application: Unit Commitment

Multiobjective optimization problem: cost VS emission

Many linear and non-linear constraints

Traditionally approached with dynamic programming

Hybrid evolutionary/knowledge-based approach

A flexible decision support system for planners

Solution time increases linearly with the problem

size

(16)

The Unit Commitment Problem

C P

i

( )

i

a b P c P

i

i i

i i2

 

z C P

i i

SU

i

SD HS

i i

i n

$

 ( )   

1

zE E Pi i

i n

( )

1

E P( )   P   P2

E P

i i

E P

ij i

j m

( )  ( )

1

(17)

Predicted Load Curve

0 5 10 15 20 25 30 35 40 45

Spinning Reserve Load

(18)

Unit Commitment: Constraints

Power balance requirement

Spinning reserve requirement

Unit maximum and minimum output limits

Unit minimum up and down times

Power rate limits

Unit initial conditions

Unit status restrictions

(19)

Unit Commitment: Encoding

Unit 1 Unit 2 Unit 3 Unit 4 Time

1.0 00:00

01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 1.0

1.0

1.0 1.0

1.0 1.0

1.0 1.0 1.0

1.0 1.0 1.0

0.9

0.8

0.8

0.8 0.8

0.4 0.8

0.8

0.75 0.8 0.2

0.2

0.25 0.2

0.2 0.15

0.0 0.0

0.0 0.0

0.0 0.0

0.5 0.65

0.5 0.5

1.0

Fuzzy Knowledge

Base

(20)

Unit Commitment: Solution

Unit 1 Unit 2 Unit 3 Unit 4 Time 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00

down

hot-stand-by starting

shutting down up

(21)

Unit Commitment: Selection

cost ($)

emission

$507,762 $516,511

213,489 £ 60,080 £

competitive selection:

(22)

Unit Commitment References

D. Srinivasan, A. Tettamanzi. “An Integrated Framework for Devising Optimum Generation Schedules”. In Proceedings of the 1995 IEEE International Conference on Evolutionary Computing (ICEC ‘95), vol.

1, pp. 1-4.

D. Srinivasan, A. Tettamanzi. A Heuristic-Guided Evolutionary

Approach to Multiobjective Generation Scheduling. IEE Proceedings Part C - Generation, Transmission, and Distribution, 143(6):553-559, November 1996.

D. Srinivasan, A. Tettamanzi. An Evolutionary Algorithm for Evaluation of Emission Compliance Options in View of the Clean Air Act

Amendments. IEEE Transactions on Power Systems, 12(1):336-341,

(23)

Références

Documents relatifs

Firstly, we present the human centered approach to Robotics and, secondly, the collection of data from humans that mimic Robots in the sense that they would have

At the end, the best cuckoo is returned, which has the smallest or largest value of fitness function in the entire population (depending on the optimization problem being

1a, the average execution time taken for the test queries using QSQ and MS against the average time taken for estimating the indicators using different values for the depth..

For STS evaluation, it becomes ob- vious that taking the area of usability into account adds new aspects which are on a more concrete level than those in the context of

However, contrary to what is typically assumed in the psycho- logical literature, this account maintains that heuristics gen- erally don’t operate over representational content,

In the framework of least-squares fixed-design regression with projection estimators and Gaussian noise, Theorem 1 validates the slope heuristics in a stronger sense compared

In analogy, if we regard checking whether an instance is useful for a proof as run-time checks and we can find types that eliminate irrelevant instances, we may also be able to

[r]