← All types
ProductionOb Object

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)
QUEUED

Optimization run is queued for processing

RUNNING

Optimization run is actively executing

COMPLETED

Optimization run finished successfully

FAILED

Optimization run encountered an error

CANCELLED

Optimization run was cancelled

generation

Int!Non-null

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

StringNullable

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
}