• Aucun résultat trouvé

Gestion des contraintes

N/A
N/A
Protected

Academic year: 2022

Partager "Gestion des contraintes"

Copied!
19
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

Gestion des contraintes

(3)

Handling Constraints

Three commonly used techniques:

Penalty functions

Decoders/repair algorithms

Appropriate data structures and specialized genetic operators

(4)

Penalty Functions

Basic idea: turn constraints into optimization criteria

(5)

Penalty Functions

S c

P

f ( ) Eval( ( ))  c z P z( ) P z( ) w t( )

wii ( )z

(6)

Penalty Functions

Basic idea: turn constraints into optimization criteria

Caution:

Risk of spending most of the time evaluating unfeasible solutions, sticking with the first

feasible solution found, or finding an unfeasible solution that scores better than feasible

solutions

(7)

Example: Transport Problem

Given:

Set of n “factories”

Set of m “customers”

Cost of transporting one unit from each factory to each customer

Minimize the cost of transport

Constraints:

every customer should receive the amount ordered

(8)

Killer Solution for Transport Problem

Do not deliver anything to any customer

Total transport cost: 0

Excellent performance at the cost of some constraint violations

(9)

Discussion of Penalty Functions

Very general

Easy to apply

Requires a grain of salt

Not always efficient

(10)

Decoders or Repair Algorithms

Computationally intensive

Tailored to the particular problem/application

(11)

Decoders or Repair Algorithms

Basic idea:

– genetic operators can produce infeasible solution

– infeasible solutions are “repaired”

Two general approaches:

– decoders

(12)

Decoders / Repair Algorithms

S c

recombination

mutation

(13)

Common Assumption

Algorithm available which is capable of transforming an infeasible solution into a feasible one

Complexity of the algorithm is lower-order

(14)

Decoders

Infeasible solutions are kept in the population

They are regarded as genotypes

Genetic operators do not care about constraints

Genotypes are “decoded” into feasible solutions

(15)

Repair Algorithms

Feasible solutions only can be part of the population

After a genetic operator is applied, algorithm “repairs” the offspring

Infeasible traits never get inherited

(16)

Discussion of Decoders, Repair Algorithms

Very interesting in principle

Not much used in practice

Main issue: for many hard problems,

repairing an infeasible solution is almost as hard as solving the problem

(17)

Specialized Data Structures and Operators

All possible genotypes encode for feasible solutions

No time at all is spent processing infeasible solutions

Ideal state of affairs

(18)

Requirements

All feasible solutions can be represented

No infeasible solution can be represented, or…

Genetic operators preserve feasibility

Population is seeded with feasible solutions

(19)

Références

Documents relatifs

The principle of the approach is based on a new theorem that made it possible to compute recursively the set of all state vectors that are consistent with some bounded errors and

We have presented a compatibility condition, which has been applied to the particular case of orthographic projections with viewing directions parallel to a plane. For this case,

The capable machine tools and their specific adapted CAM data are simulated on a virtual machine tool model to ensure an error free run.. If the simu- lation fails due to collisions

To find out which approach should be followed, temperature parameter was picked, and scatterplots of the observations and modelled data are produced, as well as distribution

1, nous comparons, pour différentes contraintes de cadence (1 Mhz et 2 Mhz), la complexité des unités de traitement, en nombre de cellules logiques (synthèses d'architecture

The DBpedia SPARQL Benchmark (DBPSB) [6] addresses a portion of these drawbacks partly by evaluating the performance of triple stores based on real DBpedia query logs.. The

Both are mediated by speci fi c growth-stimulating molecules, such as the vascular endothelial growth factor (VEGF) and adrenomedullin (AM), secreted by diverse cell types which

[r]