Sameer Agarwal
041f27516a
Move CompactifyArray to array_utils.
...
1. Rename it to MapValuesToContiguousRange.
2. Improve implementation to just use a vector.
Change-Id: I2a5e73e3a6fb81694c6f452a00d60df16c0149e6
2014-05-29 14:52:17 -07:00
Sameer Agarwal
5e8321c39a
Validate ParameterBlocks before solve.
...
Ensure that all parameter blocks have finite values
before the minimizer is called.
Change-Id: I15fd9c487247989626f799496bb8f5ea8728d6f0
2014-02-05 11:12:16 -08:00
Sameer Agarwal
509f68cfe3
Problem::Evaluate implementation.
...
1. Add Problem::Evaluate and tests.
2. Remove Solver::Summary::initial/final_*
3. Remove Solver::Options::return_* members.
4. Various cpplint cleanups.
Change-Id: I4266de53489896f72d9c6798c5efde6748d68a47
2013-02-24 19:04:21 +00:00
Sameer Agarwal
1fdc520f7b
Refactor the array validation routines into their own file, as they are used by
...
more than just the residual block evaluation routines now.
Check the step computed by the linear solver for finiteness, and terminate early
if it is not. This will prevent bugs where the solver continues to run after
encountering an nan.
2012-05-12 07:29:10 -07:00