X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=optimization%2Ftest_functions%2Fpowell.m;h=5ea74e388f10094ba981b188f6c5541ca8c701a0;hp=5031316539e587600f61bcc220adec9771086c89;hb=b12c6c2a4bf4cef29b2e08b743c92889505c7ed9;hpb=e1b71b4ca7cfa08ac76744a17a3778d4ccfaa7e2 diff --git a/optimization/test_functions/powell.m b/optimization/test_functions/powell.m index 5031316..5ea74e3 100644 --- a/optimization/test_functions/powell.m +++ b/optimization/test_functions/powell.m @@ -1,11 +1,11 @@ function f = powell(x1,x2,x3,x4) - ## The Powell function. See Dennis & Schnabel, Appendix B, problem - ## #1. (The "regular" Powell function is simply the Extended Powell - ## with m=1). - ## - ## This function has a minimum at x=(0,0,0,0) with f(x) == 0. The - ## suggested starting point is x0=(3,-1,0,1). - ## + % The Powell function. See Dennis & Schnabel, Appendix B, problem + % #1. (The "regular" Powell function is simply the Extended Powell + % with m=1). + % + % This function has a minimum at x=(0,0,0,0) with f(x) == 0. The + % suggested starting point is x0=(3,-1,0,1). + % f = (x1 + 10*x2)^2 + 5*(x3 - x4)^2; f = f + (x2 - 2*x3)^4 + 10*(x1 - x4)^4; end