mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Enable support for dumping trust region minimizer problems.
This support was broken due to the TrustRegionMinimizer refactoring. It is now enabled again, with the responsibilty for dumping the problem shifted to the individual TrustRegionStrategy. There is however one wrinkle, which is perhaps an indication of poor design to start with. The LinearLeastSquaresProblemProto carries in it num_eliminate_blocks, something which does not exist anymore. More importantly, the TrustRegionStrategy does not have access to this quantity anymore. Dealing with this will be the subject of a future change. Change-Id: I358adf6a2e386f4940b617bf950d6c7e87d2635d
This commit is contained in:
@@ -73,8 +73,7 @@ LinearLeastSquaresProblem* LinearLeastSquaresProblem3();
|
||||
|
||||
// Write the linear least squares problem to disk. The exact format
|
||||
// depends on dump_format_type.
|
||||
bool DumpLinearLeastSquaresProblem(const string& directory,
|
||||
int iteration,
|
||||
bool DumpLinearLeastSquaresProblem(const string& filename_base,
|
||||
DumpFormatType dump_format_type,
|
||||
const SparseMatrix* A,
|
||||
const double* D,
|
||||
|
||||
Reference in New Issue
Block a user