@Mattias_Andersson wrote:
Hi all,
I’ve got the following code:// F, I, Precision and MaxEvaluations are defined elsewhere try { var Function = ObjectiveFunction.Value(new Func<Vector<double>, double>(z => F(z.AsArray()))); var InitialGuess = new DenseVector(I); var result = NelderMeadSimplex.Minimum(Function, InitialGuess, Precision, MaxEvaluations); } catch (MaximumIterationsException) { }
In case the Minimum function throws a MaximumIterationsException, is there any way to retrieve any information about the simplex result or last guess?
Posts: 2
Participants: 2