From a484672e4d7507869aa37396e1524f4955253cd9 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Fri, 4 Jun 2010 16:20:37 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@121 ed2142bd-67ad-457f-ba7c-d818d4011675 --- test/many_dims.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/many_dims.cpp b/test/many_dims.cpp index 9afe4a7..f7a1ebc 100644 --- a/test/many_dims.cpp +++ b/test/many_dims.cpp @@ -3,6 +3,7 @@ #include #include //#include +#include #include #include #include @@ -121,7 +122,7 @@ class foo5 void test_opt(const func_obj >& fo, const opt_method >& optm) { - const int problem_size=50; + const int problem_size=500; optimizer > opt; opt.set_func_obj(fo); @@ -163,9 +164,10 @@ void test_opt(const func_obj >& fo, int main() { - // gsl_simplex > pm_simplex; - - aga_method > agam(100,50); + //gsl_simplex > agam; + bfgs_method > agam; + //powell_method > agam; + //aga_method > agam(100,50); test_opt(foo1(),agam); test_opt(foo2(),agam); test_opt(foo3(),agam); -- cgit v1.2.2