Reuse cuDSS analysis after numeric failure Previously, CudaSparseCholeskyImpl recreated CudssContext and re-ran CUDSS_PHASE_ANALYSIS after any failed factorization because cuDSS 0.3.0 kept the stale error in CUDSS_DATA_INFO across subsequent calls. Now that Ceres requires cuDSS 1.0, reset CUDSS_DATA_INFO to zero with cudssDataSet after a numerical failure and only re-run symbolic analysis on initial setup or fatal errors. Add a SparseCholeskyTest.FactorizeAfterNumericalFailure test that factorizes a singular matrix and then factorizes and solves an SPD matrix with the same sparsity pattern on the same SparseCholesky instance. Fixes https://github.com/ceres-solver/ceres-solver/issues/1079 Change-Id: I4924f6672f04fa7b22e2c827b3379a89d415b408
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see the Ceres Solver website for more information.