Skip to content

Commit 8c15450

Browse files
committed
🔖 v0.6.0
1 parent e75d185 commit 8c15450

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
All notable changes to the "swarmlib" pypi package will be documented in this file.
33
This project follows [semantic versioning](https://semver.org/).
44

5-
## Unreleased - v0.6.0
5+
## 2019-01-24 - v0.6.0
66
* **Changed** the visualization of the _firefly algorithm_ and the _cuckoo search_. Now they both include velocities.
77
* **Changed** the firefly algorithm including its API. Now it replays the same problem if `--continuous` is set.
88
* **Changed** the `--continuous` flag. It requires no parameter anymore.

README.md

+23-21
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,23 @@ To print all available algorithms:
3333
swarm --help
3434
```
3535

36-
## Firefly Algorithm
36+
## Contribution
37+
38+
If you found a bug or are missing a feature do not hesitate to [file an issue](https://github.com/HaaLeo/swarmlib/issues/new/choose).
39+
Pull Requests are welcome!
40+
41+
## Support
42+
When you like this package make sure to [star the repository](https://github.com/HaaLeo/swarmlib/stargazers). I am always looking for new ideas and feedback.
43+
In addition, it is possible to [donate via paypal](https://www.paypal.me/LeoHanisch/3eur).
44+
45+
## Algorithms
46+
47+
### Firefly Algorithm
3748

3849
This repository includes the _firefly algorithm_ like Xin-She Yang introduced in his paper [Firefly Algorithms for Multimodal Optimization](https://link.springer.com/chapter/10.1007%2F978-3-642-04944-6_14) in 2009 (DOI: 10.1007/978-3-642-04944-6_14).
3950
The implementation was part of the course [Natural computing for learning and optimisation](https://is.cuni.cz/studium/eng/predmety/index.php?do=predmet&kod=NPFL107) at Charles University Prague in winter 2018/2019.
4051

41-
### Features
52+
#### Features
4253

4354
Enables to apply the firefly algorithm to one of the provided 2D functions. The algorithm tries to find the global minimum of the selected function.
4455

@@ -54,7 +65,7 @@ To print all available options execute:
5465
swarm fireflies -h
5566
```
5667

57-
### API
68+
#### API
5869

5970
In addition to the cli you can also use the API:
6071

@@ -66,11 +77,11 @@ best_firefly = problem.solve()
6677
problem.replay()
6778
```
6879

69-
## Cuckoo search
80+
### Cuckoo search
7081

7182
This repository also implements the _cuckoo search_ that was introduced by Xin-She Yang and Suash Deb in their paper [Cuckoo Search via Lévy flights](https://ieeexplore.ieee.org/document/5393690) in 2009 (DOI: 10.1109/NABIC.2009.5393690).
7283

73-
### Features
84+
#### Features
7485

7586
Enables to apply cuckoo search to one of the provided 2D functions. The algorithm tries to find the global minimum of the selected function.
7687

@@ -88,7 +99,7 @@ To print all available options execute:
8899
swarm cuckoos -h
89100
```
90101

91-
### API
102+
#### API
92103

93104
In addition to the cli you can also use the API:
94105

@@ -99,11 +110,11 @@ problem = CuckooProblem(function=FUNCTIONS['michalewicz'], nests=14)
99110
best_nest = problem.solve()
100111
problem.replay()
101112
```
102-
## Particle Swarm Optimization
113+
### Particle Swarm Optimization
103114

104115
This repository also implements modified _particle swarm optimization_ that was introduced by Yuhui Shi and Russell C. Eberhart in their paper [A modified particle swarm optimizer](https://ieeexplore.ieee.org/document/699146) in 1998 (DOI: 10.1109/ICEC.1998.699146). Their approach introduces a so called _inertia weight_ w. To get the [original particle swarm optimization](https://ieeexplore.ieee.org/document/488968) algorithm, just set the parameter `--weight=1`.
105116

106-
### Features
117+
#### Features
107118

108119
Enables to particle swarm optimization to one of the provided 2D functions. The algorithm tries to find the global minimum of the selected function.
109120

@@ -121,7 +132,7 @@ To print all available options execute:
121132
swarm particles -h
122133
```
123134

124-
### API
135+
#### API
125136

126137
In addition to the cli you can also use the API:
127138

@@ -133,12 +144,12 @@ best_particle = problem.solve()
133144
problem.replay()
134145
```
135146

136-
## Ant Colony Optimization
147+
### Ant Colony Optimization
137148

138149
This repository includes an _ant colony optimization_ algorithm for the traveling salesman problem (TSP) like Marco Dorigo, Mauro Birattari, and Thomas Stuetzle introduced in the [IEEE Computational Intelligence Magazine](https://ieeexplore.ieee.org/document/4129846) in November 2006 (DOI: 10.1109/MCI.2006.329691).
139150
The implementation was part of the course [Natural computing for learning and optimisation](https://is.cuni.cz/studium/eng/predmety/index.php?do=predmet&kod=NPFL107) at Charles University Prague in winter 2018/2019.
140151

141-
### Features
152+
#### Features
142153

143154
Enables to apply the ant colony optimization algorithm to a TSP using a [TSPLIB95](http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/) file and plots the result.
144155

@@ -153,7 +164,7 @@ To print all available options execute:
153164
swarm ants -h
154165
```
155166

156-
### API
167+
#### API
157168

158169
In addition to the cli you can also use the API:
159170

@@ -164,12 +175,3 @@ problem = ACOProblem('/path/to/my/tsp-file.tsp', 10)
164175
if problem.solve():
165176
problem.show_result()
166177
```
167-
168-
## Contribution
169-
170-
If you found a bug or are missing a feature do not hesitate to [file an issue](https://github.com/HaaLeo/swarmlib/issues/new/choose).
171-
Pull Requests are welcome!
172-
173-
## Support
174-
When you like this package make sure to [star the repository](https://github.com/HaaLeo/swarmlib/stargazers). I am always looking for new ideas and feedback.
175-
In addition, it is possible to [donate via paypal](https://www.paypal.me/LeoHanisch/3eur).

swarmlib/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the BSD 3-Clause License. See LICENSE.txt in the project root for license information.
44
# ------------------------------------------------------------------------------------------------------
55

6-
__version__ = '0.5.0'
6+
__version__ = '0.6.0'

0 commit comments

Comments
 (0)