help-octave
[Top][All Lists]
Advanced

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

sqp syntax


From: Olivier Lefevre
Subject: sqp syntax
Date: Wed, 16 Feb 2011 13:21:48 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

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). 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???

Thanks,

-- O.L.



reply via email to

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