# GASTOp¶

## 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)