evomo.workflows#
Submodules#
Classes#
A unified standard workflow for evomo that supports both constrained and unconstrained problems. |
Package Contents#
- class evomo.workflows.UnifiedWorkflow(algorithm: evox.core.Algorithm, problem: evox.core.Problem, monitor: evox.core.Monitor | None = None, opt_direction: str | list[str] = 'min', solution_transform: torch.nn.Module | None = None, fitness_transform: torch.nn.Module | None = None, device: str | torch.device | int | None = None, enable_distributed: bool = False, group: Any = None)#
Bases:
evox.core.WorkflowA unified standard workflow for evomo that supports both constrained and unconstrained problems. If the problem’s evaluate function returns a tuple (fitness, cv), both will be correctly handled, gathered and passed to the algorithm.
- algorithm#
- monitor = None#
- problem#
- solution_transform = None#
- fitness_transform#
- enable_distributed = False#
- group = None#
- init_step()#
- final_step()#
- step()#