From 8484c85784b84cc3a9257f8d8065b3a8a7800628 Mon Sep 17 00:00:00 2001 From: harpreet Date: Wed, 6 Apr 2016 10:46:05 +0530 Subject: qpiopt updated --- sci_gateway/cpp/sci_ipoptfmincon.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sci_gateway/cpp/sci_ipoptfmincon.cpp') diff --git a/sci_gateway/cpp/sci_ipoptfmincon.cpp b/sci_gateway/cpp/sci_ipoptfmincon.cpp index 18218a5..f19bbeb 100644 --- a/sci_gateway/cpp/sci_ipoptfmincon.cpp +++ b/sci_gateway/cpp/sci_ipoptfmincon.cpp @@ -140,9 +140,10 @@ int sci_solveminconp(char *fname) ////////// Managing the parameters ////////// - app->Options()->SetNumericValue("tol", 1e-7); + app->Options()->SetNumericValue("tol", 1e-6); app->Options()->SetIntegerValue("max_iter", (int)*max_iter); app->Options()->SetNumericValue("max_cpu_time", *cpu_time); +// app->Options()->SetStringValue("hessian_approximation", "limited-memory"); ///////// Initialize the IpoptApplication and process the options ///////// ApplicationReturnStatus status; -- cgit