← API reference
CANONICAL TYPE REFERENCE

OptimizationRunState

A schedule optimization run tracking the genetic algorithm progress

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

Population size used for the genetic algorithm

Maximum number of generations to evolve

Minutes from horizon start that are frozen (not re-optimized)

cleanRunBoolean!

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

errorString

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)

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

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