Browse Source
Merge pull request #633 from EricScottSalem/NelderMeadSimplex_Does_Not_Always_Return_Best_Evaluated_Point
Issue 632, NelderMeadSimplex Does Not Always Return Best Evaluated Point
arrays
Christoph Ruegg
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/Numerics/Optimization/NelderMeadSimplex.cs
|
|
|
@ -173,6 +173,7 @@ namespace MathNet.Numerics.Optimization |
|
|
|
throw new MaximumIterationsException(String.Format("Maximum iterations ({0}) reached.", maximumIterations)); |
|
|
|
} |
|
|
|
} |
|
|
|
objectiveFunction.EvaluateAt(vertices[errorProfile.LowestIndex]); |
|
|
|
var regressionResult = new MinimizationResult(objectiveFunction, evaluationCount, exitCondition); |
|
|
|
return regressionResult; |
|
|
|
} |
|
|
|
|