version_history.rst 81 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850
  1. .. default-domain:: cpp
  2. .. highlight:: c++
  3. .. cpp:namespace:: ceres
  4. .. _chapter-version-history:
  5. ===============
  6. Version History
  7. ===============
  8. 2.2.0
  9. =====
  10. New Features
  11. ------------
  12. #. Substantial improvement to threading performance across the board
  13. (Dmitry Korchemkin)
  14. #. Mixed precision solves + iterative refinement when using ``CUDA`` or
  15. CPU based dense linear solvers, or ``EIGEN_SPARSE`` as the sparse
  16. linear algebra library. (Sameer Agarwal & Joydeep Biswas)
  17. #. Cuda based CGNR and preconditioner support (Joydeep Biswas & Sameer
  18. Agarwal)
  19. #. Nested Dissection (``NESDIS``) is now supported as an ordering method
  20. in addition to ``AMD``. (Sameer Agarwal, Alex Stewart & Sergiu
  21. Deitsch)
  22. #. **Power Bundle Adjustment** is available as a linear solver and as
  23. a preconditioner by the name of ``SCHUR POWER SERIES EXPANSION``
  24. (Mark Shachkov).
  25. #. Generalized Euler Angle conversions (hs293go@)
  26. Backward Incompatible API Changes
  27. ---------------------------------
  28. #. :class:`LocalParameterization` has been removed, use
  29. :class:`Manifold` instead.
  30. #. Ceres Solver now requires a C++17 compliant compiler.
  31. #. Ceres Solver now requires CMake version 3.16 or later.
  32. #. Ceres Solver now requires SuiteSparse version 4.5.6 or later.
  33. #. OpenMP and NO_THREADING backends have been removed. C++ threads is
  34. how all threading is done.
  35. #. Support for ``CX_SPARSE`` as a sparse linear algebra backend has
  36. been removed. Similar or better performance can be expected from
  37. ``Eigen`` as the sparse linear algebra library.
  38. Bug Fixes & Minor Changes
  39. -------------------------
  40. #. Optimize the computation of the LM diagonal in TinySolver
  41. #. Improvements to multi-threaded performance for small problems that
  42. had regressed due to changes to threading (Dmitrity Korchemkin)
  43. #. Fix handling of M_PI for MSVC (Sergiu Deitsch)
  44. #. Add a default value for Solver::Summary::linear_solver_ordering_type (Sameer Agarwal)
  45. #. Make sure that the code compiles well with CUDA 11 (Dmitriy
  46. Korchemkin)
  47. #. Rework MSVC warning suppression (Sergiu Deitsch)
  48. #. Add an example for EvaluationCallback (Sameer Agarwal)
  49. #. Add an example for IterationCallback (Sameer Agarwal)
  50. #. Add end-to-end BA tests for SCHUR_POWER_SERIES_EXPANSION (Sameer Agarwal)
  51. #. Update documentation for linear solvers (Sameer Agarwal)
  52. #. Add an accessor for the CostFunctor in DynamicAutoDiffCostFunction (Sameer Agarwal)
  53. #. Runtime check for cudaMallocAsync support (Dmitriy Korchemkin)
  54. #. Remove cuda-memcheck based tests (Sameer Agarwal)
  55. #. Modernize ``Sphinx`` related CMake handling as well the ``Sphinx``
  56. build process in the terminal. (Sergiu Deitsch)
  57. #. Fix macos ``sprintf`` security related warnings (Sergiu Deitsch)
  58. #. Lots of Cuda releated build system fixes (Sergiu Deitsch, Dmitriy
  59. Korchemkin, Jason Mak)
  60. #. Improved windows build support (Sergiu Deitsch)
  61. #. Various documentation fixes (Maxim Smolskiy, Evan Levine)
  62. #. Improved handling of large Jacobians (Sameer Agarwal)
  63. #. Improved handling of infinite initial cost (Sameer Agarwal)
  64. #. Improved traits support for Jets (Sameer Agarwal)
  65. #. Improved tests for Euler angle conversion routines (@Hs293Go)
  66. #. Use a std::tuple to store ProductManifold for better efficiency
  67. (Sergiu Deitsch)
  68. #. Allow default construction of ProductManifold when underlying
  69. manifolds have default constructors (Sergiu Deitsch)
  70. #. Move LineManifold and SphereManifold into their own headers (Sameer
  71. Agarwal)
  72. #. Fix a byte vs number of elements error when dealing with CUDA
  73. workspace computations (Joydeep Biswas)
  74. #. Hide and prevent internal symbols from being exported (Sergiu
  75. Deitsch)
  76. #. Switch to imported SuiteSparse, CXSparse & METIS targets.
  77. #. Improve compilation on Ubuntu 20.04 (Sergiu Deitsch)
  78. #. Update to using gtest 1.11.0 (Sameer Agarwal)
  79. #. Fix Euler angle conversion code to not rely on constexpr
  80. constrctors for Jets. (Sameer Agarwal)
  81. #. BlockRandomAccessSparseMatrix now uses a BlockSparseMatrix as
  82. storage instead of TripletSparseMatrix. (Dmitriy Korchemkin)
  83. #. Deduction guide for DynamicAutoDiffCostFunction (Sergiu Deitsch)
  84. #. Explicit conversions from long to ints (Alexander Ivanov)
  85. #. Unused code deletion/commenting and code modernization (Alexander
  86. Ivanov)
  87. #. Improve the bazel build & tests (Alexander Ivanov)
  88. #. Fix a bug in QuaternionRotatePoint introduced by the use of hypot
  89. earlier in this release cycle (Jonathan Taylor & Sameer Agarwal)
  90. #. Lots of GitHub CI improvements (Sergiu Deitsch & Dmitry Korchemkin)
  91. #. Improve the robustness of the Cuda based dense linear algebra tests
  92. (Joydeep Biswas)
  93. #. Refactor storage & threading support in BlockRandomAccessMatrix and
  94. its subclasses (Sameer Agarwal)
  95. #. Fix a bug in CoordinateDescentMinimizer related to uninitialized
  96. variables (Sameer Agarwal)
  97. #. Remove OpenMP and NO_THREADS backends. (Sameer Agarwal)
  98. #. Fix version string parsing starting with SuiteSparse 6.0 (Sergiu
  99. Deitsch)
  100. #. Use FindCUDAToolkit for CMake >= 3.17 (Alex Stewart)
  101. #. Add a const accessor for the Problem::Options struct used by
  102. Problem. (Alex Stewart)
  103. #. Fix a serious performance regression when using SuiteSparse
  104. introduced in `d09f7e9d5e
  105. <https://github.com/ceres-solver/ceres-solver/commit/d09f7e9d5e3bfab2d7ec7e81fd6a55786edca17a>`_. (Sameer
  106. Agarwal)
  107. #. Fix the build on QNX (Alex Stewart)
  108. #. Improve testing macros and documentation for Manifolds (Alex
  109. Stewart)
  110. #. Improved code formatting (Tyler Hovanec)
  111. #. Better use of std::unique_ptr in the code (Mike Vitus)
  112. #. Fix a memory leak in ContextImpl (Sameer Agarwal)
  113. #. Faster locking when num_thread = 1 (Sameer Agarwal)
  114. #. Fix how x_norm is computed in TrustRegionMinimizer (Sameer Agarwal)
  115. #. Faster JACOBI preconditioner for CGNR (Sameer Agarwal)
  116. #. Convert internal enums to class enums (Sameer Agarwal)
  117. #. Improve the code in small_blas to be more compiler friendly (Sameer
  118. Agarwal)
  119. #. Add the ability to specify the pivot threshold in
  120. ::class::`Covariance::Options` (Sameer Agarwal)
  121. #. Modernize the internals to use C++17 (Sameer Agarwal)
  122. #. Choose SPMV algorithm based on the CUDA SDK Version (Joydeep
  123. Biswas)
  124. #. Better defaults in ``bundle_adjuster.cc`` (Sameer Agarwal)
  125. #. Use ``foo.data()`` instead of ``&foo[0]`` (Sameer Agarwal)
  126. #. Fix GCC 12.1.1 LTO -Walloc-size-larger-than= warnings (Sergiu
  127. Deitsch)
  128. #. Improved determinism in tests by re-using the same PRNG (Sergiu
  129. Deitsch)
  130. #. Improved docs for ``vcpkg`` installation. (Sergiu Deitsch)
  131. #. Update FindGlog.cmake to create glog::glog target (KrisThielemans@)
  132. #. Improve consistency & correctness of Sphere & Line Manifolds
  133. (Julio L. Paneque)
  134. #. Remove ``ceres/internal/random.h`` in favor of ``<random>``.
  135. #. Fix a crash in ``InnerProductComputer`` (Sameer Agarwal)
  136. #. Various fixes to improve compilation on windows using MinGW & MSVC
  137. (Sergiu Deitsch)
  138. #. Fix fmin/fmax() to use Jet averaging on equality (Alex Stewart)
  139. #. Fix use of conditional preprocessor checks within a macro in tests
  140. (Alex Stewart)
  141. #. Better support for ``CUDA memcheck`` (Joydeep Biswas)
  142. #. Improve the logic for linking to the platform specific threading
  143. library (Sergiu Deitsch)
  144. #. Generate the version string at compile time (Sergiu Deitsch)
  145. #. :class:`NumericDiffFirstOrderFunction` can now take a dynamically
  146. sized parameter vector. (Sameer Agarwal)
  147. #. Fix compilation with SuiteSparse 7.2.0 (Mark Shackov)
  148. 2.1.0
  149. =====
  150. New Features
  151. ------------
  152. #. Support for CUDA based dense solvers - ``DENSE_QR``,
  153. ``DENSE_NORMAL_CHOLESKY`` & ``DENSE_SCHUR`` (Joydeep Biswas, Sameer
  154. Agarwal)
  155. #. :class:`Manifold` is the new
  156. :class:`LocalParameterization`. Version 2.1 is the transition
  157. release where users can use both :class:`LocalParameterization` as
  158. well as :class:`Manifold` objects as they transition from the
  159. former to the latter. :class:`LocalParameterization` will be
  160. removed in version 2.2. There should be no numerical change to the
  161. results as a result of this change. (Sameer Agarwal, Johannes Beck,
  162. Sergiu Deitsch)
  163. #. A number of changes to :class:`Jet` s (Sergiu Deitsch)
  164. * :class:`Jet` gained support for, ``copysign``, ``fma`` (fused
  165. multiply-add), ``midpoint`` (C++20 and above), ``lerp`` (C++20
  166. and above), 3-argument ``hypot`` (C++17 and above), ``log10``,
  167. ``log1p``, ``exp1m``, ``norm`` (squared :math:`L^2` norm).
  168. * Quiet floating-point comparison: ``isless``, ``isgreater``,
  169. ``islessgreater``, ``islessequal``, ``isgreaterequal``,
  170. ``isunordered``, ``signbit``, ``fdim``
  171. * Categorization and comparison operations are applied exclusively
  172. and consistently to the scalar part of a Jet now: ``isnan``,
  173. ``isinf``, ``isnormal``, ``isfinite``, ``fpclassify`` (new),
  174. ``fmin``, ``fmax``
  175. * It is now possible to safely compare a :class:`Jet` against a scalar
  176. (or literal) without constructing a :class:`Jet` first (even if it's
  177. nested):
  178. .. code-block:: c++
  179. Jet<Jet<Jet<T, N>, M>, O> x;
  180. if (x == 2) { } // equivalent to x.a.a.a == 2
  181. This enables interaction with various arithmetic functions that
  182. expect a scalar like instance, such as ``boost::math::pow<-N>``
  183. for reciprocal computation.
  184. #. Add :class:`NumericDiffFirstOrderFunction` (Sameer Agarwal)
  185. Backward Incompatible API Changes
  186. ---------------------------------
  187. #. :class:`LocalParameterization` is deprecated. It will be removed in
  188. version 2.2. Use :class:`Manifold` instead.
  189. #. Classification functions like ``IsFinite`` are deprecated. Use the
  190. ``C++11`` functions (``isfinite``, ``isnan`` etc) going
  191. forward. However to maintain consistent behaviour with comparison
  192. operators, these functions only inspect the scalar part of the
  193. :class:`Jet`.
  194. Bug Fixes & Minor Changes
  195. -------------------------
  196. #. Worked around an MSVC ordering bug when using C++17/20 (Sergiu
  197. Deitsch)
  198. #. Added a CITATION.cff file. (Sergiu Deitsch)
  199. #. Updated included gtest version to 1.11.0. This should fix some
  200. ``C++20`` compilation problems. (Sameer Agarwal).
  201. #. Workaround ``MSVC`` ``STL`` deficiency in ``C++17`` mode (Sergiu
  202. Deitsch)
  203. #. Fix ``Jet`` test failures on ``ARMv8`` with recent ``Xcode``
  204. (Sergiu Deitsch)
  205. #. Fix unused arguments of ``Make1stOrderPerturbation`` (Dmitriy
  206. Korchemkin)
  207. #. Fix ``SuiteSparse`` path and version reporting (Sergiu Deitsch)
  208. #. Enable `GitHub` workflows and deprecate ``TravisCI`` (Sergiu
  209. Deitsch)
  210. #. Add missing includes (Sergiu Deitsch, Sameer Agarwal)
  211. #. Fix path for ``cuda-memcheck`` tests (Joydeep Biswas)
  212. #. ClangFormat cleanup (Sameer Agarwal)
  213. #. Set ``CMP0057`` policy for ``IN_LIST`` operator in
  214. ``FindSuiteSparse.cmake`` (Brent Yi)
  215. #. Do not define unusable import targets (Sergiu Deitsch)
  216. #. Fix Ubuntu 18.04 shared library build (Sergiu Deitsch)
  217. #. Force ``C++`` linker when building the ``C`` API (Sergiu Deitsch)
  218. #. Modernize the code to be inline with ``C++14`` (Sergiu Deitsch,
  219. Sameer Agarwal)
  220. #. Lots of fixes to make Ceres compile out of the box on Windows
  221. (Sergiu Deitsch)
  222. #. Standardize path handling using ``GNUImstallDirs`` (Sergiu Deitsch)
  223. #. Add final specifier to classes to help the compiler with
  224. devirtualization (Sameer Agarwal)
  225. #. LOTs of clean & modernization of the CMake build files (Sergiu
  226. Deitsch & Alex Stewart)
  227. #. Simplification to the symbol export logic (Sergiu Deitsch)
  228. #. Add cmake option ``ENABLE_BITCODE`` for iOS builds (John Harrison)
  229. #. Add const accessor for functor wrapped by auto/numeric-diff objects
  230. (Alex Stewart)
  231. #. Cleanup & refactor ``jet_test.cc``. (Sameer Agarwal)
  232. #. Fix docs of supported sparse backends for mixed precision solvers
  233. (Alex Stewart)
  234. #. Fix C++20 compilation (Sergiu Deitsch)
  235. #. Add an example for ``BiCubicInterpolator`` (Dmitriy Korcchemkin)
  236. #. Add a section to the documentation on implicit and inverse function
  237. theorems (Sameer Agarwal)
  238. #. Add a note about Trigg's correction (Sameer Agarwal)
  239. #. Fix the docs for ``Problem::RemoveResidualBlock`` &
  240. ``Problem::RemoveParameterBlock`` (Sameer Agarwal)
  241. #. Fix an incorrect check in ``reorder_program.cc`` (William Gandler)
  242. #. Add ``function_tolerance`` based convergence testing to ``TinySolver``
  243. (Sameer Agarwal).
  244. #. Fix a number of typos in ``rotation.h`` (@yiping)
  245. #. Fix a typo in ``interfacing_with_autodiff.rst`` (@tangobravo)
  246. #. Fix a matrix sizing bug in covariance_impl.cc (William Gandler)
  247. #. Fix a bug in ``system_test.cc`` (William Gandler)
  248. #. Fix the Jacobian computation in ``trust_region_minimizer_test.cc``
  249. (William Gandler)
  250. #. Fix a bug in ``local_parameterization_test.cc`` (William Gandler)
  251. #. Add accessors to ``GradientProblem`` (Sameer Agarwal)
  252. #. Refactor ``small_blas_gemm_benchmark`` (Ahmed Taei)
  253. #. Refactor ``small_blas_test`` (Ahmed Taei)
  254. #. Fix dependency check for building documentation (Sumit Dey)
  255. #. Fix an errant double link in the docs (Timon Knigge)
  256. #. Fix a typo in the version history (Noah Snavely)
  257. #. Fix typo in LossFunctionWrapper sample code (Dmitriy Korchemkin)
  258. #. Add fmax/fmin overloads for scalars (Alex Karatarakis)
  259. #. Introduce benchmarks for ``Jet`` operations (Alexander Karatarakis)
  260. #. Fix typos in documentation and fix the documentation for
  261. ``IterationSummary`` (Alexander Karatarakis)
  262. #. Do not check MaxNumThreadsAvailable if the thread number is set
  263. to 1. (Fuhao Shi)
  264. #. Add a macro ``CERES_GET_FLAG``. (Sameer Agarwal)
  265. #. Reduce log spam in ``covariance_impl.cc`` (Daniel Henell)
  266. #. Fix FindTBB version detection with TBB >= 2021.1.1 (Alex Stewart)
  267. #. Fix Eigen3_VERSION (Florian Berchtold)
  268. #. Allow Unity Build (Tobias Schluter)
  269. #. Make miniglog's InitGoogleLogging argument const (Tobias Schluter)
  270. #. Use portable expression for constant 2/sqrt(pi) (Tobias Schluter)
  271. #. Fix a number of compile errors related (Austin Schuch)
  272. * ``format not a string literal``
  273. * ``-Wno-maybe-uninitialized error``
  274. * ``nonnull arg compared to NULL``
  275. * ``-Wno-format-nonliteral``
  276. * ``-Wmissing-field-initializers``
  277. * ``-Werror``
  278. #. Fix ``cc_binary`` includes so examples build as an external repo
  279. (Austin Schuh)
  280. #. Fix an explicit double in TinySolver (Bogdan Burlacu)
  281. #. Fix unit quaternion rotation (Mykyta Kozlov)
  282. 2.0.0
  283. =====
  284. New Features
  285. ------------
  286. #. Ceres Solver now requires a C++14 compatible compiler, Eigen
  287. version >= 3.3 & CMake version >= 3.5, XCode version >= 11.2 (Sameer
  288. Agarwal, Alex Stewart & Keir Mierle)
  289. #. C++ threading based multi-threading support. (Mike Vitus)
  290. #. :func:`Problem::AddResidualBlock`, :class:`SizedFunction`,
  291. :class:`AutoDiffCostFunction`, :class:`NumericDiffCostFunction`
  292. support an arbitrary number of parameter blocks using variadic
  293. templates (Johannes Beck)
  294. #. On Apple platforms, support for Apple's Accelerate framework as a
  295. sparse linear algebra library. (Alex Stewart)
  296. #. Significantly faster AutoDiff (Darius Rueckert)
  297. #. Mixed precision solves when using
  298. ``SPARSE_NORMAL_CHOLESKY``. (Sameer Agarwal)
  299. #. ``LocalParameterization`` objects can have a zero sized tangent
  300. size, which effectively makes the parameter block constant. In
  301. particular, this allows for a ``SubsetParameterization`` that holds
  302. all the coordinates of a parameter block constant. (Sameer Agarwal
  303. & Emil Ernerfeldt)
  304. #. Visibility based preconditioning now works with ``Eigen`` and
  305. ``CXSparse``. (Sameer Agarwal)
  306. #. Added :func:`Problem::EvaluateResidualBlock` and
  307. :func:`Problem::EvaluateResidualBlockAssumingParametersUnchanged`. (Sameer
  308. Agarwal)
  309. #. ``GradientChecker`` now uses ``RIDDERS`` method for more accurate
  310. numerical derivatives. (Sameer Agarwal)
  311. #. Covariance computation uses a faster SVD algorithm (Johannes Beck)
  312. #. A new local parameterization for lines (Johannes Beck)
  313. #. A new (``SUBSET``) preconditioner for problems with general
  314. sparsity. (Sameer Agarwal)
  315. #. Faster Schur elimination using faster custom BLAS routines for
  316. small matrices. (yangfan)
  317. #. Automatic differentiation for ``FirstOrderFunction`` in the form of
  318. :class:`AutoDiffFirstOrderFunction`. (Sameer Agarwal)
  319. #. ``TinySolverAutoDiffFunction`` now supports dynamic number of residuals
  320. just like ``AutoDiffCostFunction``. (Johannes Graeter)
  321. Backward Incompatible API Changes
  322. ---------------------------------
  323. #. ``EvaluationCallback`` has been moved from ``Solver::Options`` to
  324. ``Problem::Options`` for a more correct API.
  325. #. Removed ``Android.mk`` based build.
  326. #. ``Solver::Options::num_linear_solver_threads`` is no more.
  327. Bug Fixes & Minor Changes
  328. -------------------------
  329. #. Use CMAKE_PREFIX_PATH to pass Homebrew install location (Alex Stewart)
  330. #. Add automatic differentiation support for ``Erf`` and ``Erfc``. (Morten Hennemose)
  331. #. Add a move constructor to ``AutoDiffCostFunction``, ``NumericDiffCostFunction``, ``DynamicAutoDiffCostFunction`` and ``DynamicNumericDiffCostFunction``. (Julian Kent & Sameer Agarwal)
  332. #. Fix potential for mismatched release/debug TBB libraries (Alex Stewart)
  333. #. Trust region minimizer now reports the gradient of the current state, rather than zero when it encounters an unsuccessful step (Sameer Agarwal & Alex Stewart)
  334. #. Unify symbol visibility configuration for all compilers (Taylor Braun-Jones)
  335. #. Fix the Bazel build so that it points GitLab instead of the old BitBucket repo for Eigen (Sameer Agarwal)
  336. #. Reformat source to be clang-format clean and add a script to format the repo using clang-format. (Nikolaus Demmel)
  337. #. Various documentation improvements (Sameer Agarwal, Carl Dehlin,
  338. Bayes Nie, Chris Choi, Frank, Kuang Fangjun, Dmitriy Korchemkin,
  339. huangqinjin, Patrik Huber, Nikolaus Demmel, Lorenzo Lamia)
  340. #. Huge number of build system simplification & cleanups (Alex
  341. Stewart, NeroBurner, Alastair Harrison, Linus Mårtensson, Nikolaus Demmel)
  342. #. Intel TBB based threading removed (Mike Vitus)
  343. #. Allow :class:`SubsetParameterization` to accept an empty vector of
  344. constant parameters. (Sameer Agarwal & Frédéric Devernay)
  345. #. Fix a bug in DynamicAutoDiffCostFunction when all parameters are
  346. constant (Ky Waegel & Sameer Agarwal)
  347. #. Fixed incorrect argument name in ``RotationMatrixToQuaternion``
  348. (Alex Stewart & Frank Dellaert)
  349. #. Do not export class template LineParameterization (huangqinjin)
  350. #. Change the type of parameter index/offset to match their getter/setter (huangqinjin)
  351. #. Initialize integer variables with integer instead of double (huangqinjin)
  352. #. Add std::numeric_limit specialization for Jets (Sameer Agarwal)
  353. #. Fix a MSVC type deduction bug in ComputeHouseholderVector (Sameer Agarwal)
  354. #. Allow LocalParameterizations to have zero local size. (Sameer Agarwal)
  355. #. Add photometric and relative-pose residuals to autodiff benchmarks (Nikolaus Demmel)
  356. #. Add a constant cost function to the autodiff benchmarks (Darius Rueckert)
  357. #. Add const to GetCovarianceMatrix#. (Johannes Beck)
  358. #. Fix Tukey loss function (Enrique Fernandez)
  359. #. Fix 3+ nested Jet constructor (Julian Kent)
  360. #. Fix windows MSVC build. (Johannes Beck)
  361. #. Fix invert PSD matrix. (Johannes Beck)
  362. #. Remove not used using declaration (Johannes Beck)
  363. #. Let Problem::SetParameterization be called more than once. (Sameer Agarwal)
  364. #. Make Problem movable. (Sameer Agarwal)
  365. #. Make EventLogger more efficient. (Sameer Agarwal)
  366. #. Remove a CHECK failure from covariance_impl.cc (Sameer Agarwal)
  367. #. Add a missing cast in rotation.h (Sameer Agarwal)
  368. #. Add a specialized SchurEliminator and integrate it for the case <2,3,6> (Sameer Agarwal)
  369. #. Remove use of SetUsage as it creates compilation problems. (Sameer Agarwal)
  370. #. Protect declarations of lapack functions under CERES_NO_LAPACK (Sameer Agarwal)
  371. #. Drop ROS dependency on catkin (Scott K Logan)
  372. #. Explicitly delete the copy constructor and copy assignment operator (huangqinjin)
  373. #. Use selfAdjoingView<Upper> in InvertPSDMatrix. (Sameer Agarwal)
  374. #. Speed up InvertPSDMatrix (Sameer Agarwal)
  375. #. Allow Solver::Options::max_num_line_search_step_size_iterations = 0. (Sameer Agarwal)
  376. #. Make LineSearchMinizer work correctly with negative valued functions. (Sameer Agarwal)
  377. #. Fix missing declaration warnings in Ceres code (Sergey Sharybin)
  378. #. Modernize ProductParameterization. (Johannes Beck)
  379. #. Add some missing string-to-enum-to-string convertors. (Sameer Agarwal)
  380. #. Add checks in rotation.h for inplace operations. (Johannes Beck)
  381. #. Update Bazel WORKSPACE for newest Bazel (Keir Mierle)
  382. #. TripletSparseMatrix: guard against self-assignment (ngoclinhng)
  383. #. Fix Eigen alignment issues. (Johannes Beck)
  384. #. Add the missing <array> header to fixed_array.h (Sameer Agarwal)
  385. #. Switch to FixedArray implementation from abseil. (Johannes Beck)
  386. #. IdentityTransformation -> IdentityParameterization (Sameer Agarwal)
  387. #. Reorder initializer list to make -Wreorder happy (Sam Hasinoff)
  388. #. Reduce machoness of macro definition in cost_functor_to_function_test.cc (Sameer Agarwal)
  389. #. Enable optional use of sanitizers (Alex Stewart)
  390. #. Fix a typo in cubic_interpolation.h (Sameer Agarwal)
  391. #. Update googletest/googlemock to db9b85e2. (Sameer Agarwal)
  392. #. Fix Jacobian evaluation for constant parameter (Johannes Beck)
  393. #. AutoDiffCostFunction: use static_assert to check if the correct overload of the constructor is used. (Christopher Wecht)
  394. #. Avoid additional memory allocation in gradient checker (Justin Carpentier)
  395. #. Swap the order of definition of IsValidParameterDimensionSequence. (Sameer Agarwal)
  396. #. Add ParameterBlock::IsSetConstantByUser() (Sameer Agarwal)
  397. #. Add parameter dims for variadic sized cost function (Johannes Beck)
  398. #. Remove trailing zero parameter block sizes (Johannes Beck)
  399. #. Adding integer sequence and algorithms (Johannes Beck)
  400. #. Improve readability of LocalParameterization code. (Sameer Agarwal)
  401. #. Simplifying Init in manual contructor (Johannes Beck)
  402. #. Fix typo in NIST url. (Alessandro Gentilini)
  403. #. Add a .clang-format file. (Sameer Agarwal)
  404. #. Make ConditionedCostFunction compatible with repeated CostFunction. (Sameer Agarwal)
  405. #. Remove conversions from a double to a Jet. (Kuang Fangjun)
  406. #. close the file on return. (Kuang Fangjun)
  407. #. Fix an error in the demo code for ceres::Jet. (Kuang Fangjun)
  408. #. Recheck the residual after a new call. (Kuang Fangjun)
  409. #. avoid recomputation. (Kuang Fangjun)
  410. #. Fix calculation of Solver::Summary::num_threads_used. (Alex Stewart)
  411. #. Convert calls to CHECK_NOTNULL to CHECK. (Sameer Agarwal)
  412. #. Add a missing <cstdint> to block_structure.h (Sameer Agarwal)
  413. #. Fix an uninitialized memory error in EvaluationCallbackTest (Sameer Agarwal)
  414. #. Respect bounds when using Solver::Options::check_gradients (Sameer Agarwal)
  415. #. Relax the limitation that SchurEliminator::Eliminate requires a rhs. (Sameer Agarwal)
  416. #. Fix three out of bounds errors in CompressedRowSparseMatrix. (Sameer Agarwal)
  417. #. Add Travis CI support. (Alex Stewart)
  418. #. Refactor Ceres threading option configuration. (Alex Stewart)
  419. #. Handle NULL permutation from SuiteSparseQR (Pau Gargallo)
  420. #. Remove chunk shuffle in multithreaded SchurEliminator (Norbert Wenzel)
  421. #. Add /bigobj to nist on MSVC. (Alex Stewart)
  422. #. Fix 'xxx.cc has no symbols' warnings. (Alex Stewart)
  423. #. Add a typedef to expose the scalar type used in a Jet. (Sameer Agarwal)
  424. #. Fix a use after free bug in the tests. (Sameer Agarwal)
  425. #. Simplify integration tests. (Sameer Agarwal)
  426. #. Converts std::unique_lock to std::lock_guard. (Mike Vitus)
  427. #. Bring the Bazel build in sync with the CMake build. (Sameer Agarwal)
  428. #. Adds a ParallelFor wrapper for no threads and OpenMP. (Mike Vitus)
  429. #. Improve the test coverage in small_blas_test (Sameer Agarwal)
  430. #. Handle possible overflow in TrustRegionStepEvaluator. (Sameer Agarwal)
  431. #. Fix lower-bound on result of minimising step-size polynomial. (Alex Stewart)
  432. #. Adds missing functional include in thread_pool.h (Mike Vitus)
  433. 1.14.0
  434. ======
  435. New Features
  436. ------------
  437. #. New ``EvaluationCallback`` API. (Keir Mierle)
  438. #. TBB based threading (Yury Prokazov & Mike Vitus)
  439. #. C++11 threads based threading (Mike Vitus)
  440. #. A ``ceres::Context`` object to cache and keep track of global
  441. state. (Mike Vitus)
  442. #. TinySolver - A small dense solver meant for solving small problems
  443. really fast. [EXPERIMENTAL] (Keir Mierle & Sameer Agarwal)
  444. #. Bazel Build. (Keir Mierle & Rodrigo Queiro)
  445. Backward Incompatible API Changes
  446. ---------------------------------
  447. #. ``Solver::Options::num_linear_solver_threads`` is deprecated,
  448. ``Solver::Options::num_threads`` controls all parallelism in Ceres
  449. Solver now. Similarly,
  450. ``Solver::Summary::num_linear_solver_threads_given`` and
  451. ``Solver::Summary::num_linear_solver_threads_used`` are also
  452. deprecated.
  453. Bug Fixes & Minor Changes
  454. -------------------------
  455. #. Remove armv7 from target architectures when building for iOS >= 11. (Alex Stewart)
  456. #. Corrects the documentation of Problem::AddResidualBlock. (Mike Vitus)
  457. #. Fixes the configuration check in port.h. (Mike Vitus)
  458. #. Add small_blas_gemm_benchmark. (Sameer Agarwal)
  459. #. Implement some C++11 math functions for Jet (Emil Ernerfeldt)
  460. #. Fix integer conversion warning in MSVC. (Alex Stewart)
  461. #. Improve NDK build error handling (Keir Mierle)
  462. #. Fix build: -Wreorder, test fail (Keir Mierle)
  463. #. An implementation of SubsetPreconditioner. (Sameer Agarwal)
  464. #. Split bundle adjustment tests into individual binaries (Keir Mierle)
  465. #. Require Eigen >= 3.3.4 on aarch64. (Alex Stewart)
  466. #. Fix TBB detection on Windows. (Alex Stewart)
  467. #. Improve ExecutionSummary (Sameer Agarwal)
  468. #. Remove as typo from callbacks.h (Sameer Agarwal)
  469. #. Removes two unimplemented class functions. (Mike Vitus)
  470. #. Update EigenTypes to deal with 1 column matrices (Sameer Agarwal)
  471. #. Add GradientProblemSolver::Options::update_state_every_iteration (Sameer Agarwal)
  472. #. Fixes the pose graph example documentation. (Mike Vitus)
  473. #. Fix Eigen >= 3.3 compilation if EIGEN_DONT_VECTORIZE set (Janick Martinez Esturo)
  474. #. Add an optional dependency on the Google Benchmark library. (Sameer Agarwal)
  475. #. Fix the documentation for CostFunction::Evaluate. (Sameer Agarwal)
  476. #. Fix a mathematical typo. (Sameer Agarwal)
  477. #. Add TBB information to Ceres version string. (Alex Stewart)
  478. #. Move discussion of dependency licensing to Sphinx docs. (Alex Stewart)
  479. #. Fix an erroneous namespace comment (Sameer Agarwal)
  480. #. Fix use of unnamed type as template argument warnings on Clang. (Alex Stewart)
  481. #. Add link for CLA in docs; minor fixes (Keir Mierle)
  482. #. Fix tiny_solver_test (Sameer Agarwal)
  483. #. Improve compatibility with ceres::Solver (Sameer Agarwal)
  484. #. Refactor nist.cc to be compatible with TinySolver (Sameer Agarwal)
  485. #. Report timings with microsecond resolution (Thomas Gamper)
  486. #. Add missing Eigen traits to Jets (Sameer Agarwal)
  487. #. Use high-resolution timer on Windows (Thomas Gamper)
  488. #. Add a comment about default constructed reference counts= (Keir Mierle)
  489. #. Delete cost and loss functions when not in use. (Sameer Agarwal)
  490. #. Fix assert_ndk_version for >= r11. (Alex Stewart)
  491. #. Add docs explaining how to build Ceres with OpenMP on OS X. (Alex Stewart)
  492. #. Update LAPACK option to refer to direct use by Ceres only. (Alex Stewart)
  493. #. Hide optional SuiteSparse vars in CMake GUI by default. (Alex Stewart)
  494. #. Always hide TBB_LIBRARY in CMake GUI by default. (Alex Stewart)
  495. #. Fix typo in definition of f3 in powell example (x4 -> x3). (Alex Stewart)
  496. #. Fix suppression of C++11 propagation warning. (Alex Stewart)
  497. #. Add new Schur specialization for 2, 4, 6. (Chris Sweeney)
  498. #. Use const keyword for 'int thread_id' variables. (pmoulon)
  499. 1.13.0
  500. ======
  501. New Features
  502. ------------
  503. #. ``LineSearchMinimizer`` and ``GradientProblemSolver`` are up to 2x
  504. faster due to fewer function evaluations. (Sameer Agarwal)
  505. #. ``SPARSE_NORMAL_CHOLESKY`` is significantly faster because Ceres
  506. now computes the normal equations exploiting the static block
  507. sparsity structure. (Cheng Wang & Sameer Agarwal)
  508. #. Add compound with scalar operators for Jets. (Alex Stewart)
  509. #. Enable support for AVX instructions for Jets. (Alex Stewart)
  510. Backward Incompatible API Changes
  511. ---------------------------------
  512. The enum ``CovarianceAlgorithmType`` which controls the linear algebra
  513. algorithm used to compute the covariance used to combine the choice of
  514. the algorithm and the choice of the sparse linear algebra library into
  515. the enum name. So we had ``SUITE_SPARSE_QR`` and
  516. ``EIGEN_SPARSE_QR``. ``Covariance::Options`` now has a separate member
  517. allowing the user to choose the sparse linear algebra library, just
  518. like the solver and ``CovarianceAlgorithmType`` now takes values
  519. ``DENSE_SVD`` and ``SPARSE_QR``. This is a forward looking change that
  520. will allow us to develop more flexible covariance estimation
  521. algorithms with multiple linear algebra backends.
  522. Bug Fixes & Minor Changes
  523. -------------------------
  524. #. Fix ``InvertPSDMatrix`` as it was triggering an Eigen assert in
  525. Debug mode. (Philipp Hubner)
  526. #. Fix cmake error from CeresConfig.cmake when Ceres not found (Taylor
  527. Braun-Jones)
  528. #. Completely refactored ``SparseNormalCholeskySolver``. (Sameer
  529. Agarwal)
  530. #. Fixed time reporting in ``Summary::FullReport`` when
  531. ``LineSearchMinimizer`` is used. (Sameer Agarwal)
  532. #. Remove unused file: collections_port.cc. (Sameer Agarwal)
  533. #. ``SPARSE_SCHUR`` + ``CX_SPARSE`` = Faster (Sameer Agarwal)
  534. #. Refactored a number of linear solver tests to be more thorough and
  535. informative. (Sameer Agarwal)
  536. #. Pass user-specified search hints as HINTS not PATHS. (Alex Stewart)
  537. #. Prefer Eigen installs over exported build directories. (Alex
  538. Stewart)
  539. #. Add OpenMP flags when compiling for C if enabled. (Alex Stewart)
  540. #. Add a missing ``CERES_EXPORT`` to GradientChecker (Sameer Agarwal)
  541. #. Use target_compile_features() to specify C++11 requirement if
  542. available. (Alex Stewart)
  543. #. Update docs: .netrc --> .gitcookies (Keir Mierle)
  544. #. Fix implicit precision loss warning on 64-bit archs (Ricardo
  545. Sanchez-Saez)
  546. #. Optionally use exported Eigen CMake configuration if
  547. available. (Alex Stewart)
  548. #. Use ``Ceres_[SOURCE/BINARY]_DIR`` not ``CMAKE_XXX_DIR`` to support
  549. nesting. (Alex Stewart)
  550. #. Update ``Problem::EvaluateOptions`` documentation. (Sameer Agarwal)
  551. #. Add public headers to CMake target for IDEs. (Devin Lane)
  552. #. Add an article on interfacing with automatic
  553. differentiation. (Sameer Agarwal)
  554. #. Add default Fedora/Debian locations for CXSparse to search
  555. paths. (Alex Stewart)
  556. #. Add a test for ``LineSearchMinimizer`` (Sameer Agarwal)
  557. #. Flatten the table of contents. (Sameer Agarwal)
  558. #. Fix when ``LineSearchMinimizer`` adds the ``IterationSummary``` to
  559. ``Solver::Summary`` (Sameer Agarwal)
  560. #. Fix search path for miniglog headers when Ceres is exported. (Alex
  561. Stewart)
  562. #. Fix ambiguous reference to ``WARNING`` when using miniglog. (Alex
  563. Stewart)
  564. #. Fix Jet/Eigen compatibility for Eigen > 3.3 (Julien Pilet)
  565. #. Add max severity option when ``MINIGLOG`` is enabled (Taylor
  566. Braun-Jones)
  567. #. Improvements to Schur template specializations (Sameer Agarwal)
  568. #. Added an article on derivatives (Sameer Agarwal)
  569. #. Require Eigen >= 3.3 to define ScalarBinaryOpTraits in Jet. (Alex
  570. Stewart)
  571. #. A hacky fix for the Eigen::FullPivLU changes. (Sameer Agarwal)
  572. #. Specify ``ScalarBinaryOpTraits`` for Jet types. (Chris Sweeney)
  573. #. Remove spurious conversion from doubles to Jets. (Sameer Agarwal)
  574. #. Fix an error in the tutorial code for ``NumericDiffCostFunction``
  575. (Sameer Agarwal)
  576. #. ``CERES_EXPORT`` fix to compile Ceres as DLL (Je Hyeong Hong)
  577. #. Fix detection of deprecated Bessel function names on MSVC. (Alex
  578. Stewart)
  579. #. Ensure that partial evaluation of residuals triggers an error
  580. (Sameer Agarwal)
  581. #. Fix detection of CMake-built glog on Windows. (Alex Stewart)
  582. #. Add additional search paths for glog & Eigen on Windows. (Alex
  583. Stewart)
  584. #. Various minor grammar and bug fixes to the documentation (Sameer
  585. Agarwal, Alex Stewart, William Rucklidge)
  586. 1.12.0
  587. ======
  588. New Features
  589. ------------
  590. #. Aligned ``Jet`` matrices for improved automatic differentiation
  591. performance. (Andrew Hunter)
  592. #. Auto-differentiable implementations of Bessel functions, ``floor``,
  593. and ``ceil`` (Alessandro Gentilini & Michael Vitus)
  594. #. New 2D and 3D SLAM examples. (Michael Vitus)
  595. #. Added ``EigenQuaternionParameterization``. (Michael Vitus)
  596. #. Added ``Problem::IsParameterBlockConstant`` (Thomas Schneider)
  597. #. A complete refactoring of ``TrustRegionMinimizer``. (Sameer Agarwal)
  598. #. Gradient checking cleanup and local parameterization bugfix (David
  599. Gossow)
  600. Backward Incompatible API Changes
  601. ---------------------------------
  602. #. ``Solver::Options::numeric_derivative_relative_step_size`` has been
  603. renamed to
  604. ``Solver::Options::gradient_check_numeric_derivative_relative_step_size``. (Sameer
  605. Agarwal)
  606. Bug Fixes & Minor Changes
  607. -------------------------
  608. #. Clear XXX_FOUND in Find<XXX>.cmake prior to searching. (Alex
  609. Stewart)
  610. #. Fix versioning in the documentation (Sameer Agarwal)
  611. #. Fix missing gflags imported target definition in
  612. CeresConfig.cmake. (Alex Stewart)
  613. #. Make gflags a public dependency of Ceres if it and glog are
  614. found. (Alex Stewart)
  615. #. Add support for glog exported CMake target. (Alex Stewart)
  616. #. Use ``google::GLOG_WARNING`` instead of ``WARNING`` in tests to
  617. support MSVC. (Alex Stewart)
  618. #. Update gtest and gmock to
  619. ``a2b8a8e07628e5fd60644b6dd99c1b5e7d7f1f47`` (Sameer Agarwal)
  620. #. Add MSVC-specific ``#define`` to expose math constants in
  621. ``<cmath>``. (Alex Stewart)
  622. #. Fix typo. indepdendent -> independent (Hung Lun)
  623. #. Fix potential invalid reset of CMAKE_FIND_LIBRARY_PREFIXES on MSVC
  624. (Alex Stewart)
  625. #. Fix use of alignas(0) which is not ignored on GCC (Alex Stewart)
  626. #. Use default alignment if alignof(std::max_align_t) < 16 with C++11
  627. (Alex Stewart)
  628. #. Introduce a common base class for DynamicAutoDiffCostFunction and
  629. DynamicNumericDiffCostFunction. (Sameer Agarwal)
  630. #. Fix an exact equality test causing breakage in
  631. gradient_checker_test. (Sameer Agarwal)
  632. #. Add GradientProblemSolver::Options::parameter_tolerance. (Sameer
  633. Agarwal)
  634. #. Add missing T() wrappers for constants. (Rob Carroll)
  635. #. Remove two checks from rotation.h (Sameer Agarwal)
  636. #. Relax the tolerance in QuaternionParameterizationTestHelper. (Je
  637. Hyeong Hong)
  638. #. Occured -> Occurred. (Sameer Agarwal)
  639. #. Fix a test error in autodiff_test.cc. (Je Hyeong Hong)
  640. #. Fix documentation source for templated function in ``rotation.h``.
  641. #. Add ``package.xml`` to enable Catkin builds. (Damon Kohler)
  642. #. Relaxing Jacobian matching in Gradient Checker test. (David Gossow)
  643. #. Allow SubsetParameterization to hold all parameters constant
  644. (Sameer Agarwal)
  645. #. Fix an Intel compiler error in covariance_impl.cc (Je Hyeong Hong)
  646. #. Removing duplicate include directive. (David Gossow)
  647. #. Remove two DCHECKs from CubicHermiteSpline. (Sameer Agarwal)
  648. #. Fix some compiler warnings. (Richard Trieu)
  649. #. Update ExpectArraysClose to use ExpectClose instead of
  650. EXPECT_NEAR. (Phillip Hubner)
  651. #. FindWithDefault returns by value rather than reference. (@aradval)
  652. #. Fix compiler errors on some systems. (David Gossow)
  653. #. Note that Problem::Evaluate cannot be called from an
  654. IterationCallback. (Sameer Agarwal)
  655. #. Use ProductParameterization in bundle_adjuster.cc (Sameer Agarwal)
  656. #. Enable support for OpenMP in Clang if detected. (Alex Stewart)
  657. #. Remove duplicate entry for the NIST example in the docs. (Michael
  658. Vitus)
  659. #. Add additional logging for analyzing orderings (Sameer Agarwal)
  660. #. Add readme for the sampled_function example. (Michael Vitus)
  661. #. Use _j[0,1,n]() Bessel functions on MSVC to avoid deprecation
  662. errors. (Alex Stewart & Kichang Kim)
  663. #. Fix: Copy minimizer option ``is_silent`` to
  664. ``LineSearchDirection::Options`` (Nicolai Wojke)
  665. #. Fix typos in ``users.rst`` (Sameer Agarwal)
  666. #. Make some Jet comparisons exact. (Sameer Agarwal)
  667. #. Add colmap to users.rst (Sameer Agarwal)
  668. #. Fix step norm evaluation in LineSearchMinimizer (Sameer Agarwal)
  669. #. Remove use of -Werror when compiling Ceres. (Alex Stewart)
  670. #. Report Ceres compile options as components in find_package(). (Alex
  671. Stewart)
  672. #. Fix a spelling error in nnls_modeling.rst (Timer)
  673. #. Only use collapse() directive with OpenMP 3.0 or higher. (Keir
  674. Mierle)
  675. #. Fix install path for CeresConfig.cmake to be architecture-aware.
  676. #. Fix double conversion to degrees in rotation_test (Keir Mierle)
  677. #. Make Jet string output more readable (Keir Mierle)
  678. #. Fix rotation_test IsClose() and related tests (Keir Mierle)
  679. #. Loosen an exact equality in local_parameterization_test (Sameer
  680. Agarwal)
  681. #. make_docs: Pass the file encoding to open() (Niels Ole Salscheider)
  682. #. Fix error message returned when using SUITE_SPARSE_QR in covariance
  683. estimation on a ceres built without SuiteSparse support. (Simon
  684. Rutishauser)
  685. #. Fix CXX11 option to be available on MinGW & CygWin, but not
  686. MSVC. (Alex Stewart)
  687. #. Fix missing early return() in xxx_not_found() dependency
  688. macros. (Alex Stewart)
  689. #. Initialize ``inner_iterations_were_useful_`` correctly. (Sameer
  690. Agarwal)
  691. #. Add an implementation for GradientProblemSolver::Options::IsValid
  692. (Sameer Agarwal)
  693. #. Fix use of va_copy() if compiling with explicit C++ version <
  694. C++11. (Alex Stewart)
  695. #. Install CMake files to lib/cmake/Ceres (Niels Ole Salscheider)
  696. #. Allow users to override the documentation install directory. (Niels
  697. Ole Salscheider)
  698. #. Add covariance matrix for a vector of parameters (Wannes Van Loock)
  699. #. Saner tolerances & stricter LRE test. (Sameer Agarwal)
  700. #. Fix a malformed sentence in the tutorial. (Sameer Agarwal)
  701. #. Add logging for sparse Cholesky factorization using Eigen. (Sameer
  702. Agarwal)
  703. #. Use std::adjacent_find instead of std::unique. (Sameer Agarwal)
  704. #. Improve logging in CompressedRowJacobianWriter on crash. (Sameer
  705. Agarwal)
  706. #. Fix free parameter block handling in covariance computation (Wannes
  707. Van Loock)
  708. #. Report the number of line search steps in FullReport. (Sameer
  709. Agarwal)
  710. #. Make CMake read Ceres version directly from
  711. include/ceres/version.h. (Alex Stewart)
  712. #. Lots of code style/lint changes. (William Rucklidge)
  713. #. Fix covariance computation for constant blocks (Wannes Van Loock)
  714. #. Add IOS_DEPLOYMENT_TARGET variable to iOS.cmake (Eduard Feicho)
  715. #. Make miniglog threadsafe on non-windows system by using
  716. localtime_r() instead of localtime() for time formatting (Simon
  717. Rutishauser)
  718. 1.11.0
  719. ======
  720. New Features
  721. ------------
  722. #. Adaptive numeric differentiation using Ridders' method. (Tal
  723. Ben-Nun)
  724. #. Add ``CubicInterpolator`` and ``BiCubicInterpolator`` to allow
  725. smooth interpolation of sampled functions and integration with
  726. automatic differentiation.
  727. #. Add method to return covariance in tangent space. (Michael Vitus &
  728. Steve Hsu)
  729. #. Add Homogeneous vector parameterization. (Michael Vitus)
  730. #. Add a ``ProductParameterization``, a local parameterization that
  731. can be constructed as a cartesian product of other local
  732. parameterization.
  733. #. Add DynamicCostFunctionToFunctor. (David Gossow)
  734. #. Optionally export Ceres build directory into local CMake package
  735. registry.
  736. #. Faster ``SPARSE_NORMAL_CHOLESKY`` in the presence of dynamic
  737. sparsity.
  738. Bug Fixes & Minor Changes
  739. -------------------------
  740. #. Remove use of link-time optimisation (LTO) for all compilers due to
  741. portability issues with gtest / type_info::operator== & Eigen with
  742. Clang on OS X vs GCC 4.9+ on Linux requiring contradictory 'fixes'.
  743. #. Use link-time optimisation (LTO) only when compiling Ceres itself,
  744. not tests or examples, to bypass gtest / type_info::operator==
  745. issue.
  746. #. Use old minimum iOS version flags on Xcode < 7.0.
  747. #. Add gtest-specific flags when building/using as a shared library.
  748. #. Clean up iOS.cmake to use xcrun/xcodebuild & libtool.
  749. #. Import the latest version of ``googletest``.
  750. #. Refactored ``system_test`` into ``bundle_adjustment_test`` and
  751. ``system_test``, where each test case is its own test.
  752. #. Fix invalid memory access bug in
  753. ``CompressedRowSparseMatrix::AppendRows`` when it was called with a
  754. matrix of size zero.
  755. #. Build position independent code when compiling Ceres statically
  756. (Alexander Alekhin).
  757. #. Fix a bug in DetectStructure (Johannes Schonberger).
  758. #. Reduce memory footprint of SubsetParameterization (Johannes
  759. Schonberger).
  760. #. Fix for reorder program unit test when built without suitesparse
  761. (Sergey Sharybin).
  762. #. Fix a bug in the Schur eliminator (Werner Trobin).
  763. #. Fix a bug in the reordering code (Bernhard Zeisl).
  764. #. Add missing CERES_EXPORT to ComposedLoss (Simon Rutishauser).
  765. #. Add the option to use numeric differentiation to ``nist`` and
  766. ``more_garbow_hillstrom``.
  767. #. Fix EIGENSPARSE option help s/t it displays in CMake ncurses GUI.
  768. #. Fix SparseNormalCholeskySolver with dynamic sparsity (Richie
  769. Stebbing).
  770. #. Remove legacy dependency detection macros.
  771. #. Fix failed if() condition expansion if gflags is not found.
  772. #. Update all CMake to lowercase function name style.
  773. #. Update minimum iOS version to 7.0 for shared_ptr/unordered_map.
  774. #. Fix bug in gflags' <= 2.1.2 exported CMake configuration.
  775. #. Remove the spec file needed for generating RPMs.
  776. #. Fix a typo in small_blas.h (Werber Trobin).
  777. #. Cleanup FindGflags & use installed gflags CMake config if present.
  778. #. Add default glog install location on Windows to search paths
  779. (bvanevery).
  780. #. Add default Eigen install location on Windows to search paths
  781. (bvanevery).
  782. #. Fix explanation of config.h generation in bare config.h.
  783. #. Fix unused parameter compiler warnings in numeric_diff.h.
  784. #. Increase tolerance for a test in polynomial_test (Taylor Braun
  785. Jones).
  786. #. Fix addition of Gerrit commit hook when Ceres is a git submodule
  787. (Chris Cooper).
  788. #. Fix missing EIGEN_VERSION expansion typo.
  789. #. Fix links to SuiteSparse & CXSparse (Henrique Mendonça).
  790. #. Ensure Eigen is at least 3.1.0 for Eigen/SparseCore.
  791. #. Add option to use C++11 (not TR1) shared_ptr & unordered_map
  792. (Norman Goldstein).
  793. #. Fix an incorrect usage message in bundle_adjuster.cc
  794. #. Gracefully disable docs if Sphinx is not found.
  795. #. Explicitly use (new) default OS X rpath policy if present.
  796. #. Add support of EIGEN_SPARSE type in
  797. IsSparseLinearAlgebraLibraryTypeAvailable function (Pierre Moulon).
  798. #. Allow the LossFunction contained in a LossFunctionWrapper to be
  799. NULL. This is consistent with how NULL LossFunctions are treated
  800. everywhere else. (Simon Rutishauser).
  801. #. Improve numeric differentation near zero.
  802. #. Refactored DynamicNumericDiffCostFunction to use NumericDiff (Tal
  803. Ben-Nun).
  804. #. Remove use of :caption tag in Sphinx.
  805. #. Add a small test to make sure GradientProblemSolver works correctly
  806. (Petter Strandmark).
  807. #. Add simple unit tests for GradientProblem (Petter Strandmark).
  808. #. Make the robust curve fitting example robust.
  809. #. Homogenize convergence operators in docs and code (Johannes
  810. Schonberger).
  811. #. Add parameter_tolerance convergence to line search minimizer
  812. (Johannes Schonberger).
  813. #. Fix bug where pow(JetA,JetB) returned wrong result for JetA==0
  814. (Russell Smith).
  815. #. Remove duplicate step norm computation (Johannes Schonberger).
  816. #. Enhance usability when encountering Eigen version mismatches
  817. (Andrew Hundt).
  818. #. Add PLY file logger before and after BA in order to ease visual
  819. comparison (Pierre Moulon).
  820. #. Fix CMake config file docs to include 2.8.x & 3.x styles.
  821. #. Python3 fixes (Markus Moll).
  822. #. Remove confusing code from DenseJacobianWriter (Michael Vitus).
  823. #. Add documentation on CMake package installation process.
  824. #. Revert a call to SolveUpperTriangularUsingCholesky.
  825. #. Make CERES_EIGEN_VERSION macro independent of CMake.
  826. #. Add versions of dependencies used to FullReport().
  827. #. Ensure local config.h is used if Ceres is already installed.
  828. #. Small messaging and comment updates in CMake
  829. #. Handle possible presence of library prefixes in MSVC (Sylvain
  830. Duchêne).
  831. #. Use -O2 not -O3 on MinGW to workaround issue with Eigen
  832. (s1m3mu3@gmail.com).
  833. #. Increase tolerance in small_blas test for Cygwin
  834. (s1m3mu3@gmail.com).
  835. #. Fix iOS cmake file for cmake 3.0 (Jack Feng)
  836. #. Fix missing gflags shlwapi dependency on MinGW (s1m3mu3@gmail.com).
  837. #. Add thread dependency & fix namespace detection on Windows for
  838. gflags (arrigo.benedetti@gmail.com).
  839. #. Rename macros in the public API to have a ``CERES_`` prefix.
  840. #. Fix ``OrderedGroup::Reverse()`` when it is empty (Chris Sweeney).
  841. #. Update the code to point to ceres-solver.org.
  842. #. Update documentation to point to the GitHub issue tracker.
  843. #. Disable ``LAPACK`` for iOS builds. (Greg Coombe)
  844. #. Force use of single-thread in ``Problem::Evaluate()`` without
  845. OpenMP.
  846. #. Less strict check for multithreading. (Chris Sweeney)
  847. #. Update tolerances in small_blas_test.cc (Philipp Hubner)
  848. #. Documentation corrections (Steve Hsu)
  849. #. Fixed ``sampled_function.cc`` (Pablo Speciale)
  850. #. Fix example code in the documentation. (Rodney Hoskinson)
  851. #. Improve the error handling in Conjugate Gradients.
  852. #. Improve preconditioner documentation.
  853. #. Remove dead code from fpclassify.h.
  854. #. Make Android.mk threads sensitive.
  855. #. Changed the ``CURRENT_CONFIG_INSTALL_DIR`` to be a variable local
  856. to Ceres. (Chris Sweeney)
  857. #. Fix typo in the comments in ``Jet.h``. (Julius Ziegler)
  858. #. Add the ASL at ETH Zurich, Theia & OpenPTrack to the list of users.
  859. #. Fixed a typo in the documentation. (Richard Stebbing)
  860. #. Fixed a boundary handling bug in the BiCubic interpolation
  861. code. (Bernhard Zeisl)
  862. #. Fixed a ``MSVC`` compilation bug in the cubic interpolation code
  863. (Johannes Schönberger)
  864. #. Add covariance related files to the Android build.
  865. #. Update Ubuntu 14.04 installation instructions. (Filippo Basso)
  866. #. Improved logging for linear solver failures.
  867. #. Improved crash messages in ``Problem``.
  868. #. Hide Homebrew related variables in CMake GUI.
  869. #. Add SuiteSparse link dependency for
  870. compressed_col_sparse_matrix_utils_test.
  871. #. Autodetect Homebrew install prefix on OSX.
  872. #. Lint changes from William Rucklidge and Jim Roseborough.
  873. #. Remove ``using namespace std:`` from ``port.h``
  874. #. Add note about glog not currently compiling against gflags 2.1.
  875. #. Add explicit no sparse linear algebra library available option.
  876. #. Improve some wording in the FAQ. (Vasily Vylkov)
  877. #. Delete Incomplete LQ Factorization.
  878. #. Add a pointer to MacPorts. (Markus Moll)
  879. 1.10.0
  880. ======
  881. New Features
  882. ------------
  883. #. Ceres Solver can now be used to solve general unconstrained
  884. optimization problems. See the documentation for
  885. ``GradientProblem`` and ``GradientProblemSolver``.
  886. #. ``Eigen`` can now be as a sparse linear algebra backend. This can
  887. be done by setting
  888. ``Solver::Options::sparse_linear_algebra_library_type`` to
  889. ``EIGEN_SPARSE``. Performance should be comparable to
  890. ``CX_SPARSE``.
  891. .. NOTE::
  892. Because ``Eigen`` is a header only library, and some of the code
  893. related to sparse Cholesky factorization is LGPL, building Ceres
  894. with support for Eigen's sparse linear algebra is disabled by
  895. default and should be enabled explicitly.
  896. .. NOTE::
  897. For good performance, use Eigen version 3.2.2 or later.
  898. #. Added ``EIGEN_SPARSE_QR`` algorithm for covariance estimation using
  899. ``Eigen``'s sparse QR factorization. (Michael Vitus)
  900. #. Faster inner iterations when using multiple threads.
  901. #. Faster ``ITERATIVE_SCHUR`` + ``SCHUR_JACOBI`` for small to medium
  902. sized problems (see documentation for
  903. ``Solver::Options::use_explicit_schur_complement``).
  904. #. Faster automatic Schur ordering.
  905. #. Reduced memory usage when solving problems with dynamic sparsity.
  906. #. ``CostFunctionToFunctor`` now supports dynamic number of residuals.
  907. #. A complete re-write of the problem preprocessing phase.
  908. #. ``Solver::Summary::FullReport`` now reports the build configuration
  909. for Ceres.
  910. #. When building on Android, the ``NDK`` version detection logic has
  911. been improved.
  912. #. The ``CERES_VERSION`` macro has been improved and replaced with the
  913. ``CERES_VERSION_STRING`` macro.
  914. #. Added ``Solver::Options::IsValid`` which allows users to validate
  915. their solver configuration before calling ``Solve``.
  916. #. Added ``Problem::GetCostFunctionForResidualBlock`` and
  917. ``Problem::GetLossFunctionForResidualBlock``.
  918. #. Added Tukey's loss function. (Michael Vitus)
  919. #. Added RotationMatrixToQuaternion
  920. #. Compute & report timing information for line searches.
  921. #. Autodetect gflags namespace.
  922. #. Expanded ``more_garbow_hillstrom.cc``.
  923. #. Added a pointer to Tal Ben-Nun's MSVC wrapper to the docs.
  924. #. Added the ``<2,3,6>`` Schur template specialization. (Alessandro
  925. Dal Grande)
  926. Backward Incompatible API Changes
  927. ---------------------------------
  928. #. ``NumericDiffFunctor`` has been removed. It's API was broken, and
  929. the implementation was an unnecessary layer of abstraction over
  930. ``CostFunctionToFunctor``.
  931. #. ``POLAK_RIBIRERE`` conjugate gradients direction type has been
  932. renamed to ``POLAK_RIBIERE``.
  933. #. ``Solver::Options::solver_log`` has been removed. If needed this
  934. iteration callback can easily be implemented in user code.
  935. #. The ``SPARSE_CHOLESKY`` algorithm for covariance estimation has
  936. been removed. It is not rank revealing and numerically poorly
  937. behaved. Sparse QR factorization is a much better way to do this.
  938. #. The ``SPARSE_QR`` algorithm for covariance estimation has been
  939. renamed to ``SUITE_SPARSE_QR`` to be consistent with
  940. ``EIGEN_SPARSE_QR``.
  941. #. ``Solver::Summary::preconditioner_type`` has been replaced with
  942. ``Solver::Summary::preconditioner_type_given`` and
  943. ``Solver::Summary::preconditioner_type_used`` to be more consistent
  944. with how information about the linear solver is communicated.
  945. #. ``CERES_VERSION`` and ``CERES_ABI_VERSION`` macros were not
  946. terribly useful. They have been replaced with
  947. ``CERES_VERSION_MAJOR``, ``CERES_VERSION_MINOR`` ,
  948. ``CERES_VERSION_REVISION`` and ``CERES_VERSION_ABI`` macros. In
  949. particular the functionality of ``CERES_VERSION`` is provided by
  950. ``CERES_VERSION_STRING`` macro.
  951. Bug Fixes
  952. ---------
  953. #. Do not try the gradient step if TR step line search fails.
  954. #. Fix missing include in libmv_bundle_adjuster on OSX.
  955. #. Conditionally log evaluation failure warnings.
  956. #. Runtime uses four digits after the decimal in Summary:FullReport.
  957. #. Better options checking for TrustRegionMinimizer.
  958. #. Fix RotationMatrixToAngleAxis when the angle of rotation is near
  959. PI. (Tobias Strauss)
  960. #. Sometimes gradient norm based convergence would miss a step with a
  961. substantial solution quality improvement. (Rodney Hoskinson)
  962. #. Ignore warnings from within Eigen/SparseQR (3.2.2).
  963. #. Fix empty Cache HELPSTRING parsing error on OS X 10.10 Yosemite.
  964. #. Fix a formatting error TrustRegionMinimizer logging.
  965. #. Add an explicit include for local_parameterization.h (cooordz)
  966. #. Fix a number of typos in the documentation (Martin Baeuml)
  967. #. Made the logging in TrustRegionMinimizer consistent with
  968. LineSearchMinimizer.
  969. #. Fix some obsolete documentation in CostFunction::Evaluate.
  970. #. Fix CG solver options for ITERATIVE_SCHUR, which did not copy
  971. min_num_iterations (Johannes Schönberger)
  972. #. Remove obsolete include of numeric_diff_functor.h. (Martin Baeuml)
  973. #. Fix max. linear solver iterations in ConjugateGradientsSolver
  974. (Johannes Schönberger)
  975. #. Expand check for lack of a sparse linear algebra library. (Michael
  976. Samples and Domink Reitzle)
  977. #. Fix Eigen Row/ColMajor bug in NumericDiffCostFunction. (Dominik
  978. Reitzle)
  979. #. Fix crash in Covariance if # threads > 1 requested without OpenMP.
  980. #. Fixed Malformed regex. (Björn Piltz)
  981. #. Fixed MSVC error C2124: divide or mod by zero. (Björn Piltz)
  982. #. Add missing #include of <limits> for loss functions.
  983. #. Make canned loss functions more robust.
  984. #. Fix type of suppressed compiler warning for Eigen 3.2.0.
  985. #. Suppress unused variable warning from Eigen 3.2.0.
  986. #. Add "make install" to the install instructions.
  987. #. Correct formula in documentation of
  988. Solver::Options::function_tolerance. (Alessandro Gentilini)
  989. #. Add release flags to iOS toolchain.
  990. #. Fix a broken hyperlink in the documentation. (Henrique Mendonca)
  991. #. Add fixes for multiple definitions of ERROR on Windows to docs.
  992. #. Compile miniglog into Ceres if enabled on all platforms.
  993. #. Add two missing files to Android.mk (Greg Coombe)
  994. #. Fix Cmake error when using miniglog. (Greg Coombe)
  995. #. Don't build miniglog unconditionally as a static library (Björn
  996. Piltz)
  997. #. Added a missing include. (Björn Piltz)
  998. #. Conditionally disable SparseNormalCholesky.
  999. #. Fix a memory leak in program_test.cc.
  1000. 1.9.0
  1001. =====
  1002. New Features
  1003. ------------
  1004. #. Bounds constraints: Support for upper and/or lower bounds on
  1005. parameters when using the trust region minimizer.
  1006. #. Dynamic Sparsity: Problems in which the sparsity structure of the
  1007. Jacobian changes over the course of the optimization can now be
  1008. solved much more efficiently. (Richard Stebbing)
  1009. #. Improved support for Microsoft Visual C++ including the ability to
  1010. build and ship DLLs. (Björn Piltz, Alex Stewart and Sergey
  1011. Sharybin)
  1012. #. Support for building on iOS 6.0 or higher (Jack Feng).
  1013. #. Autogeneration of config.h that captures all the defines used to
  1014. build and use Ceres Solver.
  1015. #. Simpler and more informative solver termination type
  1016. reporting. (See below for more details)
  1017. #. New `website <http://www.ceres-solver.org>`_ based entirely on
  1018. Sphinx.
  1019. #. ``AutoDiffLocalParameterization`` allows the use of automatic
  1020. differentiation for defining ``LocalParameterization`` objects
  1021. (Alex Stewart)
  1022. #. LBFGS is faster due to fewer memory copies.
  1023. #. Parameter blocks are not restricted to be less than 32k in size,
  1024. they can be up to 2G in size.
  1025. #. Faster ``SPARSE_NORMAL_CHOLESKY`` solver when using ``CX_SPARSE``
  1026. as the sparse linear algebra library.
  1027. #. Added ``Problem::IsParameterBlockPresent`` and
  1028. ``Problem::GetParameterization``.
  1029. #. Added the (2,4,9) and (2,4,8) template specializations.
  1030. #. An example demonstrating the use of
  1031. DynamicAutoDiffCostFunction. (Joydeep Biswas)
  1032. #. Homography estimation example from Blender demonstrating the use of
  1033. a custom ``IterationCallback``. (Sergey Sharybin)
  1034. #. Support user passing a custom CMAKE_MODULE_PATH (for BLAS /
  1035. LAPACK).
  1036. Backward Incompatible API Changes
  1037. ---------------------------------
  1038. #. ``Solver::Options::linear_solver_ordering`` used to be a naked
  1039. pointer that Ceres took ownership of. This is error prone behaviour
  1040. which leads to problems when copying the ``Solver::Options`` struct
  1041. around. This has been replaced with a ``shared_ptr`` to handle
  1042. ownership correctly across copies.
  1043. #. The enum used for reporting the termination/convergence status of
  1044. the solver has been renamed from ``SolverTerminationType`` to
  1045. ``TerminationType``.
  1046. The enum values have also changed. ``FUNCTION_TOLERANCE``,
  1047. ``GRADIENT_TOLERANCE`` and ``PARAMETER_TOLERANCE`` have all been
  1048. replaced by ``CONVERGENCE``.
  1049. ``NUMERICAL_FAILURE`` has been replaced by ``FAILURE``.
  1050. ``USER_ABORT`` has been renamed to ``USER_FAILURE``.
  1051. Further ``Solver::Summary::error`` has been renamed to
  1052. ``Solver::Summary::message``. It contains a more detailed
  1053. explanation for why the solver terminated.
  1054. #. ``Solver::Options::gradient_tolerance`` used to be a relative
  1055. gradient tolerance. i.e., The solver converged when
  1056. .. math:: \|g(x)\|_\infty < \text{gradient_tolerance} *
  1057. \|g(x_0)\|_\infty
  1058. where :math:`g(x)` is the gradient of the objective function at
  1059. :math:`x` and :math:`x_0` is the parmeter vector at the start of
  1060. the optimization.
  1061. This has changed to an absolute tolerance, i.e. the solver
  1062. converges when
  1063. .. math:: \|g(x)\|_\infty < \text{gradient_tolerance}
  1064. #. Ceres cannot be built without the line search minimizer
  1065. anymore. Thus the preprocessor define
  1066. ``CERES_NO_LINE_SEARCH_MINIMIZER`` has been removed.
  1067. Bug Fixes
  1068. ---------
  1069. #. Disabled warning C4251. (Björn Piltz)
  1070. #. Do not propagate 3d party libs through
  1071. `IMPORTED_LINK_INTERFACE_LIBRARIES_[DEBUG/RELEASE]` mechanism when
  1072. building shared libraries. (Björn Piltz)
  1073. #. Fixed errant verbose levels (Björn Piltz)
  1074. #. Variety of code cleanups, optimizations and bug fixes to the line
  1075. search minimizer code (Alex Stewart)
  1076. #. Fixed ``BlockSparseMatrix::Transpose`` when the matrix has row and
  1077. column blocks. (Richard Bowen)
  1078. #. Better error checking when ``Problem::RemoveResidualBlock`` is
  1079. called. (Alex Stewart)
  1080. #. Fixed a memory leak in ``SchurComplementSolver``.
  1081. #. Added ``epsilon()`` method to ``NumTraits<ceres::Jet<T, N>
  1082. >``. (Filippo Basso)
  1083. #. Fixed a bug in `CompressedRowSparseMatrix::AppendRows`` and
  1084. ``DeleteRows``.q
  1085. #. Handle empty problems consistently.
  1086. #. Restore the state of the ``Problem`` after a call to
  1087. ``Problem::Evaluate``. (Stefan Leutenegger)
  1088. #. Better error checking and reporting for linear solvers.
  1089. #. Use explicit formula to solve quadratic polynomials instead of the
  1090. eigenvalue solver.
  1091. #. Fix constant parameter handling in inner iterations (Mikael
  1092. Persson).
  1093. #. SuiteSparse errors do not cause a fatal crash anymore.
  1094. #. Fix ``corrector_test.cc``.
  1095. #. Relax the requirements on loss function derivatives.
  1096. #. Minor bugfix to logging.h (Scott Ettinger)
  1097. #. Updated ``gmock`` and ``gtest`` to the latest upstream version.
  1098. #. Fix build breakage on old versions of SuiteSparse.
  1099. #. Fixed build issues related to Clang / LLVM 3.4 (Johannes
  1100. Schönberger)
  1101. #. METIS_FOUND is never set. Changed the commit to fit the setting of
  1102. the other #._FOUND definitions. (Andreas Franek)
  1103. #. Variety of bug fixes and cleanups to the ``CMake`` build system
  1104. (Alex Stewart)
  1105. #. Removed fictitious shared library target from the NDK build.
  1106. #. Solver::Options now uses ``shared_ptr`` to handle ownership of
  1107. ``Solver::Options::linear_solver_ordering`` and
  1108. ``Solver::Options::inner_iteration_ordering``. As a consequence the
  1109. ``NDK`` build now depends on ``libc++`` from the ``LLVM`` project.
  1110. #. Variety of lint cleanups (William Rucklidge & Jim Roseborough)
  1111. #. Various internal cleanups including dead code removal.
  1112. 1.8.0
  1113. =====
  1114. New Features
  1115. ------------
  1116. #. Significant improved ``CMake`` files with better robustness,
  1117. dependency checking and GUI support. (Alex Stewart)
  1118. #. Added ``DynamicNumericDiffCostFunction`` for numerically
  1119. differentiated cost functions whose sizing is determined at run
  1120. time.
  1121. #. ``NumericDiffCostFunction`` now supports a dynamic number of
  1122. residuals just like ``AutoDiffCostFunction``.
  1123. #. ``Problem`` exposes more of its structure in its API.
  1124. #. Faster automatic differentiation (Tim Langlois)
  1125. #. Added the commonly occurring ``2_d_d`` template specialization for
  1126. the Schur Eliminator.
  1127. #. Faster ``ITERATIVE_SCHUR`` solver using template specializations.
  1128. #. Faster ``SCHUR_JACOBI`` preconditioner construction.
  1129. #. Faster ``AngleAxisRotatePoint``.
  1130. #. Faster Jacobian evaluation when a loss function is used.
  1131. #. Added support for multiple clustering algorithms in visibility
  1132. based preconditioning, including a new fast single linkage
  1133. clustering algorithm.
  1134. Bug Fixes
  1135. ---------
  1136. #. Fix ordering of ParseCommandLineFlags() & InitGoogleTest() for
  1137. Windows. (Alex Stewart)
  1138. #. Remove DCHECK_GE checks from fixed_array.h.
  1139. #. Fix build on MSVC 2013 (Petter Strandmark)
  1140. #. Fixed ``AngleAxisToRotationMatrix`` near zero.
  1141. #. Move ``CERES_HASH_NAMESPACE`` macros to ``collections_port.h``.
  1142. #. Fix handling of unordered_map/unordered_set on OSX 10.9.0.
  1143. #. Explicitly link to libm for ``curve_fitting_c.c``. (Alex Stewart)
  1144. #. Minor type conversion fix to autodiff.h
  1145. #. Remove RuntimeNumericDiffCostFunction.
  1146. #. Fix operator= ambiguity on some versions of Clang. (Alex Stewart)
  1147. #. Various Lint cleanups (William Rucklidge & Jim Roseborough)
  1148. #. Modified installation folders for Windows. (Pablo Speciale)
  1149. #. Added librt to link libraries for SuiteSparse_config on
  1150. Linux. (Alex Stewart)
  1151. #. Check for presence of return-type-c-linkage option with
  1152. Clang. (Alex Stewart)
  1153. #. Fix Problem::RemoveParameterBlock after calling solve. (Simon
  1154. Lynen)
  1155. #. Fix a free/delete bug in covariance_impl.cc
  1156. #. Fix two build errors. (Dustin Lang)
  1157. #. Add RequireInitialization = 1 to NumTraits::Jet.
  1158. #. Update gmock/gtest to 1.7.0
  1159. #. Added IterationSummary::gradient_norm.
  1160. #. Reduced verbosity of the inner iteration minimizer.
  1161. #. Fixed a bug in TrustRegionMinimizer. (Michael Vitus)
  1162. #. Removed android/build_android.sh.
  1163. 1.7.0
  1164. =====
  1165. Backward Incompatible API Changes
  1166. ---------------------------------
  1167. #. ``Solver::Options::sparse_linear_algebra_library`` has been renamed
  1168. to ``Solver::Options::sparse_linear_algebra_library_type``.
  1169. New Features
  1170. ------------
  1171. #. Sparse and dense covariance estimation.
  1172. #. A new Wolfe line search. (Alex Stewart)
  1173. #. ``BFGS`` line search direction. (Alex Stewart)
  1174. #. C API
  1175. #. Speeded up the use of loss functions > 17x.
  1176. #. Faster ``DENSE_QR``, ``DENSE_NORMAL_CHOLESKY`` and ``DENSE_SCHUR``
  1177. solvers.
  1178. #. Support for multiple dense linear algebra backends. In particular
  1179. optimized ``BLAS`` and ``LAPACK`` implementations (e.g., Intel MKL,
  1180. ACML, OpenBLAS etc) can now be used to do the dense linear algebra
  1181. for ``DENSE_QR``, ``DENSE_NORMAL_CHOLESKY`` and ``DENSE_SCHUR``
  1182. #. Use of Inner iterations can now be adaptively stopped. Iteration
  1183. and runtime statistics for inner iterations are not reported in
  1184. ``Solver::Summary`` and ``Solver::Summary::FullReport``.
  1185. #. Improved inner iteration step acceptance criterion.
  1186. #. Add BlockRandomAccessCRSMatrix.
  1187. #. Speeded up automatic differentiation by 7\%.
  1188. #. Bundle adjustment example from libmv/Blender (Sergey Sharybin)
  1189. #. Shared library building is now controlled by CMake, rather than a
  1190. custom solution. Previously, Ceres had a custom option, but this is
  1191. now deprecated in favor of CMake's built in support for switching
  1192. between static and shared. Turn on BUILD_SHARED_LIBS to get shared
  1193. Ceres libraries.
  1194. #. No more dependence on Protocol Buffers.
  1195. #. Incomplete LQ factorization.
  1196. #. Ability to write trust region problems to disk.
  1197. #. Add sinh, cosh, tanh and tan functions to automatic differentiation
  1198. (Johannes Schönberger)
  1199. #. Simplifications to the cmake build file.
  1200. #. ``miniglog`` can now be used as a replacement for ``google-glog``
  1201. on non Android platforms. (This is NOT recommended).
  1202. Bug Fixes
  1203. ---------
  1204. #. Fix ``ITERATIVE_SCHUR`` solver to work correctly when the schur
  1205. complement is of size zero. (Soohyun Bae)
  1206. #. Fix the ``spec`` file for generating ``RPM`` packages (Brian Pitts
  1207. and Taylor Braun-Jones).
  1208. #. Fix how ceres calls CAMD (Manas Jagadev)
  1209. #. Fix breakage on old versions of SuiteSparse. (Fisher Yu)
  1210. #. Fix warning C4373 in Visual Studio (Petter Strandmark)
  1211. #. Fix compilation error caused by missing suitesparse headers and
  1212. reorganize them to be more robust. (Sergey Sharybin)
  1213. #. Check GCC Version before adding -fast compiler option on
  1214. OSX. (Steven Lovegrove)
  1215. #. Add documentation for minimizer progress output.
  1216. #. Lint and other cleanups (William Rucklidge and James Roseborough)
  1217. #. Collections port fix for MSC 2008 (Sergey Sharybin)
  1218. #. Various corrections and cleanups in the documentation.
  1219. #. Change the path where CeresConfig.cmake is installed (Pablo
  1220. Speciale)
  1221. #. Minor errors in documentation (Pablo Speciale)
  1222. #. Updated depend.cmake to follow CMake IF convention. (Joydeep
  1223. Biswas)
  1224. #. Stabilize the schur ordering algorithm.
  1225. #. Update license header in split.h.
  1226. #. Enabling -O4 (link-time optimization) only if compiler/linker
  1227. support it. (Alex Stewart)
  1228. #. Consistent glog path across files.
  1229. #. ceres-solver.spec: Use cleaner, more conventional Release string
  1230. (Taylor Braun-Jones)
  1231. #. Fix compile bug on RHEL6 due to missing header (Taylor Braun-Jones)
  1232. #. CMake file is less verbose.
  1233. #. Use the latest upstream version of google-test and gmock.
  1234. #. Rationalize some of the variable names in ``Solver::Options``.
  1235. #. Improve Summary::FullReport when line search is used.
  1236. #. Expose line search parameters in ``Solver::Options``.
  1237. #. Fix update of L-BFGS history buffers after they become full. (Alex
  1238. Stewart)
  1239. #. Fix configuration error on systems without SuiteSparse installed
  1240. (Sergey Sharybin)
  1241. #. Enforce the read call returns correct value in
  1242. ``curve_fitting_c.c`` (Arnaud Gelas)
  1243. #. Fix DynamicAutoDiffCostFunction (Richard Stebbing)
  1244. #. Fix Problem::RemoveParameterBlock documentation (Johannes
  1245. Schönberger)
  1246. #. Fix a logging bug in parameter_block.h
  1247. #. Refactor the preconditioner class structure.
  1248. #. Fix an uninitialized variable warning when building with ``GCC``.
  1249. #. Fix a reallocation bug in
  1250. ``CreateJacobianBlockSparsityTranspose``. (Yuliy Schwartzburg)
  1251. #. Add a define for O_BINARY.
  1252. #. Fix miniglog-based Android NDK build; now works with NDK r9. (Scott
  1253. Ettinger)
  1254. 1.6.0
  1255. =====
  1256. New Features
  1257. ------------
  1258. #. Major Performance improvements.
  1259. a. Schur type solvers (``SPARSE_SCHUR``, ``DENSE_SCHUR``,
  1260. ``ITERATIVE_SCHUR``) are significantly faster due to custom BLAS
  1261. routines and fewer heap allocations.
  1262. b. ``SPARSE_SCHUR`` when used with ``CX_SPARSE`` now uses a block
  1263. AMD for much improved factorization performance.
  1264. c. The jacobian matrix is pre-ordered so that
  1265. ``SPARSE_NORMAL_CHOLESKY`` and ``SPARSE_SCHUR`` do not have to
  1266. make copies inside ``CHOLMOD``.
  1267. d. Faster autodiff by replacing division by multplication by inverse.
  1268. e. When compiled without threads, the schur eliminator does not pay
  1269. the penalty for locking and unlocking mutexes.
  1270. #. Users can now use ``linear_solver_ordering`` to affect the
  1271. fill-reducing ordering used by ``SUITE_SPARSE`` for
  1272. ``SPARSE_NORMAL_CHOLESKY``.
  1273. #. ``Problem`` can now report the set of parameter blocks it knows about.
  1274. #. ``TrustRegionMinimizer`` uses the evaluator to compute the gradient
  1275. instead of a matrix vector multiply.
  1276. #. On ``Mac OS``, whole program optimization is enabled.
  1277. #. Users can now use automatic differentiation to define new
  1278. ``LocalParameterization`` objects. (Sergey Sharybin)
  1279. #. Enable larger tuple sizes for Visual Studio 2012. (Petter Strandmark)
  1280. Bug Fixes
  1281. ---------
  1282. #. Update the documentation for ``CostFunction``.
  1283. #. Fixed a typo in the documentation. (Pablo Speciale)
  1284. #. Fix a typo in suitesparse.cc.
  1285. #. Bugfix in ``NumericDiffCostFunction``. (Nicolas Brodu)
  1286. #. Death to BlockSparseMatrixBase.
  1287. #. Change Minimizer::Options::min_trust_region_radius to double.
  1288. #. Update to compile with stricter gcc checks. (Joydeep Biswas)
  1289. #. Do not modify cached CMAKE_CXX_FLAGS_RELEASE. (Sergey Sharybin)
  1290. #. ``<iterator>`` needed for back_insert_iterator. (Petter Strandmark)
  1291. #. Lint cleanup. (William Rucklidge)
  1292. #. Documentation corrections. (Pablo Speciale)
  1293. 1.5.0
  1294. =====
  1295. Backward Incompatible API Changes
  1296. ---------------------------------
  1297. #. Added ``Problem::Evaluate``. Now you can evaluate a problem or any
  1298. part of it without calling the solver.
  1299. In light of this the following settings have been deprecated and
  1300. removed from the API.
  1301. - ``Solver::Options::return_initial_residuals``
  1302. - ``Solver::Options::return_initial_gradient``
  1303. - ``Solver::Options::return_initial_jacobian``
  1304. - ``Solver::Options::return_final_residuals``
  1305. - ``Solver::Options::return_final_gradient``
  1306. - ``Solver::Options::return_final_jacobian``
  1307. Instead we recommend using something like this.
  1308. .. code-block:: c++
  1309. Problem problem;
  1310. // Build problem
  1311. vector<double> initial_residuals;
  1312. problem.Evaluate(Problem::EvaluateOptions(),
  1313. NULL, /* No cost */
  1314. &initial_residuals,
  1315. NULL, /* No gradient */
  1316. NULL /* No jacobian */);
  1317. Solver::Options options;
  1318. Solver::Summary summary;
  1319. Solver::Solve(options, &problem, &summary);
  1320. vector<double> final_residuals;
  1321. problem.Evaluate(Problem::EvaluateOptions(),
  1322. NULL, /* No cost */
  1323. &final_residuals,
  1324. NULL, /* No gradient */
  1325. NULL /* No jacobian */);
  1326. New Features
  1327. ------------
  1328. #. Problem now supports removal of ParameterBlocks and
  1329. ResidualBlocks. There is a space/time tradeoff in doing this which
  1330. is controlled by
  1331. ``Problem::Options::enable_fast_parameter_block_removal``.
  1332. #. Ceres now supports Line search based optimization algorithms in
  1333. addition to trust region algorithms. Currently there is support for
  1334. gradient descent, non-linear conjugate gradient and LBFGS search
  1335. directions.
  1336. #. Added ``Problem::Evaluate``. Now you can evaluate a problem or any
  1337. part of it without calling the solver. In light of this the
  1338. following settings have been deprecated and removed from the API.
  1339. - ``Solver::Options::return_initial_residuals``
  1340. - ``Solver::Options::return_initial_gradient``
  1341. - ``Solver::Options::return_initial_jacobian``
  1342. - ``Solver::Options::return_final_residuals``
  1343. - ``Solver::Options::return_final_gradient``
  1344. - ``Solver::Options::return_final_jacobian``
  1345. #. New, much improved HTML documentation using Sphinx.
  1346. #. Changed ``NumericDiffCostFunction`` to take functors like
  1347. ``AutoDiffCostFunction``.
  1348. #. Added support for mixing automatic, analytic and numeric
  1349. differentiation. This is done by adding ``CostFunctionToFunctor``
  1350. and ``NumericDiffFunctor`` objects to the API.
  1351. #. Sped up the robust loss function correction logic when residual is
  1352. one dimensional.
  1353. #. Sped up ``DenseQRSolver`` by changing the way dense jacobians are
  1354. stored. This is a 200-500% improvement in linear solver performance
  1355. depending on the size of the problem.
  1356. #. ``DENSE_SCHUR`` now supports multi-threading.
  1357. #. Greatly expanded ``Summary::FullReport``:
  1358. - Report the ordering used by the ``LinearSolver``.
  1359. - Report the ordering used by the inner iterations.
  1360. - Execution timing breakdown into evaluations and linear solves.
  1361. - Effective size of the problem solved by the solver, which now
  1362. accounts for the size of the tangent space when using a
  1363. ``LocalParameterization``.
  1364. #. Ceres when run at the ``VLOG`` level 3 or higher will report
  1365. detailed timing information about its internals.
  1366. #. Remove extraneous initial and final residual evaluations. This
  1367. speeds up the solver a bit.
  1368. #. Automatic differenatiation with a dynamic number of parameter
  1369. blocks. (Based on an idea by Thad Hughes).
  1370. #. Sped up problem construction and destruction.
  1371. #. Added matrix adapters to ``rotation.h`` so that the rotation matrix
  1372. routines can work with row and column major matrices. (Markus Moll)
  1373. #. ``SCHUR_JACOBI`` can now be used without ``SuiteSparse``.
  1374. #. A ``.spec`` file for producing RPMs. (Taylor Braun-Jones)
  1375. #. ``CMake`` can now build the sphinx documentation (Pablo Speciale)
  1376. #. Add support for creating a CMake config file during build to make
  1377. embedding Ceres in other CMake-using projects easier. (Pablo
  1378. Speciale).
  1379. #. Better error reporting in ``Problem`` for missing parameter blocks.
  1380. #. A more flexible ``Android.mk`` and a more modular build. If binary
  1381. size and/or compile time is a concern, larger parts of the solver
  1382. can be disabled at compile time.
  1383. Bug Fixes
  1384. ---------
  1385. #. Compilation fixes for MSVC2010 (Sergey Sharybin)
  1386. #. Fixed "deprecated conversion from string constant to char*"
  1387. warnings. (Pablo Speciale)
  1388. #. Correctly propagate ifdefs when building without Schur eliminator
  1389. template specializations.
  1390. #. Correct handling of ``LIB_SUFFIX`` on Linux. (Yuliy Schwartzburg).
  1391. #. Code and signature cleanup in ``rotation.h``.
  1392. #. Make examples independent of internal code.
  1393. #. Disable unused member in ``gtest`` which results in build error on
  1394. OS X with latest Xcode. (Taylor Braun-Jones)
  1395. #. Pass the correct flags to the linker when using
  1396. ``pthreads``. (Taylor Braun-Jones)
  1397. #. Only use ``cmake28`` macro when building on RHEL6. (Taylor
  1398. Braun-Jones)
  1399. #. Remove ``-Wno-return-type-c-linkage`` when compiling with
  1400. GCC. (Taylor Braun-Jones)
  1401. #. Fix ``No previous prototype`` warnings. (Sergey Sharybin)
  1402. #. MinGW build fixes. (Sergey Sharybin)
  1403. #. Lots of minor code and lint fixes. (William Rucklidge)
  1404. #. Fixed a bug in ``solver_impl.cc`` residual evaluation. (Markus
  1405. Moll)
  1406. #. Fixed variadic evaluation bug in ``AutoDiff``.
  1407. #. Fixed ``SolverImpl`` tests.
  1408. #. Fixed a bug in ``DenseSparseMatrix::ToDenseMatrix()``.
  1409. #. Fixed an initialization bug in ``ProgramEvaluator``.
  1410. #. Fixes to Android.mk paths (Carlos Hernandez)
  1411. #. Modify ``nist.cc`` to compute accuracy based on ground truth
  1412. solution rather than the ground truth function value.
  1413. #. Fixed a memory leak in ``cxsparse.cc``. (Alexander Mordvintsev).
  1414. #. Fixed the install directory for libraries by correctly handling
  1415. ``LIB_SUFFIX``. (Taylor Braun-Jones)
  1416. 1.4.0
  1417. =====
  1418. Backward Incompatible API Changes
  1419. ---------------------------------
  1420. The new ordering API breaks existing code. Here the common case fixes.
  1421. **Before**
  1422. .. code-block:: c++
  1423. options.linear_solver_type = ceres::DENSE_SCHUR
  1424. options.ordering_type = ceres::SCHUR
  1425. **After**
  1426. .. code-block:: c++
  1427. options.linear_solver_type = ceres::DENSE_SCHUR
  1428. **Before**
  1429. .. code-block:: c++
  1430. options.linear_solver_type = ceres::DENSE_SCHUR;
  1431. options.ordering_type = ceres::USER;
  1432. for (int i = 0; i < num_points; ++i) {
  1433. options.ordering.push_back(my_points[i])
  1434. }
  1435. for (int i = 0; i < num_cameras; ++i) {
  1436. options.ordering.push_back(my_cameras[i])
  1437. }
  1438. options.num_eliminate_blocks = num_points;
  1439. **After**
  1440. .. code-block:: c++
  1441. options.linear_solver_type = ceres::DENSE_SCHUR;
  1442. options.ordering = new ceres::ParameterBlockOrdering;
  1443. for (int i = 0; i < num_points; ++i) {
  1444. options.linear_solver_ordering->AddElementToGroup(my_points[i], 0);
  1445. }
  1446. for (int i = 0; i < num_cameras; ++i) {
  1447. options.linear_solver_ordering->AddElementToGroup(my_cameras[i], 1);
  1448. }
  1449. New Features
  1450. ------------
  1451. #. A new richer, more expressive and consistent API for ordering
  1452. parameter blocks.
  1453. #. A non-linear generalization of Ruhe & Wedin's Algorithm II. This
  1454. allows the user to use variable projection on separable and
  1455. non-separable non-linear least squares problems. With
  1456. multithreading, this results in significant improvements to the
  1457. convergence behavior of the solver at a small increase in run time.
  1458. #. An image denoising example using fields of experts. (Petter
  1459. Strandmark)
  1460. #. Defines for Ceres version and ABI version.
  1461. #. Higher precision timer code where available. (Petter Strandmark)
  1462. #. Example Makefile for users of Ceres.
  1463. #. IterationSummary now informs the user when the step is a
  1464. non-monotonic step.
  1465. #. Fewer memory allocations when using ``DenseQRSolver``.
  1466. #. GradientChecker for testing CostFunctions (William Rucklidge)
  1467. #. Add support for cost functions with 10 parameter blocks in
  1468. ``Problem``. (Fisher)
  1469. #. Add support for 10 parameter blocks in ``AutoDiffCostFunction``.
  1470. Bug Fixes
  1471. ---------
  1472. #. static cast to force Eigen::Index to long conversion
  1473. #. Change LOG(ERROR) to LOG(WARNING) in ``schur_complement_solver.cc``.
  1474. #. Remove verbose logging from ``DenseQRSolve``.
  1475. #. Fix the Android NDK build.
  1476. #. Better handling of empty and constant Problems.
  1477. #. Remove an internal header that was leaking into the public API.
  1478. #. Memory leak in ``trust_region_minimizer.cc``
  1479. #. Schur ordering was operating on the wrong object (Ricardo Martin)
  1480. #. MSVC fixes (Petter Strandmark)
  1481. #. Various fixes to ``nist.cc`` (Markus Moll)
  1482. #. Fixed a jacobian scaling bug.
  1483. #. Numerically robust computation of ``model_cost_change``.
  1484. #. Signed comparison compiler warning fixes (Ricardo Martin)
  1485. #. Various compiler warning fixes all over.
  1486. #. Inclusion guard fixes (Petter Strandmark)
  1487. #. Segfault in test code (Sergey Popov)
  1488. #. Replaced ``EXPECT/ASSERT_DEATH`` with the more portable
  1489. ``EXPECT_DEATH_IF_SUPPORTED`` macros.
  1490. #. Fixed the camera projection model in Ceres' implementation of
  1491. Snavely's camera model. (Ricardo Martin)
  1492. 1.3.0
  1493. =====
  1494. New Features
  1495. ------------
  1496. #. Android Port (Scott Ettinger also contributed to the port)
  1497. #. Windows port. (Changchang Wu and Pierre Moulon also contributed to the port)
  1498. #. New subspace Dogleg Solver. (Markus Moll)
  1499. #. Trust region algorithm now supports the option of non-monotonic steps.
  1500. #. New loss functions ``ArcTanLossFunction``, ``TolerantLossFunction``
  1501. and ``ComposedLossFunction``. (James Roseborough).
  1502. #. New ``DENSE_NORMAL_CHOLESKY`` linear solver, which uses Eigen's
  1503. LDLT factorization on the normal equations.
  1504. #. Cached symbolic factorization when using ``CXSparse``.
  1505. (Petter Strandark)
  1506. #. New example ``nist.cc`` and data from the NIST non-linear
  1507. regression test suite. (Thanks to Douglas Bates for suggesting this.)
  1508. #. The traditional Dogleg solver now uses an elliptical trust
  1509. region (Markus Moll)
  1510. #. Support for returning initial and final gradients & Jacobians.
  1511. #. Gradient computation support in the evaluators, with an eye
  1512. towards developing first order/gradient based solvers.
  1513. #. A better way to compute ``Solver::Summary::fixed_cost``. (Markus Moll)
  1514. #. ``CMake`` support for building documentation, separate examples,
  1515. installing and uninstalling the library and Gerrit hooks (Arnaud
  1516. Gelas)
  1517. #. ``SuiteSparse4`` support (Markus Moll)
  1518. #. Support for building Ceres without ``TR1`` (This leads to
  1519. slightly slower ``DENSE_SCHUR`` and ``SPARSE_SCHUR`` solvers).
  1520. #. ``BALProblem`` can now write a problem back to disk.
  1521. #. ``bundle_adjuster`` now allows the user to normalize and perturb the
  1522. problem before solving.
  1523. #. Solver progress logging to file.
  1524. #. Added ``Program::ToString`` and ``ParameterBlock::ToString`` to
  1525. help with debugging.
  1526. #. Ability to build Ceres as a shared library (MacOS and Linux only),
  1527. associated versioning and build release script changes.
  1528. #. Portable floating point classification API.
  1529. Bug Fixes
  1530. ---------
  1531. #. Fix how invalid step evaluations are handled.
  1532. #. Change the slop handling around zero for model cost changes to use
  1533. relative tolerances rather than absolute tolerances.
  1534. #. Fix an inadvertant integer to bool conversion. (Petter Strandmark)
  1535. #. Do not link to ``libgomp`` when building on
  1536. windows. (Petter Strandmark)
  1537. #. Include ``gflags.h`` in ``test_utils.cc``. (Petter
  1538. Strandmark)
  1539. #. Use standard random number generation routines. (Petter Strandmark)
  1540. #. ``TrustRegionMinimizer`` does not implicitly negate the
  1541. steps that it takes. (Markus Moll)
  1542. #. Diagonal scaling allows for equal upper and lower bounds. (Markus Moll)
  1543. #. TrustRegionStrategy does not misuse LinearSolver:Summary anymore.
  1544. #. Fix Eigen3 Row/Column Major storage issue. (Lena Gieseke)
  1545. #. QuaternionToAngleAxis now guarantees an angle in $[-\pi, \pi]$. (Guoxuan Zhang)
  1546. #. Added a workaround for a compiler bug in the Android NDK to the
  1547. Schur eliminator.
  1548. #. The sparse linear algebra library is only logged in
  1549. Summary::FullReport if it is used.
  1550. #. Rename the macro ``CERES_DONT_HAVE_PROTOCOL_BUFFERS``
  1551. to ``CERES_NO_PROTOCOL_BUFFERS`` for consistency.
  1552. #. Fix how static structure detection for the Schur eliminator logs
  1553. its results.
  1554. #. Correct example code in the documentation. (Petter Strandmark)
  1555. #. Fix ``fpclassify.h`` to work with the Android NDK and STLport.
  1556. #. Fix a memory leak in the ``levenber_marquardt_strategy_test.cc``
  1557. #. Fix an early return bug in the Dogleg solver. (Markus Moll)
  1558. #. Zero initialize Jets.
  1559. #. Moved ``internal/ceres/mock_log.h`` to ``internal/ceres/gmock/mock-log.h``
  1560. #. Unified file path handling in tests.
  1561. #. ``data_fitting.cc`` includes ``gflags``
  1562. #. Renamed Ceres' Mutex class and associated macros to avoid
  1563. namespace conflicts.
  1564. #. Close the BAL problem file after reading it (Markus Moll)
  1565. #. Fix IsInfinite on Jets.
  1566. #. Drop alignment requirements for Jets.
  1567. #. Fixed Jet to integer comparison. (Keith Leung)
  1568. #. Fix use of uninitialized arrays. (Sebastian Koch & Markus Moll)
  1569. #. Conditionally compile gflag dependencies.(Casey Goodlett)
  1570. #. Add ``data_fitting.cc`` to the examples ``CMake`` file.
  1571. 1.2.3
  1572. =====
  1573. Bug Fixes
  1574. ---------
  1575. #. ``suitesparse_test`` is enabled even when ``-DSUITESPARSE=OFF``.
  1576. #. ``FixedArray`` internal struct did not respect ``Eigen``
  1577. alignment requirements (Koichi Akabe & Stephan Kassemeyer).
  1578. #. Fixed ``quadratic.cc`` documentation and code mismatch
  1579. (Nick Lewycky).
  1580. 1.2.2
  1581. =====
  1582. Bug Fixes
  1583. ---------
  1584. #. Fix constant parameter blocks, and other minor fixes (Markus Moll)
  1585. #. Fix alignment issues when combining ``Jet`` and
  1586. ``FixedArray`` in automatic differeniation.
  1587. #. Remove obsolete ``build_defs`` file.
  1588. 1.2.1
  1589. =====
  1590. New Features
  1591. ------------
  1592. #. Powell's Dogleg solver
  1593. #. Documentation now has a brief overview of Trust Region methods and
  1594. how the Levenberg-Marquardt and Dogleg methods work.
  1595. Bug Fixes
  1596. ---------
  1597. #. Destructor for ``TrustRegionStrategy`` was not virtual (Markus
  1598. Moll)
  1599. #. Invalid ``DCHECK`` in ``suitesparse.cc`` (Markus Moll)
  1600. #. Iteration callbacks were not properly invoked (Luis Alberto
  1601. Zarrabeiti)
  1602. #. Logging level changes in ConjugateGradientsSolver
  1603. #. VisibilityBasedPreconditioner setup does not account for skipped
  1604. camera pairs. This was debugging code.
  1605. #. Enable SSE support on MacOS
  1606. #. ``system_test`` was taking too long and too much memory (Koichi
  1607. Akabe)
  1608. 1.2.0
  1609. =====
  1610. New Features
  1611. ------------
  1612. #. ``CXSparse`` support.
  1613. #. Block oriented fill reducing orderings. This reduces the
  1614. factorization time for sparse ``CHOLMOD`` significantly.
  1615. #. New Trust region loop with support for multiple trust region step
  1616. strategies. Currently only Levenberg-Marquardt is supported, but
  1617. this refactoring opens the door for Dog-leg, Stiehaug and others.
  1618. #. ``CMake`` file restructuring. Builds in ``Release`` mode by default, and now has platform specific tuning flags.
  1619. #. Re-organized documentation. No new content, but better
  1620. organization.
  1621. Bug Fixes
  1622. ---------
  1623. #. Fixed integer overflow bug in ``block_random_access_sparse_matrix.cc``.
  1624. #. Renamed some macros to prevent name conflicts.
  1625. #. Fixed incorrect input to ``StateUpdatingCallback``.
  1626. #. Fixes to AutoDiff tests.
  1627. #. Various internal cleanups.
  1628. 1.1.1
  1629. =====
  1630. Bug Fixes
  1631. ---------
  1632. #. Fix a bug in the handling of constant blocks. (Louis Simard)
  1633. #. Add an optional lower bound to the Levenberg-Marquardt regularizer
  1634. to prevent oscillating between well and ill posed linear problems.
  1635. #. Some internal refactoring and test fixes.
  1636. 1.1.0
  1637. =====
  1638. New Features
  1639. ------------
  1640. #. New iterative linear solver for general sparse problems - ``CGNR``
  1641. and a block Jacobi preconditioner for it.
  1642. #. Changed the semantics of how ``SuiteSparse`` dependencies are
  1643. checked and used. Now ``SuiteSparse`` is built by default, only if
  1644. all of its dependencies are present.
  1645. #. Automatic differentiation now supports dynamic number of residuals.
  1646. #. Support for writing the linear least squares problems to disk in
  1647. text format so that they can loaded into ``MATLAB``.
  1648. #. Linear solver results are now checked for nan and infinities.
  1649. #. Added ``.gitignore`` file.
  1650. #. A better more robust build system.
  1651. Bug Fixes
  1652. ---------
  1653. #. Fixed a strict weak ordering bug in the schur ordering.
  1654. #. Grammar and typos in the documents and code comments.
  1655. #. Fixed tests which depended on exact equality between floating point
  1656. values.
  1657. 1.0.0
  1658. =====
  1659. Initial open source release. Nathan Wiegand contributed to the Mac OSX
  1660. port.
  1661. Origins
  1662. =======
  1663. Ceres Solver grew out of the need for general least squares solving at
  1664. Google. In early 2010, Sameer Agarwal and Frederik Schaffalitzky
  1665. started the development of Ceres Solver. Frederik left Google shortly
  1666. thereafter and Keir Mierle stepped in to take his place. After two
  1667. years of on-and-off development, Ceres Solver was released as open
  1668. source in May of 2012.