Docsity

Multi-Objective Optimization-Computer Sciences Applications-Project Report, Study Guides, Projects, Research of Applications of Computer Sciences

Toggle sidebar
bg1
Multi-Objective Optimization using Evolutionary Computation
1
Chapter 1
1 Introduction
Objective is to design a user friendly toolbox for multi-objective optimization using
evolutionary computation. Decision parameters will be optimized for conflicting
objective problems. The objective of this project is to develop toolbox that is used for
solving multi-objective optimization problems with the help of genetic algorithms.
The toolbox will be first tested on the benchmark test problems.
1.1 Multi-Objective Optimization
Multi-objective optimization is the processes of optimizing two are more conflicting
objectives simultaneously that are subjected to certain constraints. Multi-objective
optimization problems can be found in the fields where optimal decisions need to be
taken in the presences of trade-offs between the two conflicting objectives. Examples
of multi-objective optimization problems include minimization of the cost of the
product as well as maximization of the profits, minimization of the fuel consumption
of the vehicles and maximization of the performances etc.
The general form of the multi-objective optimization problem is shown in equation
1.1: [1]
(1.1)
Where,
A solution x is a vector of n decision variables: x = (x1, x2, x3, …., xn)T
Last set of constraints are variable bound i.e. each decision variable xi should
take a value within a lower xi(L) and an upper xi(U) bound.
( ) ( )
/ ( ), 1,2,....., ;
( ) 0, 1,2,......., ;
( ) 0, 1,2,......, ;
,
m
j
k
LU
i i i
Minimize Maximize f x m M
subject to g x j J
h x k K
x x x
 

 
 1,2,......., ;in
 
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a

Partial preview of the text

Download Multi-Objective Optimization-Computer Sciences Applications-Project Report and more Study Guides, Projects, Research Applications of Computer Sciences in PDF only on Docsity!

Multi-Objective Optimization using Evolutionary Computation 1

Chapter 1

1 Introduction

Objective is to design a user friendly toolbox for multi-objective optimization using evolutionary computation. Decision parameters will be optimized for conflicting objective problems. The objective of this project is to develop toolbox that is used for solving multi-objective optimization problems with the help of genetic algorithms. The toolbox will be first tested on the benchmark test problems.

1.1 Multi-Objective Optimization

Multi-objective optimization is the processes of optimizing two are more conflicting objectives simultaneously that are subjected to certain constraints. Multi-objective optimization problems can be found in the fields where optimal decisions need to be taken in the presences of trade-offs between the two conflicting objectives. Examples of multi-objective optimization problems include minimization of the cost of the product as well as maximization of the profits, minimization of the fuel consumption of the vehicles and maximization of the performances etc. The general form of the multi-objective optimization problem is shown in equation 1.1: [1]

Where,

 A solution x is a vector of n decision variables: x = (x 1 , x 2 , x 3 , …., xn)T  Last set of constraints are variable bound i.e. each decision variable xi should take a value within a lower xi(L)^ and an upper xi(U)^ bound.

( ) ( )

m j kL U i i i

Minimize Maximize f x m M subject to g x j J h x k K x x x

   i 1, 2,......., ; n

Multi-Objective Optimization using Evolutionary Computation 2

 gi (x) and hk (x) are called constraint functions.  J and K are inequality and equality constraints respectively. Multi-objective optimization is sometimes called vector optimization because a vector of objectives is needed to optimize instead of single-objective. The solution to the above problem is the set of Pareto points. Therefore, instead of a unique solution to the problem, the solution of the multi-objective problem is a set of Pareto points.

1.2 Multi-Objective Optimization using Genetic Algorithm

A general optimization problem consists of the number of objectives and also associated with the number of equality and inequality constraints. Solutions to the multi-objective optimization problem can be expressed in the form of non-dominated points mathematically. It means that the solution is dominant only if it has superior performance in all criteria. A solution is called Pareto-optimal if it cannot be dominated by any available solution in the given search space. There exists a most common difficulty with the multi-objective optimization problem which is the conflict between the two objectives. In general, none of the feasible solutions allow simultaneous optimal solution for all the objectives. Therefore, mathematically the most favorable Pareto-optimal is the solution which offers the least objective conflicts. [1] In order to find such solutions, classical methods are used to scalarize the objective vector into one single objective. The simplest of all the classical techniques is the weighted sum. It aggregates the objectives into single parameterized objective through objective through a linear combination of the objectives. However, selection of the appropriate weight vector also depends on the scaling of each objective function. As different objectives takes different order of magnitude, therefore when these objectives are weighted to form a composite objective function, it should be scaled appropriately in such a way that each of them must have same magnitude or order. But solution of this strategy largely depends on the weight vector. [1] For avoiding such kinds of difficulties, Pareto- based evolutionary optimization has become alternative to classical techniques, such as Weighted Sum Method. This approach was first proposed by the Goldberg and it explicitly used Pareto dominance in order to determine the reproduction probability of each individuals

Multi-Objective Optimization using Evolutionary Computation 4

2.3 Working of GA

The working principle of GAs is very different from the most classical optimization techniques. The flowchart for the working principle is shown in figure 2.1. It can be divided into the following steps:  Initialization  Selection  Reproduction  Termination

Figure 2.1 Working of GA

2.3.1 Initialization

Initially many individual solutions are randomly generated to form an initial population. The size of the population depends on the nature of the problem and may contain several thousands of possible solutions. In common practice, random population is generated that covers the entire range of possible solutions.

Multi-Objective Optimization using Evolutionary Computation 5

2.3.2 Selection

It selects individuals to contribute to the population at next generation, determine which individual is chosen for recombination and the number of offspring produced by each selected individual. At this stage, a proportion of the existing population is selected to breed a new generation. The fitness is calculated using a fitness function, and the fittest solutions are more likely to be selected. Important terms for comparing different selection schemes are: [6]  Selective Pressure It is the comparison of the probability of the best individual being selected to the average probability of selection of all individuals.  Bias It is the absolute difference between an individual's normalized fitness and its expected probability of reproduction.  Spread It is the range of possible values for the number of offspring of an individual.  Loss of Diversity It is the proportion of individuals of a population that is not selected during the selection phase.  Selection Intensity It is the expected average fitness value of the population after applying a selection method to the normalized Gaussian distribution.  Selection Variance It is the expected variance of the fitness distribution of the population after applying a selection method to the normalized Gaussian distribution. Commonly used methods for selection are:  Rank Based Fitness Assignment  Roulette wheel selection  Stochastic universal sampling  Local selection  Truncation selection  Tournament selection

Multi-Objective Optimization using Evolutionary Computation 7

Figure 2.2 Comparison of Linear Ranking and Non-linear Ranking Properties of Linear Ranking: Properties of linear ranking are shown in figure 2.3.

Figure 2.3 Properties of Linear Ranking Selection intensity:

( ) (^ √ ) (2.3)

Loss of diversity:

( ) (^ )^ (2.4)

Selection variance:

( ) (^ )^ (2.5)

(^01 2 3 4 5 6 7 8 9 10 )

1

2

3

Position of Individuals

Fitness

Linear Ranking with SP = 2Non linear Ranking with SP = 3

(^01) 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2

1

Selective Pressure

Properties of Linear Ranking Selection Variance

Selection Intensity

Loss of Diversity

Multi-Objective Optimization using Evolutionary Computation 8

Roulette Wheel Selection It is simplest selection technique also known as stochastic sampling with replacement. Individuals are mapped to contiguous line segments. The segment of each individual is equal in size to its fittest. Individuals are selected on the basis of random number generation. It provides zero bias but does not guarantee minimum spread. Table 2.1 shows the selection probability for 11 individuals, linear ranking and selective pressure of 2 together with the fitness value. From here, individual 1 is the fit individual and occupies the largest interval, whereas individual 10 as the second least fit individual has the smallest interval on the line as shown in figure 2.4. Individual 11, the least fit interval, has a fitness value of 0 and get no chance for reproduction. [6]

Number of Individuals

Fitness Value

Selection Probability

Table 2.1 Selection Probability and fitness value For selecting the mating population the appropriate number of uniformly distributed random numbers, which is uniformly distributed between 0.0 and 1.0, is independently generated. Sample of 6 random numbers are: 0.81, 0.32, 0.96, 0.01, 0.65, 0.

Figure 2.4 Roulette Wheel Selection [6] From table 1, after selection the mating population consists of the individuals: 1, 2, 3, 5, 6, 9. Stochastic Universal Sampling

Multi-Objective Optimization using Evolutionary Computation 10

Loss of diversity:

(About 50% of the population are lost at tournament size Tour=5). Selection variance:

2.3.3 Recombination

It produces new individuals in combining the information contained in two or more parents. It is done by combining the variable values of the parents. Depending upon the representation of the variables, different methods must be used. These methods are: [6]  Discrete Recombination (for all type of representation)  Real valued RecombinationBinary Valued Recombination (Crossover)

2.3.4 Mutation

By use of mutation, individuals are randomly altered. These variations are mostly small. They will be applied to the variables of the individuals with a low probability. Normally, off springs are mutated after being created by recombination. [6] Two approaches for mutation exist:  Real Valued MutationBinary Mutation

2.3.5 Reinsertion

As the off springs have been produced from the selection, recombination and mutation of individuals from the old population, now the fitness of these off springs must be determined. If the new off springs produced are less then the size of the original population then to maintain the size of the original population, the off springs should be reinserted to the old population. Similarly, if more off springs are generated from the size of the original population, then also the reinsertion scheme is used to determine which individuals are to exist in the new population.

Multi-Objective Optimization using Evolutionary Computation 11

Reinsertion is further divided into two schemes: [6]  Global ReinsertionLocal Reinsertion

Multi-Objective Optimization using Evolutionary Computation 13

using single objective Gas. So it is scalarized using objective function given in equation 3.2. Graph is shown in figure 3.

Figure 3.2 Schaffer’s Problem (Single Objective) Different selection techniques are applied over Schaffer’s problem having total number of generations which are 100, mutation function as Gaussian, Crossover function as Scattered, function tolerance 1e-006, and non linear constraint tolerance 1e-006. The results for the different selection techniques are:

3.1 Results of Stochastic Uniform Selection Technique

Now by using Stochastic Uniform Selection, the function converges approximately at 62 nd^ generation with fitness value 1.0000000403503304 and the final point of the fitness value is 1.0002. The result of the Schaffer’s problem by using stochastic uniform technique is displayed in four different graphs as shown in figure 3.3:

(^0) -5 -4 -3 -2 -1 0 1 2 3 4 5

5

10

15

20

25

30

35

40

Variable x

Fitness

Multi-Objective Optimization using Evolutionary Computation 14

Figure 3.3 Plots for Stochastic Uniform Selection

First plot is for the Best and Mean Fitness. It plots the best function value in each generation versus the iteration number. From figure 3.3, the best fitness value is 1 and the mean fitness value is 1. The second plot is for Average Distance between Individuals which plots the average distance among each individual at each generation. Third plot is for the Range, which plots minimum, maximum and mean fitness value at each generation. And the forth plot is for selection which plots the histogram of parents displaying which parents are contributing to each generation. As the average distance between individuals’ approaches to zero after 62nd^ generation, therefore the mean fitness value becomes equal to best fitness value which is 1.

3.2 Results of Remainder Selection Technique

By using Remainder Selection, the function converges approximately at 30 th generation with fitness value 1.0000000785231382 and the final point of the fitness value is 1.00028. The result of the Schaffer’s problem by using remainder technique is displayed in four different graphs as shown in figure 3.4:

(^00 50 )

5

10

15

20

Generation

Fitness value

Best: 1 Mean: 1

(^020 40 60 80 )

2

4

6

Generation

Average Distance Between Individuals

(^020 40 60 80 )

50

100

150

Generation

Best, Worst, and Mean Scores

(^00 5 10 15 )

5

10

Selection Function

Individual

Number of children

Best fitness Mean fitness

Multi-Objective Optimization using Evolutionary Computation 16

Figure 3.5 Plots for Uniform Selection

First plot is for the Best Fitness. From figure 3.5, the best fitness value is 1 and the mean fitness value is 1. The second plot is for Average Distance between Individuals and the forth plot is for the Range. The third plot is for Range which plots the maximum, minimum and mean fitness value. The forth plot is for selection which plots the histogram of parents displaying which parents are contributing to each generation. The best fitness value and the mean fitness value are equal and is 1 because the average distance between the individuals becomes zero after approximately 85th^ generation.

3.4 Results of Roulette Wheel Selection Technique

By using Roulette Wheel Selection, the function converges at approximately 61st generation with fitness value 1.0000000673207827 and the final point of the fitness value is 0.99974. The result of the Schaffer’s problem by using roulette wheel technique is displayed in four different graphs as shown in figure 3.6:

(^00 50 )

20

40

60

Generation

Fitness value

Best: 1 Mean: 1

(^020 40 60 80 )

2

4

6

8

Generation

Average Distance Between Individuals

(^020 40 60 80 )

50

100

150

200

Generation

Best, Worst, and Mean Scores

(^00 5 10 15 )

2

4

6

Selection Function

Individual

Number of children

Best fitness Mean fitness

Multi-Objective Optimization using Evolutionary Computation 17

Figure 3.6 Plots for Roulette Wheel Selection

First plot is for the Best Fitness. From figure 3.6, the best fitness value is 1 and the mean fitness value is 1. The second plot is for Average Distance between Individuals. The third plot is for Range which plots the maximum, minimum and mean fitness value. The forth plot is for selection which plots the histogram of parents displaying which parents are contributing to each generation. As the average distance between the individuals becomes zero approximately after 61st^ generation, the best fitness value and the mean fitness value becomes equal which is 1.

3.5 Results of Tournament Selection Technique

By using Tournament Selection, the function converges approximately at 51 st generation with fitness value 1.000000205995548 and the final point of the fitness value is 0.99955. The result of the Schaffer’s problem by using tournament technique is displayed in four different graphs as shown in figure 3.7:

(^00 50 )

10

20

30

40

Generation

Fitness value

Best: 1 Mean: 1

(^020 40 60 80 )

2

4

6

8

Generation

Average Distance Between Individuals

(^020 40 60 80 )

50

100

150

Generation

Best, Worst, and Mean Scores

(^00 5 10 15 )

2

4

6

Selection Function

Individual

Number of children

Best fitness Mean fitness

Multi-Objective Optimization using Evolutionary Computation 19

Figure 3.8 Plots for Single Point Crossover

If the crossover function is heuristic and the selection technique is remainder, the function converges approximately at 32 nd^ generation with fitness value 0.9999999999999999 and the final point of the fitness value is 1. The result of the Schaffer’s problem by using remainder selection with heuristic crossover is displayed in four different graphs as shown in figure 3.9. The best fitness value and the mean fitness value is 1 because the average distance between the individuals becomes zero after approximately 32nd^ generation.

(^00 50 )

5

10

15

20

Generation

Fitness value

Best: 1 Mean: 1

(^020 40 60 80 )

2

4

6

Generation

Average Distance Between Individuals

(^020 40 60 80 )

50

100

150

Generation

Best, Worst, and Mean Scores

(^00 5 10 15 )

5

10 Selection Function

Individual

Number of children

Best fitness Mean fitness

Multi-Objective Optimization using Evolutionary Computation 20

Figure 3.9 Plots for Heuristic Crossover

If the crossover function is Intermediate and the selection technique is remainder, the function converges approximately at 43 th^ generation with fitness value 0.9999999999999999 and the final point of the fitness value is 1. The result of the Schaffer’s problem by using remainder selection with intermediate crossover is displayed in four different graphs as shown in figure 3.10. The best fitness value and the mean fitness value is 1 because the average distance between the individuals becomes zero after approximately 43th^ generation.

(^00 50 )

5

10

15

20

Generation

Fitness value

Best: 1 Mean: 1

(^020 40 60 80 )

2

4

6

Generation

Average Distance Between Individuals

(^020 40 60 80 )

50

100

150

Generation

Best, Worst, and Mean Scores

(^00 5 10 15 )

5

10 Selection Function

Individual

Number of children

Best fitness Mean fitness