ceres-solver icon indicating copy to clipboard operation
ceres-solver copied to clipboard

Support for equality constraints

Open sandwichmaker opened this issue 9 years ago • 7 comments

Original issue 91 created by sandwichmaker on 2013-03-05T21:03:22.000Z:

Allow Ceres Solver to deal with equality constraints using the augmented lagrangian.

sandwichmaker avatar Mar 18 '15 15:03 sandwichmaker

Comment #1 originally posted by sandwichmaker on 2013-03-05T21:04:04.000Z:

<empty>

sandwichmaker avatar Mar 18 '15 15:03 sandwichmaker

Comment #2 originally posted by sandwichmaker on 2014-06-09T07:39:57.000Z:

Allow the Ceres solver to deal with equality constraints using sequential quadratic programming.

sandwichmaker avatar Mar 18 '15 15:03 sandwichmaker

Are there any updates on this? On the other hand, can someone suggest a roadmap how to implement this? Is it possible to extend the cost function to achieve this? The feature would be really helpful to enable sfm from fixed multiview camera rigs.

ghost avatar Jul 30 '15 10:07 ghost

For fixed multiview camera rigs, consider using shared parameters across cameras. we do multiview rig calibration using ceres all the time and we have not found the need for equality constraints.

The correct roadmap for this involves some sort of Sequentual Quadratic Programming based solver. There is no way to extend the cost function to achieve this. The SQP based approach is a significant technical undertaking.

sandwichmaker avatar Jul 30 '15 17:07 sandwichmaker

@sandwichmaker, thanks for your comment! Could you provide some reference which ceres-api to use in order to inject constant relative rotation and translation between cameras? Thanks alot!

ghost avatar Jul 30 '15 21:07 ghost

This is the wrong place to have a discussion on ceres usage. I recommend you post this on the ceres mailinglist and we can discuss it there.

sandwichmaker avatar Jul 31 '15 05:07 sandwichmaker

Thanks! I will have a look here. https://groups.google.com/forum/#!searchin/ceres-solver/fixed$20relative$20rotation/ceres-solver/rcicQU5S5p0/3HBURSlfd5EJ

ghost avatar Jul 31 '15 06:07 ghost