diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_optimizer.cpp | 8 |
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); } |