aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-05-13 23:18:01 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-05-13 23:18:01 +0200
commit0d0dc4551cd15e2083fbe57edb7200b74e9201c3 (patch)
tree22957fc78a7df90ec69e3f550ff84ae21db07ae2 /README.md
parent67e69ccff5b8c54fde369f8aa467dc4ceb0043e2 (diff)
downloadpso-0d0dc4551cd15e2083fbe57edb7200b74e9201c3.tar.gz
pso-0d0dc4551cd15e2083fbe57edb7200b74e9201c3.zip
add simple READMEHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..676558f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,30 @@
+# pso - a simple particle swarm optimization
+
+This is a basic particle swarm optimization I wrote as an exercise for university.
+It is implemented in simple and clean standard C.
+Included are 4 different optimization problems: sphere, rosenbrock, rastrigin, schwefel.
+
+Particles leaving the search space are evaluated to positive infinity.
+
+## Installation
+
+Clone the repository.
+`git clone https://muhq.space/software/pso.git`
+
+Build pso by running `make` in the repository.
+
+## Usage
+
+ Usage: ./pso [OPTIONS]
+ OPTIONS:
+ -p number of particles
+ -h print this help and exit
+ -t number of threads
+ -i iterations
+ -f the function to optimize
+ 0 - sphere function
+ 1 - rosenbrock function
+ 2 - rastrigin function
+ 3 - schwefel function
+ -a the a parameter
+ -b the b parameter