ConcurrentRunOptions

data class ConcurrentRunOptions(val numWorkers: Int? = null, val substreamBlockSize: Int = DEFAULT_SUBSTREAM_BLOCK_SIZE, val confirmation: ConfirmationOptions? = null)(source)

Options governing concurrent solver execution (parallel random restarts, solver portfolios).

Parameters

numWorkers

the maximum number of members running at the same time; null (the default) uses the smaller of the member count and the available processors. Must be positive when specified.

substreamBlockSize

the size of the sub-stream tape block reserved for each member: member k's simulation streams start at sub-stream index k times this value, so members draw from non-overlapping tape regions regardless of scheduling. Sub-stream positioning is a constant-time jump, so a generous default costs nothing. A member consumes roughly (its evaluations times its replications per evaluation) sub-streams; the default of one million comfortably exceeds realistic runs, and the pooled evaluator factory logs a warning if a member overruns its block.

confirmation

when non-null, a confirmation stage re-evaluates the top member solutions under common random numbers after all members complete; see ConfirmationOptions. When null (the default) the winner is picked by point estimate.

Constructors

Link copied to clipboard
constructor(numWorkers: Int? = null, substreamBlockSize: Int = DEFAULT_SUBSTREAM_BLOCK_SIZE, confirmation: ConfirmationOptions? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard