Lines Matching refs:summary

73     Solver::Summary* summary) {  in TrustRegionMinimize()  argument
122 minimizer.Minimize(minimizer_options, parameters.data(), summary); in TrustRegionMinimize()
127 if (summary->termination_type != USER_FAILURE && in TrustRegionMinimize()
128 summary->termination_type != FAILURE) { in TrustRegionMinimize()
133 summary->minimizer_time_in_seconds = in TrustRegionMinimize()
141 Solver::Summary* summary) { in LineSearchMinimize() argument
169 minimizer.Minimize(minimizer_options, parameters.data(), summary); in LineSearchMinimize()
174 if (summary->termination_type != USER_FAILURE && in LineSearchMinimize()
175 summary->termination_type != FAILURE) { in LineSearchMinimize()
180 summary->minimizer_time_in_seconds = in LineSearchMinimize()
186 Solver::Summary* summary) { in Solve() argument
197 TrustRegionSolve(options, problem_impl, summary); in Solve()
199 LineSearchSolve(options, problem_impl, summary); in Solve()
205 Solver::Summary* summary) { in TrustRegionSolve() argument
212 summary->minimizer_type = TRUST_REGION; in TrustRegionSolve()
214 SummarizeGivenProgram(*original_program, summary); in TrustRegionSolve()
216 &(summary->linear_solver_ordering_given)); in TrustRegionSolve()
218 &(summary->inner_iteration_ordering_given)); in TrustRegionSolve()
239 summary->num_threads_given = original_options.num_threads; in TrustRegionSolve()
240 summary->num_threads_used = options.num_threads; in TrustRegionSolve()
245 summary->message = in TrustRegionSolve()
247 LOG(ERROR) << summary->message; in TrustRegionSolve()
251 if (!original_program->ParameterBlocksAreFinite(&summary->message)) { in TrustRegionSolve()
252 LOG(ERROR) << "Terminating: " << summary->message; in TrustRegionSolve()
256 if (!original_program->IsFeasible(&summary->message)) { in TrustRegionSolve()
257 LOG(ERROR) << "Terminating: " << summary->message; in TrustRegionSolve()
285 if (!IsOrderingValid(options, problem_impl, &summary->message)) { in TrustRegionSolve()
286 LOG(ERROR) << summary->message; in TrustRegionSolve()
306 &summary->fixed_cost, in TrustRegionSolve()
307 &summary->message)); in TrustRegionSolve()
315 &(summary->linear_solver_ordering_used)); in TrustRegionSolve()
316 SummarizeReducedProgram(*reduced_program, summary); in TrustRegionSolve()
318 if (summary->num_parameter_blocks_reduced == 0) { in TrustRegionSolve()
319 summary->preprocessor_time_in_seconds = in TrustRegionSolve()
324 summary->message = in TrustRegionSolve()
327 summary->termination_type = CONVERGENCE; in TrustRegionSolve()
328 VLOG_IF(1, options.logging_type != SILENT) << summary->message; in TrustRegionSolve()
330 summary->initial_cost = summary->fixed_cost; in TrustRegionSolve()
331 summary->final_cost = summary->fixed_cost; in TrustRegionSolve()
337 summary->postprocessor_time_in_seconds = in TrustRegionSolve()
343 linear_solver(CreateLinearSolver(&options, &summary->message)); in TrustRegionSolve()
349 summary->linear_solver_type_given = original_options.linear_solver_type; in TrustRegionSolve()
350 summary->linear_solver_type_used = options.linear_solver_type; in TrustRegionSolve()
352 summary->preconditioner_type = options.preconditioner_type; in TrustRegionSolve()
353 summary->visibility_clustering_type = options.visibility_clustering_type; in TrustRegionSolve()
355 summary->num_linear_solver_threads_given = in TrustRegionSolve()
357 summary->num_linear_solver_threads_used = options.num_linear_solver_threads; in TrustRegionSolve()
359 summary->dense_linear_algebra_library_type = in TrustRegionSolve()
361 summary->sparse_linear_algebra_library_type = in TrustRegionSolve()
364 summary->trust_region_strategy_type = options.trust_region_strategy_type; in TrustRegionSolve()
365 summary->dogleg_type = options.dogleg_type; in TrustRegionSolve()
370 &summary->message)); in TrustRegionSolve()
388 summary)); in TrustRegionSolve()
390 LOG(ERROR) << summary->message; in TrustRegionSolve()
398 summary->preprocessor_time_in_seconds = in TrustRegionSolve()
407 summary); in TrustRegionSolve()
412 SetSummaryFinalCost(summary); in TrustRegionSolve()
421 summary->linear_solver_time_in_seconds = in TrustRegionSolve()
429 summary->residual_evaluation_time_in_seconds = in TrustRegionSolve()
431 summary->jacobian_evaluation_time_in_seconds = in TrustRegionSolve()
435 summary->postprocessor_time_in_seconds = in TrustRegionSolve()
442 Solver::Summary* summary) { in LineSearchSolve() argument
448 SummarizeGivenProgram(*original_program, summary); in LineSearchSolve()
449 summary->minimizer_type = LINE_SEARCH; in LineSearchSolve()
450 summary->line_search_direction_type = in LineSearchSolve()
452 summary->max_lbfgs_rank = original_options.max_lbfgs_rank; in LineSearchSolve()
453 summary->line_search_type = original_options.line_search_type; in LineSearchSolve()
454 summary->line_search_interpolation_type = in LineSearchSolve()
456 summary->nonlinear_conjugate_gradient_type = in LineSearchSolve()
460 summary->message = "LINE_SEARCH Minimizer does not support bounds."; in LineSearchSolve()
461 LOG(ERROR) << "Terminating: " << summary->message; in LineSearchSolve()
484 summary->num_threads_given = original_options.num_threads; in LineSearchSolve()
485 summary->num_threads_used = options.num_threads; in LineSearchSolve()
487 if (!original_program->ParameterBlocksAreFinite(&summary->message)) { in LineSearchSolve()
488 LOG(ERROR) << "Terminating: " << summary->message; in LineSearchSolve()
493 if (!IsOrderingValid(options, problem_impl, &summary->message)) { in LineSearchSolve()
494 LOG(ERROR) << summary->message; in LineSearchSolve()
533 &summary->fixed_cost, in LineSearchSolve()
534 &summary->message)); in LineSearchSolve()
539 SummarizeReducedProgram(*reduced_program, summary); in LineSearchSolve()
540 if (summary->num_parameter_blocks_reduced == 0) { in LineSearchSolve()
541 summary->preprocessor_time_in_seconds = in LineSearchSolve()
544 summary->message = in LineSearchSolve()
547 summary->termination_type = CONVERGENCE; in LineSearchSolve()
548 VLOG_IF(1, options.logging_type != SILENT) << summary->message; in LineSearchSolve()
549 summary->initial_cost = summary->fixed_cost; in LineSearchSolve()
550 summary->final_cost = summary->fixed_cost; in LineSearchSolve()
553 SetSummaryFinalCost(summary); in LineSearchSolve()
559 summary->postprocessor_time_in_seconds = in LineSearchSolve()
567 &summary->message)); in LineSearchSolve()
573 summary->preprocessor_time_in_seconds = in LineSearchSolve()
577 LineSearchMinimize(options, reduced_program.get(), evaluator.get(), summary); in LineSearchSolve()
581 SetSummaryFinalCost(summary); in LineSearchSolve()
590 summary->residual_evaluation_time_in_seconds = in LineSearchSolve()
592 summary->jacobian_evaluation_time_in_seconds = in LineSearchSolve()
596 summary->postprocessor_time_in_seconds = in LineSearchSolve()
911 Solver::Summary* summary) { in CreateInnerIterationMinimizer() argument
912 summary->inner_iterations_given = true; in CreateInnerIterationMinimizer()
927 &summary->message)) { in CreateInnerIterationMinimizer()
935 &summary->message)) { in CreateInnerIterationMinimizer()
939 summary->inner_iterations_used = true; in CreateInnerIterationMinimizer()
940 summary->inner_iteration_time_in_seconds = 0.0; in CreateInnerIterationMinimizer()
942 &(summary->inner_iteration_ordering_used)); in CreateInnerIterationMinimizer()