aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--example/test_optimizer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/test_optimizer.cpp b/example/test_optimizer.cpp
index 99b9ec2..f02742c 100644
--- a/example/test_optimizer.cpp
+++ b/example/test_optimizer.cpp
@@ -55,6 +55,9 @@ int main()
std::cout<<"optimization result:"<<
p[0]<<" "<<p[1]<<" "<<p[2]<<std::endl;
+
+ /////////////////////////////////////////////
+
//Let's change another method
op.set_opt_method(opt_utilities::aga_method<double,std::vector<double> >());
//define the lower and upper limit