Extension of PSwarm to Linearly Constrained Derivative-Free Global - - PowerPoint PPT Presentation

extension of pswarm to linearly constrained derivative
SMART_READER_LITE
LIVE PREVIEW

Extension of PSwarm to Linearly Constrained Derivative-Free Global - - PowerPoint PPT Presentation

Extension of PSwarm to Linearly Constrained Derivative-Free Global Optimization A. Ismael F. Vaz 1 and Lus Nunes Vicente 2 1 University of Minho - Portugal aivaz@dps.uminho.pt 2 University of Coimbra - Portugal lnv@mat.uc.pt SIAM Conference on


slide-1
SLIDE 1

Extension of PSwarm to Linearly Constrained Derivative-Free Global Optimization

  • A. Ismael F. Vaz1 and Luís Nunes Vicente2

1University of Minho - Portugal

aivaz@dps.uminho.pt

2University of Coimbra - Portugal

lnv@mat.uc.pt

SIAM Conference on Optimization May 10-13, 2008

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 1 / 49

slide-2
SLIDE 2

Outline

Outline

1

PSwarm for bound constraints Notation/definitions Particle swarm Coordinate search The hybrid algorithm Numerical results

2

PSwarm for bound and linear constraints Additional notation/definitions Feasible initial population Keeping feasibility Positive generators for the tangent cone Numerical results

3

Conclusions

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 2 / 49

slide-3
SLIDE 3

Outline

Outline

1

PSwarm for bound constraints Notation/definitions Particle swarm Coordinate search The hybrid algorithm Numerical results

2

PSwarm for bound and linear constraints Additional notation/definitions Feasible initial population Keeping feasibility Positive generators for the tangent cone Numerical results

3

Conclusions

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 2 / 49

slide-4
SLIDE 4

Outline

Outline

1

PSwarm for bound constraints Notation/definitions Particle swarm Coordinate search The hybrid algorithm Numerical results

2

PSwarm for bound and linear constraints Additional notation/definitions Feasible initial population Keeping feasibility Positive generators for the tangent cone Numerical results

3

Conclusions

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 2 / 49

slide-5
SLIDE 5

PSwarm for bound constraints

Outline

1

PSwarm for bound constraints

2

PSwarm for bound and linear constraints

3

Conclusions

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 3 / 49

slide-6
SLIDE 6

PSwarm for bound constraints Notation/definitions

Problem formulation

The problem we are addressing is: Problem definition - bound constraints min

z∈Rn f(z)

s.t. ℓ ≤ z ≤ u, where ℓ ≤ z ≤ u are understood componentwise. Smoothness – Assumption To apply particle swarm or coordinate search, smoothness of the objective function f(z) is not required. For the convergence analysis of coordinate search, and therefore of the hybrid algorithm, some smoothness of the objective function f(z) is imposed.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 4 / 49

slide-7
SLIDE 7

PSwarm for bound constraints Notation/definitions

Problem formulation

The problem we are addressing is: Problem definition - bound constraints min

z∈Rn f(z)

s.t. ℓ ≤ z ≤ u, where ℓ ≤ z ≤ u are understood componentwise. Smoothness – Assumption To apply particle swarm or coordinate search, smoothness of the objective function f(z) is not required. For the convergence analysis of coordinate search, and therefore of the hybrid algorithm, some smoothness of the objective function f(z) is imposed.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 4 / 49

slide-8
SLIDE 8

PSwarm for bound constraints Particle swarm

Particle Swarm (new position and velocity)

The new particle position is updated by Update particle xp(t + 1) = xp(t) + vp(t + 1), where vp(t + 1) is the new velocity given by Update velocity vp(t + 1) = ι(t)vp(t) + µω1(t) (yp(t) − xp(t)) + νω2(t) (ˆ y(t) − xp(t)) , where ι(t), µ and ν are parameters and ω1(t) and ω2(t) are random vectors drawn from the uniform (0, 1) distribution. yp(t) is the best particle p position and ˆ y(t) is the best population position.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 5 / 49

slide-9
SLIDE 9

PSwarm for bound constraints Particle swarm

Particle Swarm (new position and velocity)

The new particle position is updated by Update particle xp(t + 1) = xp(t) + vp(t + 1), where vp(t + 1) is the new velocity given by Update velocity vp(t + 1) = ι(t)vp(t) + µω1(t) (yp(t) − xp(t)) + νω2(t) (ˆ y(t) − xp(t)) , where ι(t), µ and ν are parameters and ω1(t) and ω2(t) are random vectors drawn from the uniform (0, 1) distribution. yp(t) is the best particle p position and ˆ y(t) is the best population position.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 5 / 49

slide-10
SLIDE 10

PSwarm for bound constraints Particle swarm

Some properties

Easy to implement. Easy to deal with discrete variables. Easy to parallelize. For a correct choice of parameters the algorithm terminates (limt→+∞ v(t) = 0). Uses only objective function values. Convergence for a global optimum under strong assumptions (unpractical). High number of function evaluations.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 6 / 49

slide-11
SLIDE 11

PSwarm for bound constraints Particle swarm

Some properties

Easy to implement. Easy to deal with discrete variables. Easy to parallelize. For a correct choice of parameters the algorithm terminates (limt→+∞ v(t) = 0). Uses only objective function values. Convergence for a global optimum under strong assumptions (unpractical). High number of function evaluations.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 6 / 49

slide-12
SLIDE 12

PSwarm for bound constraints Particle swarm

Some properties

Easy to implement. Easy to deal with discrete variables. Easy to parallelize. For a correct choice of parameters the algorithm terminates (limt→+∞ v(t) = 0). Uses only objective function values. Convergence for a global optimum under strong assumptions (unpractical). High number of function evaluations.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 6 / 49

slide-13
SLIDE 13

PSwarm for bound constraints Particle swarm

Some properties

Easy to implement. Easy to deal with discrete variables. Easy to parallelize. For a correct choice of parameters the algorithm terminates (limt→+∞ v(t) = 0). Uses only objective function values. Convergence for a global optimum under strong assumptions (unpractical). High number of function evaluations.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 6 / 49

slide-14
SLIDE 14

PSwarm for bound constraints Particle swarm

Some properties

Easy to implement. Easy to deal with discrete variables. Easy to parallelize. For a correct choice of parameters the algorithm terminates (limt→+∞ v(t) = 0). Uses only objective function values. Convergence for a global optimum under strong assumptions (unpractical). High number of function evaluations.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 6 / 49

slide-15
SLIDE 15

PSwarm for bound constraints Particle swarm

Some properties

Easy to implement. Easy to deal with discrete variables. Easy to parallelize. For a correct choice of parameters the algorithm terminates (limt→+∞ v(t) = 0). Uses only objective function values. Convergence for a global optimum under strong assumptions (unpractical). High number of function evaluations.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 6 / 49

slide-16
SLIDE 16

PSwarm for bound constraints Particle swarm

Some properties

Easy to implement. Easy to deal with discrete variables. Easy to parallelize. For a correct choice of parameters the algorithm terminates (limt→+∞ v(t) = 0). Uses only objective function values. Convergence for a global optimum under strong assumptions (unpractical). High number of function evaluations.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 6 / 49

slide-17
SLIDE 17

PSwarm for bound constraints Coordinate search

Introduction to direct search methods

Direct search methods are an important class of optimization methods that try to minimize a function by comparing objective function values at a finite number of points. Direct search methods do not use derivative information of the

  • bjective function nor try to approximate it.

Coordinate search is a simple direct search method.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 7 / 49

slide-18
SLIDE 18

PSwarm for bound constraints Coordinate search

Introduction to direct search methods

Direct search methods are an important class of optimization methods that try to minimize a function by comparing objective function values at a finite number of points. Direct search methods do not use derivative information of the

  • bjective function nor try to approximate it.

Coordinate search is a simple direct search method.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 7 / 49

slide-19
SLIDE 19

PSwarm for bound constraints Coordinate search

Introduction to direct search methods

Direct search methods are an important class of optimization methods that try to minimize a function by comparing objective function values at a finite number of points. Direct search methods do not use derivative information of the

  • bjective function nor try to approximate it.

Coordinate search is a simple direct search method.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 7 / 49

slide-20
SLIDE 20

PSwarm for bound constraints Coordinate search

Some definitions

Maximal positive basis Formed by the coordinate vectors and their negative counterparts: D⊕ = {e1, . . . , en, −e1, . . . , −en}. D⊕ spans Rn with nonnegative coefficients. Coordinate search The direct search method based on D⊕ is known as coordinate or compass search.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 8 / 49

slide-21
SLIDE 21

PSwarm for bound constraints Coordinate search

Some definitions

Maximal positive basis Formed by the coordinate vectors and their negative counterparts: D⊕ = {e1, . . . , en, −e1, . . . , −en}. D⊕ spans Rn with nonnegative coefficients. Coordinate search The direct search method based on D⊕ is known as coordinate or compass search.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 8 / 49

slide-22
SLIDE 22

PSwarm for bound constraints Coordinate search

Some definitions

Given D⊕ and the current point y(t), two sets of points are defined: a grid Mt and the poll set Pt. Sets The grid Mt is given by Mt =

  • y(t) + α(t)D⊕z, z ∈ N|D⊕|
  • ,

where α(t) > 0 is the grid size parameter. The poll set is given by Pt = {y(t) + α(t)d, d ∈ D⊕} .

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 9 / 49

slide-23
SLIDE 23

PSwarm for bound constraints Coordinate search

Some definitions

Given D⊕ and the current point y(t), two sets of points are defined: a grid Mt and the poll set Pt. Sets The grid Mt is given by Mt =

  • y(t) + α(t)D⊕z, z ∈ N|D⊕|
  • ,

where α(t) > 0 is the grid size parameter. The poll set is given by Pt = {y(t) + α(t)d, d ∈ D⊕} .

y(t) y(t)+α(t)e1 y(t)+α(t)e2 y(t)−α(t)e1 y(t)−α(t)e2

The grid Mt and the set Pt when D⊕ = {e1, e2, −e1, −e2}.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 9 / 49

slide-24
SLIDE 24

PSwarm for bound constraints Coordinate search

Coordinate search

The search step conducts a finite search on the grid Mt. If no success is obtained in the search step then a poll step follows. The poll step evaluates the objective function at the elements of Pt, searching for points which have a lower objective function value. If success is attained, the value of α(t) may be increased, otherwise it is reduced.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 10 / 49

slide-25
SLIDE 25

PSwarm for bound constraints Coordinate search

Coordinate search

The search step conducts a finite search on the grid Mt. If no success is obtained in the search step then a poll step follows. The poll step evaluates the objective function at the elements of Pt, searching for points which have a lower objective function value. If success is attained, the value of α(t) may be increased, otherwise it is reduced.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 10 / 49

slide-26
SLIDE 26

PSwarm for bound constraints Coordinate search

Coordinate search

The search step conducts a finite search on the grid Mt. If no success is obtained in the search step then a poll step follows. The poll step evaluates the objective function at the elements of Pt, searching for points which have a lower objective function value. If success is attained, the value of α(t) may be increased, otherwise it is reduced.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 10 / 49

slide-27
SLIDE 27

PSwarm for bound constraints Coordinate search

Coordinate search

The search step conducts a finite search on the grid Mt. If no success is obtained in the search step then a poll step follows. The poll step evaluates the objective function at the elements of Pt, searching for points which have a lower objective function value. If success is attained, the value of α(t) may be increased, otherwise it is reduced.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 10 / 49

slide-28
SLIDE 28

PSwarm for bound constraints The hybrid algorithm

Motivation for PSwarm

Central idea A particle swarm iteration is performed in the search step and if no progress is attained a poll step is taken. Key points In the first iterations the algorithm takes advantage of the particle swarm ability to find a global optimum (exploiting the search space), while in the last iterations the algorithm takes advantage of the pattern search robustness to find a stationary point. The number of particles in the swarm search can be decreased along the iterations (no need to have a large number of particles around a local optimum).

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 11 / 49

slide-29
SLIDE 29

PSwarm for bound constraints The hybrid algorithm

Motivation for PSwarm

Central idea A particle swarm iteration is performed in the search step and if no progress is attained a poll step is taken. Key points In the first iterations the algorithm takes advantage of the particle swarm ability to find a global optimum (exploiting the search space), while in the last iterations the algorithm takes advantage of the pattern search robustness to find a stationary point. The number of particles in the swarm search can be decreased along the iterations (no need to have a large number of particles around a local optimum).

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 11 / 49

slide-30
SLIDE 30

PSwarm for bound constraints The hybrid algorithm

Motivation for PSwarm

Central idea A particle swarm iteration is performed in the search step and if no progress is attained a poll step is taken. Key points In the first iterations the algorithm takes advantage of the particle swarm ability to find a global optimum (exploiting the search space), while in the last iterations the algorithm takes advantage of the pattern search robustness to find a stationary point. The number of particles in the swarm search can be decreased along the iterations (no need to have a large number of particles around a local optimum).

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 11 / 49

slide-31
SLIDE 31

PSwarm for bound constraints The hybrid algorithm

Motivation for PSwarm

Central idea A particle swarm iteration is performed in the search step and if no progress is attained a poll step is taken. Key points In the first iterations the algorithm takes advantage of the particle swarm ability to find a global optimum (exploiting the search space), while in the last iterations the algorithm takes advantage of the pattern search robustness to find a stationary point. The number of particles in the swarm search can be decreased along the iterations (no need to have a large number of particles around a local optimum).

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 11 / 49

slide-32
SLIDE 32

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=0 Poll=0 SuccPoll=0 Alpha=0.8 Nof=0 Of=Inf −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 12 / 49

slide-33
SLIDE 33

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=1 Poll=0 SuccPoll=0 Alpha=0.8 Nof=40 Of=−1.77 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 13 / 49

slide-34
SLIDE 34

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=2 Poll=1 SuccPoll=0 Alpha=0.4 Nof=73 Of=−1.77 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 14 / 49

slide-35
SLIDE 35

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=3 Poll=1 SuccPoll=0 Alpha=0.8 Nof=102 Of=−2.1379 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 15 / 49

slide-36
SLIDE 36

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=4 Poll=2 SuccPoll=0 Alpha=0.4 Nof=131 Of=−2.1379 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 16 / 49

slide-37
SLIDE 37

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=10 Poll=6 SuccPoll=1 Alpha=0.2 Nof=271 Of=−2.2193 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 17 / 49

slide-38
SLIDE 38

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=20 Poll=16 SuccPoll=5 Alpha=0.003125 Nof=466 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 18 / 49

slide-39
SLIDE 39

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=30 Poll=26 SuccPoll=10 Alpha=9.7656e−005 Nof=657 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 19 / 49

slide-40
SLIDE 40

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=40 Poll=32 SuccPoll=12 Alpha=6.1035e−006 Nof=838 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 20 / 49

slide-41
SLIDE 41

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=50 Poll=32 SuccPoll=12 Alpha=6.1035e−006 Nof=998 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 21 / 49

slide-42
SLIDE 42

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=60 Poll=32 SuccPoll=12 Alpha=6.1035e−006 Nof=1158 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 22 / 49

slide-43
SLIDE 43

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=70 Poll=32 SuccPoll=12 Alpha=6.1035e−006 Nof=1318 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 23 / 49

slide-44
SLIDE 44

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=80 Poll=32 SuccPoll=12 Alpha=6.1035e−006 Nof=1478 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 24 / 49

slide-45
SLIDE 45

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=90 Poll=32 SuccPoll=12 Alpha=6.1035e−006 Nof=1638 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 25 / 49

slide-46
SLIDE 46

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=100 Poll=32 SuccPoll=12 Alpha=6.1035e−006 Nof=1798 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 26 / 49

slide-47
SLIDE 47

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=110 Poll=32 SuccPoll=12 Alpha=6.1035e−006 Nof=1958 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 27 / 49

slide-48
SLIDE 48

PSwarm for bound constraints Numerical results

An example - Treccani function

Iter=113 Poll=32 SuccPoll=12 Alpha=6.1035e−006 Nof=2006 Of=−2.2267 −3 −2.5 −2 −1.5 −1 −0.5 0.5 1 −2.5 −2 −1.5 −1 −0.5 0.5 1 1.5 2 2.5

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 28 / 49

slide-49
SLIDE 49

PSwarm for bound constraints Numerical results

Numerical results (final value for f)

122 problems where 12 are of large dimension (100-300 variables).

1 2 3 4 5 6 7 8 9 10 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Average objective value of 30 runs with maxf=1000 (7500) τ ρ ASA PSwarm PGAPack Direct MCS 200 400 600 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 τ ρ

For further details see Vaz and Vicente, JOGO, 2007

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 29 / 49

slide-50
SLIDE 50

PSwarm for bound constraints Numerical results

Numerical results (final value for f)

122 problems where 12 are of large dimension (100-300 variables).

1 2 3 4 5 6 7 8 9 10 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Average objective value of 30 runs with maxf=1000 (7500) τ ρ ASA PSwarm PGAPack Direct MCS 200 400 600 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 τ ρ

For further details see Vaz and Vicente, JOGO, 2007

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 29 / 49

slide-51
SLIDE 51

PSwarm for bound constraints Numerical results

Numerical results (number of evaluations)

5 10 15 20 25 30 35 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Average objective evaluation of 30 runs with maxf=1000 τ ρ ASA PSwarm PGAPack Direct MCS 200 400 600 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 τ ρ

Average number of objective function evaluations. maxf ASA PGAPack PSwarm Direct MCS 1000 857 1009∗ 686 1107∗ 1837∗ 10000 5047 10009∗ 3603 11517∗ 4469

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 30 / 49

slide-52
SLIDE 52

PSwarm for bound constraints Numerical results

Parameter estimation in Astrophysics

The goal is to determine a set of six stellar parameters from observable

  • data. The objective function requires simulation (CESAM code). PSwarm

was very successful on a set of 135 stars (193 × 2000 × 25 = 18.40 years computational time in parallel).

0,7 0,8 0,9 1 1,1 1,2 1,3 1,4 1,5 0,7000 0,7500 0,8000 0,8500 0,9000 0,9500 1,0000 1,0500 1,1000 1,1500 1,2000 1,2500 1,3000 1,3500 1,4000 1,4500 1,5000 0.05 Mo

MMLR = 0.055Mo

135 FGK *

MLR (Henry & McCarthy 93)

* Stars belonging to spec- tral types F, G, or K. Mass-luminosity relation (MLR) Joint work with J.M. Fer- nandes

  • University
  • f

Coimbra.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 31 / 49

slide-53
SLIDE 53

PSwarm for bound and linear constraints

Outline

1

PSwarm for bound constraints

2

PSwarm for bound and linear constraints

3

Conclusions

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 32 / 49

slide-54
SLIDE 54

PSwarm for bound and linear constraints Additional notation/definitions

Problem formulation

The problem we are now addressing is: Problem definition - bound and linear constraints min

z∈Rn f(z)

s.t. Az ≤ b, ℓ ≤ z ≤ u, where A is a m × n matrix, b is a m column vector and ℓ ≤ z ≤ u are understood componentwise.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 33 / 49

slide-55
SLIDE 55

PSwarm for bound and linear constraints Feasible initial population

Feasible initial population

Obtaining an initial feasible population and controlling feasibility in the linear constrained case is critical.

1 2 3 4 5 6 7 8 9 10 −2 2 4 6 8 10 x1 x2 hs024 feasible region Feasible region Feasible region

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 34 / 49

slide-56
SLIDE 56

PSwarm for bound and linear constraints Feasible initial population

Feasible initial population

Getting an initial feasible population allows a more efficient search for the global optimum.

1 2 3 4 5 6 −2 −1 1 2 3 4 x1 x2 hs024 feasible region User provided initial guess Maximum volume ellipsoid Initial feasible population

Zhang and Gao interior-point code is being used to compute the maxi- mum volume ellip- soid.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 35 / 49

slide-57
SLIDE 57

PSwarm for bound and linear constraints Keeping feasibility

Search step (Particle Swarm)

Feasibility is kept during the optimization process for all particles. This is achieved by introducing a maximum allowed step in the “search” direction. Maximum allowed step xp(t + 1) = xp(t) + αmaxvp(t + 1), where αmax is the maximum step allowed to keep xp(t + 1) inside the feasible region.

1 2 3 4 5 6 −1 −0.5 0.5 1 1.5 2 2.5 3 3.5 4 x1 x2 hs024 after 10 iterations and 5 succ. poll steps x*=(3, 1.73)

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 36 / 49

slide-58
SLIDE 58

PSwarm for bound and linear constraints Keeping feasibility

Poll step

For the coordinate search method applied to bound constrained problems it is sufficient to initialize the algorithm with a feasible initial guess (y(0) ∈ Ω) and to use ˆ f as the objective function. Penalty/Barrier function ˆ f(z) = f(z) if z ∈ Ω, +∞

  • therwise.

Linear constraints For the case of linear constraints this is no longer true.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 37 / 49

slide-59
SLIDE 59

PSwarm for bound and linear constraints Keeping feasibility

Poll step

For the coordinate search method applied to bound constrained problems it is sufficient to initialize the algorithm with a feasible initial guess (y(0) ∈ Ω) and to use ˆ f as the objective function. Penalty/Barrier function ˆ f(z) = f(z) if z ∈ Ω, +∞

  • therwise.

Linear constraints For the case of linear constraints this is no longer true.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 37 / 49

slide-60
SLIDE 60

PSwarm for bound and linear constraints Keeping feasibility

Positive generators for the tangent cone

The set of polling directions needs to conform with the geometry of the feasible set.

2.5 3 3.5 4 4.5 5 5.5 −0.5 0.5 1 1.5 2 2.5 x1 x2 hs024 ε−active constraint

ε ε−active constraint

y(t)

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 38 / 49

slide-61
SLIDE 61

PSwarm for bound and linear constraints Positive generators for the tangent cone

Positive generators for the tangent cone

No ǫ-active constraints The positive spanning set is the maximal positive basis D⊕. For ǫ-active constraint(s) The polling directions are the positive generators for the tangent cone of the ǫ-active constraints (obtained by QR factorization) Degeneracy The ǫ parameter is dynamically adapted when degeneracy in the ǫ-active constraints is detected. If no success is attained the maximal positive basis is used.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 39 / 49

slide-62
SLIDE 62

PSwarm for bound and linear constraints Positive generators for the tangent cone

Positive generators for the tangent cone

No ǫ-active constraints The positive spanning set is the maximal positive basis D⊕. For ǫ-active constraint(s) The polling directions are the positive generators for the tangent cone of the ǫ-active constraints (obtained by QR factorization) Degeneracy The ǫ parameter is dynamically adapted when degeneracy in the ǫ-active constraints is detected. If no success is attained the maximal positive basis is used.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 39 / 49

slide-63
SLIDE 63

PSwarm for bound and linear constraints Positive generators for the tangent cone

Positive generators for the tangent cone

No ǫ-active constraints The positive spanning set is the maximal positive basis D⊕. For ǫ-active constraint(s) The polling directions are the positive generators for the tangent cone of the ǫ-active constraints (obtained by QR factorization) Degeneracy The ǫ parameter is dynamically adapted when degeneracy in the ǫ-active constraints is detected. If no success is attained the maximal positive basis is used.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 39 / 49

slide-64
SLIDE 64

PSwarm for bound and linear constraints Numerical results

Test problems

120 problems with linear constraints were collected from 1564

  • ptimization problems (AMPL, CUTE, GAMS, NETLIB, etc.).

23 linear, 55 quadratic and 32 general nonlinear. 10 highly non-convex objective functions with random generated linear constraints (Pinter). The test problems are coded in AMPL (A Modeling Language for Mathematical Programming). Test problems available at http://www.norg.uminho.pt/aivaz (under software).

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 40 / 49

slide-65
SLIDE 65

PSwarm for bound and linear constraints Numerical results

Test problems

120 problems with linear constraints were collected from 1564

  • ptimization problems (AMPL, CUTE, GAMS, NETLIB, etc.).

23 linear, 55 quadratic and 32 general nonlinear. 10 highly non-convex objective functions with random generated linear constraints (Pinter). The test problems are coded in AMPL (A Modeling Language for Mathematical Programming). Test problems available at http://www.norg.uminho.pt/aivaz (under software).

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 40 / 49

slide-66
SLIDE 66

PSwarm for bound and linear constraints Numerical results

Test problems

120 problems with linear constraints were collected from 1564

  • ptimization problems (AMPL, CUTE, GAMS, NETLIB, etc.).

23 linear, 55 quadratic and 32 general nonlinear. 10 highly non-convex objective functions with random generated linear constraints (Pinter). The test problems are coded in AMPL (A Modeling Language for Mathematical Programming). Test problems available at http://www.norg.uminho.pt/aivaz (under software).

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 40 / 49

slide-67
SLIDE 67

PSwarm for bound and linear constraints Numerical results

Test problems

120 problems with linear constraints were collected from 1564

  • ptimization problems (AMPL, CUTE, GAMS, NETLIB, etc.).

23 linear, 55 quadratic and 32 general nonlinear. 10 highly non-convex objective functions with random generated linear constraints (Pinter). The test problems are coded in AMPL (A Modeling Language for Mathematical Programming). Test problems available at http://www.norg.uminho.pt/aivaz (under software).

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 40 / 49

slide-68
SLIDE 68

PSwarm for bound and linear constraints Numerical results

Test problems

120 problems with linear constraints were collected from 1564

  • ptimization problems (AMPL, CUTE, GAMS, NETLIB, etc.).

23 linear, 55 quadratic and 32 general nonlinear. 10 highly non-convex objective functions with random generated linear constraints (Pinter). The test problems are coded in AMPL (A Modeling Language for Mathematical Programming). Test problems available at http://www.norg.uminho.pt/aivaz (under software).

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 40 / 49

slide-69
SLIDE 69

PSwarm for bound and linear constraints Numerical results

Linear objective functions

2 4 6 8 10 12 14 16 18 20 0.2 0.4 0.6 0.8 1 Objective function values (average of 10 runs with maxf=2000, linear objective) ν ρ PSwarm ASA Direct Nomad 1 1.1 1.2 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 ν ρ

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 41 / 49

slide-70
SLIDE 70

PSwarm for bound and linear constraints Numerical results

Quadratic objective functions

2 4 6 8 10 12 14 16 18 20 0.2 0.4 0.6 0.8 1 Objective function values (average of 10 runs with maxf=2000, quadratic objective) ν ρ PSwarm ASA Direct Nomad 2 2.5 0.4 0.5 0.6 0.7 0.8 0.9 1 ν ρ

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 42 / 49

slide-71
SLIDE 71

PSwarm for bound and linear constraints Numerical results

General nonlinear objective functions

2 4 6 8 10 12 14 16 18 20 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Objective function values (average of 10 runs with maxf=2000, nonlinear objective) ν ρ PSwarm ASA Direct Nomad 2 4 6 8 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 ν ρ

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 43 / 49

slide-72
SLIDE 72

PSwarm for bound and linear constraints Numerical results

All objective functions

2 4 6 8 10 12 14 16 18 20 0.2 0.4 0.6 0.8 1 Objective function values (average of 10 runs with maxf=2000) ν ρ PSwarm ASA Direct Nomad 5 10 15 0.4 0.5 0.6 0.7 0.8 0.9 1 ν ρ

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 44 / 49

slide-73
SLIDE 73

PSwarm for bound and linear constraints Numerical results

Highly non-convex objective functions

5 10 15 20 25 30 35 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Objective function values (average of 10 runs with maxf=10000, non−convex problems) ν ρ PSwarm ASA Direct Nomad 230 235 240 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 ν ρ

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 45 / 49

slide-74
SLIDE 74

Conclusions

Outline

1

PSwarm for bound constraints

2

PSwarm for bound and linear constraints

3

Conclusions

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 46 / 49

slide-75
SLIDE 75

Conclusions

Conclusions

Conclusions Development of a hybrid algorithm for derivative-free global

  • ptimization with bound and/or linear constraints.

PSwarm shown to be a robust and competitive solver. Availability Only version 0.1 is publicly available at:

www.norg.uminho.pt/aivaz/pswarm the NEOS server

Version 1.1 available soon.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 47 / 49

slide-76
SLIDE 76

Conclusions

Conclusions

Conclusions Development of a hybrid algorithm for derivative-free global

  • ptimization with bound and/or linear constraints.

PSwarm shown to be a robust and competitive solver. Availability Only version 0.1 is publicly available at:

www.norg.uminho.pt/aivaz/pswarm the NEOS server

Version 1.1 available soon.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 47 / 49

slide-77
SLIDE 77

Conclusions

Conclusions

Conclusions Development of a hybrid algorithm for derivative-free global

  • ptimization with bound and/or linear constraints.

PSwarm shown to be a robust and competitive solver. Availability Only version 0.1 is publicly available at:

www.norg.uminho.pt/aivaz/pswarm the NEOS server

Version 1.1 available soon.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 47 / 49

slide-78
SLIDE 78

Conclusions

Conclusions

Conclusions Development of a hybrid algorithm for derivative-free global

  • ptimization with bound and/or linear constraints.

PSwarm shown to be a robust and competitive solver. Availability Only version 0.1 is publicly available at:

www.norg.uminho.pt/aivaz/pswarm the NEOS server

Version 1.1 available soon.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 47 / 49

slide-79
SLIDE 79

Conclusions

Conclusions

Conclusions Development of a hybrid algorithm for derivative-free global

  • ptimization with bound and/or linear constraints.

PSwarm shown to be a robust and competitive solver. Availability Only version 0.1 is publicly available at:

www.norg.uminho.pt/aivaz/pswarm the NEOS server

Version 1.1 available soon.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 47 / 49

slide-80
SLIDE 80

The end

References

A.I.F. Vaz and L.N. Vicente. A particle swarm pattern search method for bound constrained global

  • ptimization.

Journal of Global Optimization, 39:197–219, 2007. Yin Zhang and Liyan Gao. On numerical solution of the maximum volume ellipsoid problem. SIAM Journal on Optimization, 14:53–76, 2003.

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 48 / 49

slide-81
SLIDE 81

The end

The end

email: aivaz@dps.uminho.pt Web http://www.norg.uminho.pt/aivaz email: lnv@mat.uc.pt Web http://www.mat.uc.pt/∼lnv

  • I. Vaz and L.N. Vicente (PT)

Linear Constrained PSwarm May 10-13, 2008 49 / 49