aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-08-27 12:45:49 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-08-27 12:45:49 +0000
commit13c74917ecea5c151120678aff05edcc4ea682d5 (patch)
tree6068ea67b352bc40278d4a5c619997f99542c388
parentf11adda11d1275bcff45b20c15194d7a76bb6b59 (diff)
downloadopt-utilities-13c74917ecea5c151120678aff05edcc4ea682d5.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@55 ed2142bd-67ad-457f-ba7c-d818d4011675
-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