A bunch of minor changes.

1. Fix a typo in auto_diff_cost_function.h
2. Fix and update Solver::Summary::FullReport() text labels.
3. Add logging of the number of residual and jacobian evaluations
   to the full report. The GradientProblemSolver already does this.

Change-Id: I41059af5f0ebe0417accbbc30b0808a4b04b9edb
This commit is contained in:
Sameer Agarwal
2018-02-05 15:15:40 -08:00
parent 0ca99358cc
commit 0251359830
7 changed files with 37 additions and 9 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ string GradientProblemSolver::Summary::FullReport() const {
StringAppendF(&report, "\n Cost evaluation %23.6f (%d)\n",
cost_evaluation_time_in_seconds,
num_cost_evaluations);
StringAppendF(&report, " Gradient evaluation %23.6f (%d)\n",
StringAppendF(&report, " Gradient & cost evaluation %16.6f (%d)\n",
gradient_evaluation_time_in_seconds,
num_gradient_evaluations);
StringAppendF(&report, " Polynomial minimization %17.6f\n",