File tree Expand file tree Collapse file tree
uno/ingredients/globalization_mechanisms Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ namespace uno {
9191 UserCallbacks& user_callbacks) const {
9292 double step_length = 1 .;
9393 bool termination = false ;
94+ bool in_soc = false ;
9495 size_t number_iterations = 0 ;
9596 while (!termination) {
9697 ++number_iterations;
@@ -124,6 +125,12 @@ namespace uno {
124125 GlobalizationMechanism::set_dual_residuals_statistics (statistics, trial_iterate);
125126 if (Logger::level == INFO ) statistics.print_current_line ();
126127 }
128+ // from here on, the trial iterate was rejected
129+ else if (number_iterations == 1 ) {
130+ // enter second-order corrections
131+ in_soc = true ;
132+ WARNING << " Entering second-order corrections\n " ;
133+ }
127134 else if (step_length >= this ->minimum_step_length ) {
128135 step_length = this ->decrease_step_length (step_length);
129136 evaluation_cache.trial_evaluations .reset ();
You can’t perform that action at this time.
0 commit comments