/GASTOp

A genetic algorithm for structural design and topological optimization

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

GASTOp

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.