aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-07-27 16:33:17 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-07-27 16:33:17 +0000
commit0626a3d151445530e30869fdb0081340ddb1569d (patch)
tree8eec3e73e40ec2558515382f58d452c48421dfb7 /test
parentec98632c792e5a27adda479e5320a7f71e6fb278 (diff)
downloadopt-utilities-0626a3d151445530e30869fdb0081340ddb1569d.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@130 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'test')
-rw-r--r--test/test_optimizer.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test_optimizer.cpp b/test/test_optimizer.cpp
index 8d0b405..6853efc 100644
--- a/test/test_optimizer.cpp
+++ b/test/test_optimizer.cpp
@@ -2,6 +2,7 @@
#include <cassert>
#include <core/optimizer.hpp>
#include <methods/powell/powell_method.hpp>
+#include <methods/lbfgs/lbfgs_method.hpp>
//#include <methods/gsl_simplex/gsl_simplex.hpp>
#include <vector>
#include <iostream>
@@ -151,9 +152,10 @@ int main()
{
// gsl_simplex<double,vector<double> > pm_simplex;
powell_method<double,vector<double> > pm_powell;
- test_opt(foo1(),pm_powell);
- test_opt(foo2(),pm_powell);
- test_opt(foo3(),pm_powell);
+ lbfgs_method<double,vector<double> > lbfgsm;
+ test_opt(foo1(),lbfgsm);
+ test_opt(foo2(),lbfgsm);
+ test_opt(foo3(),lbfgsm);
test_opt(foo4(),pm_powell);
test_opt(foo5(),pm_powell);
}