Error In Optimization Routine sqp
Rob Mahurin
rob at utk.edu
Thu Jul 9 12:40:49 CDT 2009
On Jul 9, 2009, at 12:53 PM, Stevenson, Martin J wrote:
> Bug report for Octave 3.2.0 configured for i686-pc-mingw32
>
> Description:
> -----------
>
> This example generates the error message:
>
> Binary operator '>' not implemented for 'function handle' by
> 'function handle' operations Called from sqp line 320
>
> The offending line is:
>
> If (lb > ub) ... endif
>
> Repeat-By:
> ---------
>
> Run the debug_example.m file using the data file debug_Data.txt.
> Note: the path to the data file might need to be changed in the
> debug_example.m file.
The help for sqp states that the lower and upper bounds are vectors,
not functions. Replace @lb, @ub in your function call with lb(p), ub
(p).
Cheers,
Rob
--
Rob Mahurin
University of Manitoba, Dept. of Physics & Astronomy
at: Oak Ridge National Laboratory 865 207 2594
Oak Ridge, Tennessee rob at utk.edu
More information about the Bug-octave
mailing list