Home | History | Annotate | Download | only in ceres

Lines Matching refs:summary

66 LinearSolver::Summary ConjugateGradientsSolver::Solve(
76 LinearSolver::Summary summary;
77 summary.termination_type = LINEAR_SOLVER_NO_CONVERGENCE;
78 summary.message = "Maximum number of iterations reached.";
79 summary.num_iterations = 0;
88 summary.termination_type = LINEAR_SOLVER_SUCCESS;
89 summary.message = "Convergence. |b| = 0.";
90 return summary;
105 summary.termination_type = LINEAR_SOLVER_SUCCESS;
106 summary.message =
108 return summary;
116 for (summary.num_iterations = 1;
117 summary.num_iterations < options_.max_num_iterations;
118 ++summary.num_iterations) {
130 summary.termination_type = LINEAR_SOLVER_FAILURE;
131 summary.message = StringPrintf("Numerical failure. rho = r'z = %e.", rho);
135 if (summary.num_iterations == 1) {
140 summary.termination_type = LINEAR_SOLVER_FAILURE;
141 summary.message = StringPrintf(
153 summary.termination_type = LINEAR_SOLVER_FAILURE;
154 summary.message = StringPrintf("Numerical failure. p'q = %e.", pq);
160 summary.termination_type = LINEAR_SOLVER_FAILURE;
161 summary.message =
175 if (summary.num_iterations % options_.residual_reset_period == 0) {
209 const double zeta = summary.num_iterations * (Q1 - Q0) / Q1;
211 summary.termination_type = LINEAR_SOLVER_SUCCESS;
212 summary.message =
223 summary.termination_type = LINEAR_SOLVER_SUCCESS;
224 summary.message =
230 return summary;