@@ -105,14 +105,14 @@ void TrustRegionSQPSolver::solve(const QPProblem::Ptr& qp_problem)
105105 const double elapsed_time = std::chrono::duration<double , std::milli>(Clock::now () - start_time).count () / 1000.0 ;
106106 if (elapsed_time > params.max_time )
107107 {
108- CONSOLE_BRIDGE_logInform (" Elapsed time %f has exceeded max time %f" , elapsed_time, params.max_time );
108+ CONSOLE_BRIDGE_logDebug (" Elapsed time %f has exceeded max time %f" , elapsed_time, params.max_time );
109109 status_ = SQPStatus::OPT_TIME_LIMIT;
110110 break ;
111111 }
112112
113113 if (results_.overall_iteration >= params.max_iterations )
114114 {
115- CONSOLE_BRIDGE_logInform (" Iteration limit" );
115+ CONSOLE_BRIDGE_logDebug (" Iteration limit" );
116116 status_ = SQPStatus::ITERATION_LIMIT;
117117 break ;
118118 }
@@ -146,7 +146,7 @@ void TrustRegionSQPSolver::solve(const QPProblem::Ptr& qp_problem)
146146 if (status_ == SQPStatus::RUNNING)
147147 {
148148 status_ = SQPStatus::PENALTY_ITERATION_LIMIT;
149- CONSOLE_BRIDGE_logInform (" Penalty iteration limit, optimization couldn't satisfy all constraints" );
149+ CONSOLE_BRIDGE_logDebug (" Penalty iteration limit, optimization couldn't satisfy all constraints" );
150150 }
151151
152152 // Final Cleanup
@@ -161,13 +161,13 @@ bool TrustRegionSQPSolver::verifySQPSolverConvergence()
161161 // Check if constraints are satisfied
162162 if (results_.best_constraint_violations .size () == 0 )
163163 {
164- CONSOLE_BRIDGE_logInform (" Optimization has converged and there are no constraints" );
164+ CONSOLE_BRIDGE_logDebug (" Optimization has converged and there are no constraints" );
165165 return true ;
166166 }
167167
168168 if (results_.best_constraint_violations .maxCoeff () < params.cnt_tolerance )
169169 {
170- CONSOLE_BRIDGE_logInform (" woo-hoo! constraints are satisfied (to tolerance %.2e)" , params.cnt_tolerance );
170+ CONSOLE_BRIDGE_logDebug (" woo-hoo! constraints are satisfied (to tolerance %.2e)" , params.cnt_tolerance );
171171 return true ;
172172 }
173173
@@ -183,14 +183,14 @@ void TrustRegionSQPSolver::adjustPenalty()
183183 {
184184 if (results_.best_constraint_violations [idx] > params.cnt_tolerance )
185185 {
186- CONSOLE_BRIDGE_logInform (" Not all constraints are satisfied. Increasing constraint penalties for %d" , idx);
186+ CONSOLE_BRIDGE_logDebug (" Not all constraints are satisfied. Increasing constraint penalties for %d" , idx);
187187 results_.merit_error_coeffs [idx] *= params.merit_coeff_increase_ratio ;
188188 }
189189 }
190190 }
191191 else
192192 {
193- CONSOLE_BRIDGE_logInform (" Not all constraints are satisfied. Increasing constraint penalties uniformly" );
193+ CONSOLE_BRIDGE_logDebug (" Not all constraints are satisfied. Increasing constraint penalties uniformly" );
194194 results_.merit_error_coeffs *= params.merit_coeff_increase_ratio ;
195195 }
196196 setBoxSize (fmax (results_.box_size [0 ], params.min_trust_box_size / params.trust_shrink_ratio * 1.5 ));
@@ -222,7 +222,7 @@ bool TrustRegionSQPSolver::stepSQPSolver()
222222
223223 if (results_.box_size .maxCoeff () < params.min_trust_box_size )
224224 {
225- CONSOLE_BRIDGE_logInform (" Converged because trust region is tiny" );
225+ CONSOLE_BRIDGE_logDebug (" Converged because trust region is tiny" );
226226 status_ = SQPStatus::NLP_CONVERGED;
227227 return true ;
228228 }
0 commit comments