From d700cd2cacaafaefcf3c7d7592605320aeeaf4f5 Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Wed, 18 Nov 2009 20:23:07 +0000 Subject: [PATCH] Made some small changes to testSQP to simplify the system and improve convergence. --- cpp/testSQP.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cpp/testSQP.cpp b/cpp/testSQP.cpp index 3bab1ee87..1b7658ec8 100644 --- a/cpp/testSQP.cpp +++ b/cpp/testSQP.cpp @@ -146,7 +146,7 @@ TEST (SQP, problem1_sqp ) { if (verbose) init.print("Initial State"); // loop until convergence - int maxIt = 50; + int maxIt = 5; for (int i = 0; i