Ant Optimization in NetLogo

18
Ant Optimization in NetLogo By: Stephen Johnson

description

By: Stephen Johnson. Ant Optimization in NetLogo. Optimization. Wide spread applicability Much easier through the use of computers Very clear results. Computer Optimization. Simulated Annealing Genetic Algorithms Taboo Lists Limited to static scenarios. Ant Optimization. - PowerPoint PPT Presentation

Transcript of Ant Optimization in NetLogo

Page 1: Ant Optimization in NetLogo

Ant Optimizationin NetLogo

By: Stephen Johnson

Page 2: Ant Optimization in NetLogo

Optimization

Wide spread applicability

Much easier through the use of computers

Very clear results

Page 3: Ant Optimization in NetLogo

Computer Optimization

Simulated Annealing

Genetic Algorithms

Taboo Lists Limited to static

scenarios

Page 4: Ant Optimization in NetLogo

Ant Optimization

Marco Dorigo in 1992

Simplistic agents Imprinting the

environment Dynamic solution

Page 5: Ant Optimization in NetLogo

Why Use NetLogo?

Agent based environment

Easy to use Graphical

solution Appropriate

output

Page 6: Ant Optimization in NetLogo

Elements of my Model

Patches - hold pheromone values Walls

Food Source Hive or Ant Hill Ants – Carry food

and read pheromone values

Page 7: Ant Optimization in NetLogo

Ant Harvesting 101

Have food? Laying “pheromone

highs” Pheromone

gradients Find the strongest

pheromone Walls and wrapping

Page 8: Ant Optimization in NetLogo

Ant Harvesting 102

Found your destination?

Pick up or deposit

Switch modes

Page 9: Ant Optimization in NetLogo

Put to the Test

Double bridge experiments Originally performed by

Deneubourg and colleagues (Deneubourg, Aron, Gross, and Pasteel) on real ants

Testing ant optimization and foraging habits

Page 10: Ant Optimization in NetLogo

Test 1 – Equal Length

Page 11: Ant Optimization in NetLogo

Test 2 – Unequal Length

Page 12: Ant Optimization in NetLogo

Test 3 – Appearing Bridges

Page 13: Ant Optimization in NetLogo

Pheromone Evaporation

Too slow and you get stuck on food sources

Too fast and you can’t form trails

Must be an optimal level

Page 14: Ant Optimization in NetLogo

Testing Conditions

Created a static environment

Tested evaporation rates from 0%-1%

Ants return all food to the nest

Page 15: Ant Optimization in NetLogo

Initial Results

0.0%

0.1%

0.2%

0.3%

0.4%

0.5%

0.6%

0.7%

0.8%

0.9%

1.0%

0

250

500

750

1000

1250

1500

1750

2000

2250

2500

2750

3000

3250

Test 1

Row 2

Evaporation Rate

Tim

est

ep

s

Page 16: Ant Optimization in NetLogo

Refining My Test

0.0%

0.5%

1.0%

1.5%

2.0%

2.5%

3.0%

3.5%

4.0%

4.5%

5.0%

0

100

200

300

400

500

600

700

800

900

1000

1100

1200

1300

Test 2

Row 4

Evaporation Rate

Tim

est

ep

s

Page 17: Ant Optimization in NetLogo

Conclusions

Slow Evaporation Form trails faster

and farther Pocketing

Fast Evaporation Eliminates

pocketing Relies on higher

ant density

Page 18: Ant Optimization in NetLogo

The End