OptimizationRunState
A schedule optimization run tracking the genetic algorithm progress
Fields
Persisted coverage of this run's input, including work not allocated in its planning window
Unique identifier for this optimization run
The schedule scenario being optimized
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
Population size used for the genetic algorithm
Maximum number of generations to evolve
Minutes from horizon start that are frozen (not re-optimized)
Whether this run started from scratch (no warm-start seeding)
Current generation reached
Best makespan achieved (minutes)
Best total lateness achieved (minutes)
Number of solutions in the Pareto front
Best fitness value achieved
Error message (only for failed runs)
When the optimization started (ISO8601)
When the optimization completed (ISO8601)
When the optimization run was created (ISO8601)
When the optimization run was last updated (ISO8601)
Referenced by (4)
Exact type SDL
"""A schedule optimization run tracking the genetic algorithm progress"""
type OptimizationRunState {
"""
Persisted coverage of this run's input, including work not allocated in its planning window
"""
schedulingResult: OptimizationSchedulingResult
"""Unique identifier for this optimization run"""
id: OptimizationRunID!
"""The schedule scenario being optimized"""
scheduleScenarioId: ScheduleScenarioID!
"""Current status of the optimization run"""
status: OptimizationRunStatus!
"""Population size used for the genetic algorithm"""
populationSize: Int!
"""Maximum number of generations to evolve"""
maxGenerations: Int!
"""Minutes from horizon start that are frozen (not re-optimized)"""
frozenHorizonMinutes: Int!
"""Whether this run started from scratch (no warm-start seeding)"""
cleanRun: Boolean!
"""Current generation reached"""
currentGeneration: Int!
"""Best makespan achieved (minutes)"""
bestMakespan: Int
"""Best total lateness achieved (minutes)"""
bestLateness: Int
"""Number of solutions in the Pareto front"""
paretoFrontSize: Int
"""Best fitness value achieved"""
bestFitness: Float
"""Error message (only for failed runs)"""
error: String
"""When the optimization started (ISO8601)"""
startedAt: ISO8601
"""When the optimization completed (ISO8601)"""
completedAt: ISO8601
"""When the optimization run was created (ISO8601)"""
createdAt: ISO8601!
"""When the optimization run was last updated (ISO8601)"""
updatedAt: ISO8601!
}