Examples#

End-to-end examples show how you can use PyOptiSLang. If PyOptiSLang is installed on your machine, you can download these examples as Python files or Jupyter notebooks and run them locally.

API usage examples
../_images/banner_api.png

These examples demonstrate how to use the explicit API to communicate with optiSLang.

API usage examples
Evaluate designs
../_images/01_ten_bar_truss_evaluate_design.png

These examples demonstrate how to evaluate designs.

Evaluate designs
Raw optiSLang server communication
../_images/banner_osl_server.png

These examples demonstrate how to use PyOptiSLang to perform raw communication with the optiSLang server.

Raw optiSLang server communication
Parametric Design Study Manager
../_images/03_1_ProxySolverSensitivity.png

These examples demonstrate how to create and execute design studies using templates.

Parametric Design Study Manager
Run Python scripts
../_images/banner_python_scripts.png

These examples demonstrate how to run Python scripts.

Run Python scripts
Create workflow
../_images/04_1_RDO_w_python.png

These examples demonstrate how to create workflow using pyOptiSLang.

Create workflow