A Genetic Algorithm for Structural Design and Topological Optimization
Project description
Quickstart
GASTOp is a Genetic Algorithm for Structural design and Topological Optimization. Given a set of boundary conditions such as applied loads and fixtures, it will design a structure to support those loads while minimizing weight and deflections and maximize factor of safety.
Installation
Install gastop by running:
$ pip install gastop
Usage
Look how easy it is to use:
import gastop
config_file_path = "./path_to_config_file.txt"
ga = gastop.GenAlg(config_file_path)
ga.initialize_population(pop_size=1e4)
best_truss, history = ga.run(num_generations=100, progress_display=1, num_threads=4)
Contribute
Issue Tracker: https://github.com/f0uriest/GASTOp/issues
Source Code: https://github.com/f0uriest/GASTOp/
Documentation: https://gastop.readthedocs.io/
License
The project is licensed under the GNU GPLv3 license.
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 gastop-1.0.2.tar.gz
.
File metadata
- Download URL: gastop-1.0.2.tar.gz
- Upload date:
- Size: 30.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 773743e92f73732bc326955a7100ffcc029e915ca3965fc3bca68f0cc920e905 |
|
MD5 | eee54f3ca6c35f794cdf27f0a924419c |
|
BLAKE2b-256 | c34ce4a9ce0e3b5398fa47d29bd5a5f869d7bbdc267c6aab593000d3ac5b9d41 |
File details
Details for the file gastop-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: gastop-1.0.2-py3-none-any.whl
- Upload date:
- Size: 32.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d287fb2ba795b8fab9afade3c9f8f974cfbc7f1defb92dda5ae9374b44588bf0 |
|
MD5 | 7bc5b57d833b79eabacb4567251c6623 |
|
BLAKE2b-256 | b0c7e7ee1f531eba8f00f2108e7672bf5a1d5100b50f1f771979276e523d2a3e |