← API reference
CANONICAL TYPE REFERENCE

OptimizationProgressEvent

Real-time progress event streamed during schedule optimization

The optimization run this event belongs to

Current status of the optimization run

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

errorString

Error message if the run failed

View exact 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
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.