SolverPortfolio

constructor(problemDefinition: ProblemDefinition, evaluator: EvaluatorIfc, members: List<SolverMemberTask>, memberEvaluatorFactory: MemberEvaluatorFactoryIfc, concurrentOptions: ConcurrentRunOptions = ConcurrentRunOptions(), replicationsPerEvaluation: ReplicationPerEvaluationIfc = FixedReplicationsPerEvaluation(defaultReplicationsPerEvaluation), streamNum: Int = 0, streamProvider: RNStreamProviderIfc = RNStreamProvider(), name: String? = null)(source)

Parameters

problemDefinition

the problem all members solve

evaluator

the portfolio's own evaluator; used for the initial-point evaluation and the optional confirmation stage (member evaluations never route through it)

members

the member tasks, in reporting order; labels must be unique

memberEvaluatorFactory

provisions each member's private evaluation resources

concurrentOptions

worker count, stream-block size, and optional confirmation

replicationsPerEvaluation

the replication strategy for the portfolio's own evaluations (the initial point)

streamNum

the random number stream number for the portfolio driver

streamProvider

the stream provider for the portfolio driver

name

optional name identifier for this instance of the solver