Re: fmincon error in planerot (bug?)
- From: "Daniel Vogel" <removethispart.dvogel@xxxxxxxxxxxxxxx>
- Date: Wed, 20 Aug 2008 12:24:01 +0000 (UTC)
"Daniel Vogel" <removethispart.dvogel@xxxxxxxxxxxxxxx> wrote
in message <g7sa45$hh7$1@xxxxxxxxxxxxxxxxxx>...
fmincon is causing a strange error message in matlab 2007b(rest of original post removed for brevity)
when constraining the solution with upper and lower bounds.
With more trial and error, I found I can usually avoid this
error by choosing different initial values for the
parameters to be optimized. So, as a workaround, I wrap it
in a try/catch block and re-run again after perturbing the
initial parameters.
This is far from elegant or efficient, and I'm still puzzled
why this error occurs at all. I would have expected a
controlled early termination if something is malformed in
the input, but the error I'm seeing indicates a bug in
fmincon or one of its helper functions.
Am I the only one that has ever encountered this?
Thanks,
Dan
.
- References:
- fmincon
- From: Daniel Vogel
- fmincon
- Prev by Date: pde toolbox export solution vector
- Next by Date: Re: Problem with Callback function (Error while evaluating uicontrol Callback)
- Previous by thread: fmincon
- Next by thread: fmincon
- Index(es):
Relevant Pages
|
Loading