Lines Matching refs:summary

93   LineSearch::Summary summary;  in DoLineSearch()  local
96 line_search->Search(1.0, cost, gradient.dot(delta), &summary); in DoLineSearch()
97 if (!summary.success) { in DoLineSearch()
101 line_search->Search(1.0, cost, -gradient.squaredNorm(), &summary); in DoLineSearch()
103 return summary; in DoLineSearch()
126 Solver::Summary* summary) { in Minimize() argument
146 summary->termination_type = NO_CONVERGENCE; in Minimize()
147 summary->num_successful_steps = 0; in Minimize()
148 summary->num_unsuccessful_steps = 0; in Minimize()
184 summary->message = in Minimize()
186 summary->termination_type = FAILURE; in Minimize()
187 LOG_IF(WARNING, is_not_silent) << "Terminating: " << summary->message; in Minimize()
203 summary->message = "Residual and Jacobian evaluation failed."; in Minimize()
204 summary->termination_type = FAILURE; in Minimize()
205 LOG_IF(WARNING, is_not_silent) << "Terminating: " << summary->message; in Minimize()
213 summary->message = "Unable to compute gradient step."; in Minimize()
214 summary->termination_type = FAILURE; in Minimize()
215 LOG(ERROR) << "Terminating: " << summary->message; in Minimize()
219 summary->initial_cost = cost + summary->fixed_cost; in Minimize()
220 iteration_summary.cost = cost + summary->fixed_cost; in Minimize()
226 summary->message = StringPrintf("Gradient tolerance reached. " in Minimize()
230 summary->termination_type = CONVERGENCE; in Minimize()
231 VLOG_IF(1, is_not_silent) << "Terminating: " << summary->message; in Minimize()
246 + summary->preprocessor_time_in_seconds; in Minimize()
247 summary->iterations.push_back(iteration_summary); in Minimize()
259 if (!RunCallbacks(options, iteration_summary, summary)) { in Minimize()
265 summary->message = "Maximum number of iterations reached."; in Minimize()
266 summary->termination_type = NO_CONVERGENCE; in Minimize()
267 VLOG_IF(1, is_not_silent) << "Terminating: " << summary->message; in Minimize()
272 summary->preprocessor_time_in_seconds; in Minimize()
274 summary->message = "Maximum solver time reached."; in Minimize()
275 summary->termination_type = NO_CONVERGENCE; in Minimize()
276 VLOG_IF(1, is_not_silent) << "Terminating: " << summary->message; in Minimize()
305 summary->message = in Minimize()
308 summary->termination_type = FAILURE; in Minimize()
309 LOG_IF(WARNING, is_not_silent) << "Terminating: " << summary->message; in Minimize()
314 iteration_summary.iteration = summary->iterations.back().iteration + 1; in Minimize()
352 summary->message = StringPrintf( in Minimize()
356 summary->termination_type = FAILURE; in Minimize()
357 LOG_IF(WARNING, is_not_silent) << "Terminating: " << summary->message; in Minimize()
366 iteration_summary.cost = cost + summary->fixed_cost; in Minimize()
369 summary->iterations.back().gradient_max_norm; in Minimize()
371 summary->iterations.back().gradient_norm; in Minimize()
414 ++summary->num_inner_iteration_steps; in Minimize()
450 summary->inner_iteration_time_in_seconds += in Minimize()
461 summary->message = in Minimize()
467 summary->termination_type = CONVERGENCE; in Minimize()
468 VLOG_IF(1, is_not_silent) << "Terminating: " << summary->message; in Minimize()
476 summary->message = in Minimize()
481 summary->termination_type = CONVERGENCE; in Minimize()
482 VLOG_IF(1, is_not_silent) << "Terminating: " << summary->message; in Minimize()
567 ++summary->num_successful_steps; in Minimize()
580 summary->message = "Residual and Jacobian evaluation failed."; in Minimize()
581 summary->termination_type = FAILURE; in Minimize()
582 LOG_IF(WARNING, is_not_silent) << "Terminating: " << summary->message; in Minimize()
590 summary->message = in Minimize()
592 summary->termination_type = FAILURE; in Minimize()
593 LOG(ERROR) << "Terminating: " << summary->message; in Minimize()
602 summary->message = StringPrintf("Gradient tolerance reached. " in Minimize()
606 summary->termination_type = CONVERGENCE; in Minimize()
607 VLOG_IF(1, is_not_silent) << "Terminating: " << summary->message; in Minimize()
658 ++summary->num_unsuccessful_steps; in Minimize()
666 iteration_summary.cost = cost + summary->fixed_cost; in Minimize()
670 summary->message = "Termination. Minimum trust region radius reached."; in Minimize()
671 summary->termination_type = CONVERGENCE; in Minimize()
672 VLOG_IF(1, is_not_silent) << summary->message; in Minimize()
680 + summary->preprocessor_time_in_seconds; in Minimize()
681 summary->iterations.push_back(iteration_summary); in Minimize()