Skip to content

Workflow Examples

Every script in the examples/advanced folder is listed here. They assemble the workflow components by hand, for the cases the simple API does not cover.

Scripts that use the simple API are listed under Examples.

Script What it shows Explained in
workflow.py Compute steps and event handlers assembled by hand Optimization Workflows
nested.py Nested optimization, sequential and in one process Parallel Evaluation
nested_parallel.py The same flow with process and thread executors Parallel Evaluation
parallel_evaluator.py Several optimizations in parallel, driven by asyncio —
hpc_executor.py Managing a cluster executor explicitly —