Interface SolverRuntimeConfig


public interface SolverRuntimeConfig
During run time, this overrides some of Timefold's SolverConfig properties.
  • Method Details

    • environmentMode

      Optional<ai.timefold.solver.core.config.solver.EnvironmentMode> environmentMode()
      Enable runtime assertions to detect common bugs in your implementation during development. Defaults to EnvironmentMode.PHASE_ASSERT.
    • daemon

      Optional<Boolean> daemon()
      Enable daemon mode. In daemon mode, non-early termination pauses the solver instead of stopping it, until the next problem fact change arrives. This is often useful for real-time planning. Defaults to "false".
    • moveThreadCount

      Optional<String> moveThreadCount()
      Note: this setting is only available in Timefold Solver Enterprise Edition. Enable multithreaded solving for a single problem, which increases CPU consumption. Defaults to "NONE". Other options include "AUTO", a number or formula based on the available processor count.
    • termination

      Configuration properties that overwrite TerminationConfig.
    • randomSeed

      Optional<Long> randomSeed()
      Configuration of the random seed.