X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=optimization%2Ftest_functions%2Fwood.m;h=eb8b2e7983b7864565249ee743ab0a72526275c9;hp=3e11a40f0f915c88f52da01637c638e6dbdbfd7e;hb=b12c6c2a4bf4cef29b2e08b743c92889505c7ed9;hpb=e1b71b4ca7cfa08ac76744a17a3778d4ccfaa7e2 diff --git a/optimization/test_functions/wood.m b/optimization/test_functions/wood.m index 3e11a40..eb8b2e7 100644 --- a/optimization/test_functions/wood.m +++ b/optimization/test_functions/wood.m @@ -1,9 +1,9 @@ function f = wood(x1, x2, x3, x4) - ## - ## The Wood function. See Dennis & Schnabel, Appendix B, problem #5. - ## This function has a global minimum at x=(1,1,1,1) with f(x) == 0. - ## The suggested starting point is x0=(-3, -1, -3, -1). - ## + % + % The Wood function. See Dennis & Schnabel, Appendix B, problem #5. + % This function has a global minimum at x=(1,1,1,1) with f(x) == 0. + % The suggested starting point is x0=(-3, -1, -3, -1). + % f = 100*(x1^2 - x2)^2 + (x1 - 1)^2 + (x3 - 1)^2; f = f + 90*(x3^2 - x4)^2; f = f + 10.1*((x2 - 1)^2 + (x4 - 1)^2);