Commit Graph

5691 Commits (dd3c1fd073f8979d462face346835ae0eba3b5b4)

Author SHA1 Message Date
thduynguyen dd3c1fd073 important bug fix in building dual graph when finding the variable dimension from its first factor in the factor indices. 2014-04-29 11:49:39 -04:00
thduynguyen 147f666a6c make Jacobian/Hessian cast functions static to use them in other places. TODO: move them to GaussianFactor 2014-04-18 12:21:34 -04:00
thduynguyen faf4643dd3 size() should return size_t not Key 2014-04-18 12:19:55 -04:00
thduynguyen 3d3748bb44 build dualgraph supports least-squares multipliers 2014-04-17 12:01:29 -04:00
thduynguyen 99889703a6 add build dir to GTSAM_INCLUDE_DIR so projects built with gtsam build tree can find <gtsam/config.h> 2014-04-17 12:00:35 -04:00
thduynguyen 7fb9f47072 Fix gtsam's old segfault bug in JacobianFactor::isConstrained: return false if it has no noisemodel. Test Nocedal06book, example 16.4, pg 475 passed. 2014-04-15 17:28:23 -04:00
thduynguyen 02ac8d23b0 Test with Matlab's QP example 2014-04-15 16:47:07 -04:00
thduynguyen cbda04a96d disable printing 2014-04-15 16:37:32 -04:00
thduynguyen 90ec933da3 refactor QPSolver into its own class 2014-04-15 16:27:19 -04:00
thduynguyen 47255fbab6 Detailed comments for choosing the step size 2014-04-15 16:03:14 -04:00
thduynguyen 495b7ba099 Detailed comments about the lambda<0 condition for good ineq <=0 constraints, wrt the Lagrangian L = f(x) - lambda*c(x) 2014-04-15 15:14:10 -04:00
thduynguyen b07b431ac0 first ineq QP test passed! 2014-04-15 13:55:24 -04:00
thduynguyen 22cbe326e3 fix bug in weightedPseudoInverse dealing with negative weights of ineq constraints 2014-04-15 13:55:04 -04:00
thduynguyen 825eff0d49 small improvement on negative weights 2014-04-15 06:11:26 -04:00
thduynguyen dc31ef143a fix bug in NoiseModel signs for ineq weights. Unittest dual graph 2014-04-15 06:07:41 -04:00
thduynguyen c2378204ef QPSolver in progress. Finish building dual graph, but not tested.
Use mixed constrained noise with sigma < 0 to denote inequalities.
Working set implements the active set method, turning inactive inequalities
to active one as equality constraints by setting their corresponding sigmas to 0
and vice versa. Dual graph now has to deal with mixed sigmas.
2014-04-14 22:57:55 -04:00
Luca e4f2d39a35 Merge branch 'feature/smartFactors' 2014-04-06 14:43:49 -04:00
Luca c2069a26cd Merge branch 'feature/LevenbergMarquardt' 2014-04-06 14:35:52 -04:00
Luca 2908197f1a Merge branch 'develop' 2014-04-06 14:35:32 -04:00
Luca 08a54ee470 Merge branch 'develop' 2014-04-06 14:28:09 -04:00
Luca bfff17fd05 Merge branch 'origin/feature/LevenbergMarquardt' 2014-04-06 14:26:54 -04:00
Luca 310fce3be9 last updates from smartFactors project (these files are now removed from that project) 2014-04-06 14:25:46 -04:00
Andrew Melim e98b90bd2a Make building of metis/partition optional via cmake flag 2014-04-04 15:49:04 -04:00
Luca 51248072f9 fixed bug in hessianDiagonal (raw access) 2014-04-03 17:50:52 -04:00
Andrew Melim 49c11e8fa7 Remove warning flag 2014-04-03 16:35:10 -04:00
Andrew Melim 268bc189ce Detect clang to prevent issues with llvm 2014-04-03 16:31:55 -04:00
Alex Cunningham cb3cec3789 Replaced static variable counter inside ISAM2 update() with a member variable to avoid a bug where if multiple instances of ISAM2 are running in the same process, the counter gets incremented in each of them, resulting in very difficult to debug failures. 2014-03-27 16:15:29 -04:00
jing 02fc860d9e add smartfactor base classes, smartProjectionPoseFactor, and its unit test to gtsam_unstable 2014-03-27 13:14:13 -04:00
Luca 9860c8452e Merge branch 'develop' 2014-03-26 17:26:10 -04:00
Luca 6edd3f10fc added raw memory access version of hessianDiagonal 2014-03-19 17:43:20 -04:00
cbeall3 178b7f29da clang warnings 2014-03-17 21:56:50 -04:00
Luca d2b6b12bba added raw memory access of hessianDiagonal 2014-03-17 19:28:49 -04:00
Luca f65fc11801 completed print function 2014-03-17 19:06:35 -04:00
Luca 727679ea1d Merge branch 'feature/LevenbergMarquardt' 2014-03-17 15:58:31 -04:00
Luca 17fef90eaf Merge branch 'develop' 2014-03-17 15:54:46 -04:00
cbeall3 c5c1460081 silence two more metis warnings 2014-03-17 15:49:14 -04:00
Luca 5f8f38a8e0 when relative decrease is small and positive, the step is applied before termination 2014-03-17 14:20:41 -04:00
Luca 3ee404a5a6 removed unused parameters. cleaned up hard-coded parameters 2014-03-17 14:12:04 -04:00
Andrew Melim 9ffc928536 Correct signed vs unsigned comparison warnings 2014-03-17 12:07:54 -04:00
Andrew Melim 719592258b Remove unused variable 2014-03-17 12:04:40 -04:00
Andrew Melim da09c31c7b Supress metis warnings for gcc 2014-03-17 11:59:13 -04:00
Andrew Melim 8e848946ab Default build executables to off 2014-03-17 11:46:07 -04:00
Andrew Melim 3070e63ccc cmake option to build metis executables 2014-03-17 11:42:10 -04:00
dellaert 68297dedb5 Removed unused variable 2014-03-16 16:36:07 -04:00
Luca e42e36e004 hessianDiagonal is now virtual 2014-03-13 22:44:21 -04:00
Luca dfeb9e2459 added test on hessian diagonal 2014-03-13 22:44:03 -04:00
Luca a6d73e8884 improved efficiency of diagonal damping (avoiding multiple traversal of binary tree) 2014-03-13 22:43:51 -04:00
Luca afb5bac2f7 writeBALfromValues input made const 2014-03-13 01:36:38 -04:00
Luca 4bb6402ff2 Merge branch 'feature/LevenbergMarquardt' 2014-03-12 14:52:08 -04:00
Luca 6e0bfa1f5b commented failing unit test (issue added on Bitbucket) 2014-03-12 14:50:39 -04:00