Skip to main content

A Genetic Algorithm for Structural Design and Topological Optimization

Project description

Current Release Python versions supported

Build Status Code Coverage Code Quality

Documentation Status License: GPL v3

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

License

The project is licensed under the GNU GPLv3 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gastop-1.0.2.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

gastop-1.0.2-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

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

Hashes for gastop-1.0.2.tar.gz
Algorithm Hash digest
SHA256 773743e92f73732bc326955a7100ffcc029e915ca3965fc3bca68f0cc920e905
MD5 eee54f3ca6c35f794cdf27f0a924419c
BLAKE2b-256 c34ce4a9ce0e3b5398fa47d29bd5a5f869d7bbdc267c6aab593000d3ac5b9d41

See more details on using hashes here.

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

Hashes for gastop-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d287fb2ba795b8fab9afade3c9f8f974cfbc7f1defb92dda5ae9374b44588bf0
MD5 7bc5b57d833b79eabacb4567251c6623
BLAKE2b-256 b0c7e7ee1f531eba8f00f2108e7672bf5a1d5100b50f1f771979276e523d2a3e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page