| commit | 80a85ca53f20d1cf7972db789ae7daf76ea1f8d2 | [log] [tgz] |
|---|---|---|
| author | Keir Mierle <mierle@gmail.com> | Thu May 29 21:57:18 2014 -0700 |
| committer | Sameer Agarwal <sandwichmaker@gmail.com> | Fri May 30 05:18:36 2014 +0000 |
| tree | fa7e8cce882bfdadd47e9bb708e5c40675eeb3ac | |
| parent | 87a40da1450fb3fb7502a3796f9a610e0ad6295f [diff] |
Replace broken CERES_VERSION macro
This replaces the broken CERES_VERSION and CERES_ABI_VERSION
defines with a different set, including integer versions for
MAJOR/MINOR/etc.
This also adds the Ceres version to Solver::FullReport().
Example report from powell:
Ceres Solver v1.10.0 Solve Report
----------------------------------
Original Reduced
Parameter blocks 4 4
Parameters 4 4
Residual blocks 4 4
Residual 4 4
Minimizer TRUST_REGION
Dense linear algebra library EIGEN
Trust region strategy LEVENBERG_MARQUARDT
Given Used
Linear solver DENSE_QR DENSE_QR
Threads 1 1
Linear solver threads 1 1
Cost:
Initial 1.075000e+02
Final 1.791438e-14
Change 1.075000e+02
Minimizer iterations 14
Successful steps 14
Unsuccessful steps 0
Time (in seconds):
Preprocessor 0.001
Residual evaluation 0.000
Jacobian evaluation 0.000
Linear solver 0.000
Minimizer 0.001
Postprocessor 0.000
Total 0.003
Change-Id: I5bf0e8023693e9195276b1f1e881b13121ba1196
Termination: CONVERGENCE (Gradient tolerance reached. Gradient max norm: 3.642190e-11 <= 1.000000e-10)