A Genetic Algorithm for Structural Design and Topological Optimization
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.
Install gastop by running:
$ pip install gastop
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)
The project is licensed under the GNU GPLv3 license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.