[mlpack-svn] r11461 - mlpack/trunk/src/mlpack/core/optimizers/lrsdp
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Feb 10 12:55:50 EST 2012
Author: rcurtin
Date: 2012-02-10 12:55:50 -0500 (Fri, 10 Feb 2012)
New Revision: 11461
Modified:
mlpack/trunk/src/mlpack/core/optimizers/lrsdp/lrsdp_impl.hpp
Log:
A quick hack to make the tests faster. This'll go away when I redo the LRSDP
API.
Modified: mlpack/trunk/src/mlpack/core/optimizers/lrsdp/lrsdp_impl.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/optimizers/lrsdp/lrsdp_impl.hpp 2012-02-10 17:55:33 UTC (rev 11460)
+++ mlpack/trunk/src/mlpack/core/optimizers/lrsdp/lrsdp_impl.hpp 2012-02-10 17:55:50 UTC (rev 11461)
@@ -24,6 +24,9 @@
// Create the Augmented Lagrangian function.
AugLagrangian<LRSDP> auglag(*this);
+ // A kludge for now until we have a better option to implement.
+ auglag.LBFGS().MaxIterations() = 1000;
+
auglag.Optimize(coordinates);
return Evaluate(coordinates);
More information about the mlpack-svn
mailing list