OptimizationProgressEvent
Real-time progress event streamed during schedule optimization
Fields
The optimization run this event belongs to
Current status of the optimization run
Possible values (5)
QUEUEDOptimization run is queued for processing
RUNNINGOptimization run is actively executing
COMPLETEDOptimization run finished successfully
FAILEDOptimization run encountered an error
CANCELLEDOptimization run was cancelled
Current generation number
Maximum generations configured
Best fitness value in current generation
Best fitness value formatted to 4 decimal places
Average fitness across the population
Best makespan from the final solution (minutes)
Best total lateness from the final solution (minutes)
Number of solutions in the Pareto front
Error message if the run failed
Referenced by (1)
Exact type SDL
"""Real-time progress event streamed during schedule optimization"""
type OptimizationProgressEvent {
"""The optimization run this event belongs to"""
runId: OptimizationRunID!
"""Current status of the optimization run"""
status: OptimizationRunStatus!
"""Current generation number"""
generation: Int!
"""Maximum generations configured"""
maxGenerations: Int!
"""Best fitness value in current generation"""
bestFitness: Float
"""Best fitness value formatted to 4 decimal places"""
bestFitnessFormatted: String
"""Average fitness across the population"""
avgFitness: Float
"""Best makespan from the final solution (minutes)"""
bestMakespan: Int
"""Best total lateness from the final solution (minutes)"""
bestLateness: Int
"""Number of solutions in the Pareto front"""
paretoFrontSize: Int
"""Error message if the run failed"""
error: String
}