Python implementation of coupled simulated annealing (CSA)
Project description
Homepage: github.com/structurely/csa.
Coupled simulated annealing (CSA) is a generalization of simulated annealing (SA), which is an optimization algorithm that doesn’t use any information about the derivates of a function. The original paper describing CSA can be found here:
ftp://ftp.esat.kuleuven.be/sista/sdesouza/papers/CSA2009accepted.pdf
Essentially, CSA is like multiple simulated annealing (i.e. m independent SA processes run in parallel), except that the acceptance probability at each step is calculated as a function of the current state across all m processes. For a more complete description of the general CSA algorithm, see Description of CSA.
Installation
Using pip:
pip install pycsa
Directly from GitHub:
pip install git+https://github.com/structurely/csa.git
Usage
See examples/travelling_salesman.ipynb for an example of CSA applied to the travelling salesman problem (TSP).
Contributing
Feel free to submit issues at github.com/structurely/csa/issues and pull requests to the dev branch: github.com/structurely/csa/tree/dev.
License
See LICENSE.txt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pycsa-0.1.3.tar.gz
.
File metadata
- Download URL: pycsa-0.1.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca4dd646d9b6bf6dbf14fbce4883b7e904a11d01123323e65ba6294b09430a53 |
|
MD5 | 432268c31f88d11aa5af0a44d4671b9d |
|
BLAKE2b-256 | e0744c09edfb8146ae7761be5e26b10a29de6fcd02ada1883b580abcec2dbdf1 |
File details
Details for the file pycsa-0.1.3-py2-none-any.whl
.
File metadata
- Download URL: pycsa-0.1.3-py2-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f297a774b6f99b57b02f029263fccf73ae60b0f5fe2af1e6c1eb0bcddc95e082 |
|
MD5 | 6a8d242571026bf34ec8229be4f4c7d7 |
|
BLAKE2b-256 | a6be355bbfe118f513ebfa6441290f3e7afb8bd2e35c5e138cc29d46b35388f2 |