createRsplineSolver

fun createRsplineSolver(problemDefinition: ProblemDefinition, modelBuilder: ModelBuilderIfc, initialNumReps: Int = defaultInitialSampleSize, sampleSizeGrowthRate: Double = defaultReplicationGrowthRate, maxNumReplications: Int = defaultMaxNumReplications, startingPoint: MutableMap<String, Double>? = null, maxIterations: Int = defaultMaxNumberIterations, solutionCache: SolutionCacheIfc = MemorySolutionCache(), simulationRunCache: SimulationRunCacheIfc? = null, experimentRunParameters: ExperimentRunParametersIfc? = null, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = RNStreamProvider(), name: String? = null, parallelOptions: ParallelEvaluationOptions = ParallelEvaluationOptions()): RSplineSolver(source)

Creates and configures an R-SPLINE optimization algorithm for a given problem definition.

Return

An instance of RSplineSolver that encapsulates the optimization process and results.

Parameters

problemDefinition

The definition of the optimization problem, including constraints and objectives.

modelBuilder

The model builder interface used to create models for evaluation.

initialNumReps

The initial number of replications to use during each evaluation. Defaults to defaultInitialSampleSize.

sampleSizeGrowthRate

The growth rate of the sample size as the solver progresses. Defaults to defaultSampleSizeGrowthRate.

maxNumReplications

The maximum number of replications by growth rate. Defaults to defaultMaxNumReplications.

startingPoint

Optional initial coordinates to start the optimization. If left null, the solver will automatically generate a random feasible starting point upon initialization.

maxIterations

The maximum number of iterations the algorithm will run. Defaults to 1000.

solutionCache

Specifies if the evaluator uses a solution cache. By default, this is MemorySolutionCache.

simulationRunCache

Specifies if the simulation oracle will use a SimulationRunCache. The default is null (no cache).

experimentRunParameters

the run parameters to apply to the model during the building process

streamNum

the random number stream number; 0 (the default) means the next available stream

streamProvider

the provider of random number streams; defaults to a fresh RNStreamProvider, so each solver has its own streams