}
<BUG>nrDimensions = nrBorePoints - unchangedBorePoints;
</BUG>
if (nrDimensions > 1)
{
optimizerType = OptimizerType.BOBYQAOptimizer; // MultivariateOptimizer
}
else
{
optimizerType = OptimizerType.BrentOptimizer; // UnivariateOptimizer

}
maxEvaluations = 10000;
setConstraints();
}
public BorePositionObjectiveFunction(InstrumentCalculator calculator,
TuningInterface tuning, EvaluatorInterface evaluator, int unchangedBorePoints)
{
this(calculator, tuning, evaluator, unchangedBorePoints, false);
}
public BorePositionObjectiveFunction(InstrumentCalculator calculator,
TuningInterface tuning, EvaluatorInterface evaluator)
{
this(calculator, tuning, evaluator, 1, false);
