Setting lower and upper bounds

1,735 views
Skip to first unread message

cooo...@gmail.com

unread,
May 30, 2014, 11:30:27 AM5/30/14
to ceres-...@googlegroups.com
At the start of the Solving section of the docs I see "L and U are lower and upper bounds on the parameter vector x". The docs say that line search methods don't support bounds but do trust region methods? How do I set these bounds?

TIA

Alex Stewart

unread,
May 30, 2014, 11:51:23 AM5/30/14
to ceres-...@googlegroups.com
So, there were some missing annotations from the Sphinx docs for the bounds methods so they don't appear in the HTML docs, they definitely exist and work for the Trust Region solver.

There is a CL to fix the docs here: https://ceres-solver-review.googlesource.com/5170

If you don't mind looking at the raw sphinx docs, the file you want is src/docs/source/modelling.rst, the main methods are:

Problem::SetParameterLowerBound()
Problem::SetParameterUpperBound()

There is also an example using the bounds in examples/more_garbow_hillstrom.cc

-Alex

On May 30, 2014, at 4:30 PM, cooo...@gmail.com wrote:

At the start of the Solving section of the docs I see "L and U are lower and upper bounds on the parameter vector x". The docs say that line search methods don't support bounds but do trust region methods? How do I set these bounds?

TIA

--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/ddae8803-e325-4d4f-9fc9-8accdba0fa8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sameer Agarwal

unread,
May 30, 2014, 11:56:10 AM5/30/14
to ceres-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages