Optimization Workflows
ropt.workflow
Optimization workflow functionality.
ropt.workflow.create_compute_step
ropt.workflow.create_event_handler
ropt.workflow.create_evaluator
ropt.workflow.Event
dataclass
Stores data related to an optimization event.
During the execution of an optimization workflow, events are triggered to
signal specific occurrences. Callbacks can be registered to react to these
events and will receive an Event object containing relevant information.
The specific data within the Event object varies depending on the event
type. See the EventType documentation for details.
Attributes:
| Name | Type | Description |
|---|---|---|
event_type |
EventType
|
The type of event that occurred. |
data |
dict[str, Any]
|
A dictionary containing additional event-specific data. |