From 82c33c67341ab3dbccc7667d1ce323c0041fc3b2 Mon Sep 17 00:00:00 2001 From: Pierre Fernbach <pierre.fernbach@laas.fr> Date: Tue, 20 Feb 2018 16:58:49 +0100 Subject: [PATCH] comment some debug messages --- src/common_solve_methods.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common_solve_methods.cpp b/src/common_solve_methods.cpp index 0dc0ab4..4d1b3ba 100644 --- a/src/common_solve_methods.cpp +++ b/src/common_solve_methods.cpp @@ -196,14 +196,14 @@ ResultData solve(Cref_matrixXX A, Cref_vectorX ci0, Cref_matrixXX H, Cref_vector tsid::solvers::EiquadprogFast_status status = QPsolver.solve_quadprog(H,g,CE,ce0,CI,ci0,x); ResultData res; res.success_ = (status == tsid::solvers::EIQUADPROG_FAST_OPTIMAL ); - std::cout<<"quad_prog status : "<<status<<std::endl; + //std::cout<<"quad_prog status : "<<status<<std::endl; if(res.success_) { assert (!(is_nan(x))); res.x = x; res.cost_ = QPsolver.getObjValue(); }else{ - std::cout<<"No success, last solution = "<<x.transpose()<<std::endl; + //std::cout<<"No success, last solution = "<<x.transpose()<<std::endl; res.x = x; } return res; -- GitLab