help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sqp syntax


From: Olaf Till
Subject: Re: sqp syntax
Date: Thu, 17 Feb 2011 10:40:37 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Feb 16, 2011 at 01:21:48PM +0100, Olivier Lefevre wrote:
> I don't understand the sqp calling conventions.
>
> 1) The docs say the second argument is either a
>    function handle which it calls phi or a 2- or
>    3-element cell array of function handles which
>    it calls phi, h and g. But at the top we are
>    show the syntax sqp(x0, phi), sqp(x0, phi, g)
>    or sqp(x0, phi, g, h).

These g and h are not the same g and h  as in the 2- or 3-element cell
array.

> Shouldn't the last two
>    be qp(x0, [phi; g]) and sqp(x0, [phi; g; h])
>    instead?
>
> 2) It then goes on to call the 3rd to 6th arguments
>    cef, cif, lb and lu but the next syntax example
>    is sqp(x0, phi, g, h, lb, ub). Where did cef and
>    cif go???

cef and ci mean g and h in sqp(x0, phi, g, h, lb, ub)

>
> Thanks,
>
> -- O.L.
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]