[mlpack-svn] r17413 - mlpack/trunk/src/mlpack/tests

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Nov 25 11:57:36 EST 2014


Author: rcurtin
Date: Tue Nov 25 11:57:36 2014
New Revision: 17413

Log:
Tighten convergence tolerance for RastrigrinFunctionTest, since it doesn't seem
to be coming close enough to the desired minimum.


Modified:
   mlpack/trunk/src/mlpack/tests/sa_test.cpp

Modified: mlpack/trunk/src/mlpack/tests/sa_test.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/tests/sa_test.cpp	(original)
+++ mlpack/trunk/src/mlpack/tests/sa_test.cpp	Tue Nov 25 11:57:36 2014
@@ -111,7 +111,7 @@
     RastrigrinFunction f;
     ExponentialSchedule schedule(3e-6);
     SA<RastrigrinFunction> //sa(f, schedule);
-        sa(f, schedule, 20000000, 100, 50, 1000, 1e-9, 2, 0.2, 0.01, 0.1);
+        sa(f, schedule, 20000000, 100, 50, 1000, 1e-12, 2, 0.2, 0.01, 0.1);
     arma::mat coordinates = f.GetInitialPoint();
 
     const double result = sa.Optimize(coordinates);



More information about the mlpack-svn mailing list