문제

I have been checking the examples that come with Microsoft Solver Foundation for an example using the Neler-Mead solver. The samples website says there is one, but when I open the NLP sample written in C#, all I see is the Compact Quasi-Newton solver example called SineX.

Anyone find the sample in question, or have any other samples using the Nelder-Mead solver?

MSF Sample list on MSDN (shows two NLP samples, but I only see one) http://msdn.microsoft.com/en-us/library/ff524501(v=vs.93).aspx

도움이 되었습니까?

해결책

The Solver Foundation samples do not appear to contain any explicit Nelder-Mead examples in C#. However, you can easily test Nelder-Mead in the SineX sample by replacing the compact Quasi-Newton solver and parameters with their Nelder-Mead correspondents:

var solver = new NelderMeadSolver();
...
var param = new NelderMeadSolverParams();
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top