help-octave
[Top][All Lists]
Advanced

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

Re: sqp: What are the equality and inequality constraint functions?


From: Sebastian Schubert
Subject: Re: sqp: What are the equality and inequality constraint functions?
Date: Thu, 13 Jan 2011 11:00:25 +0100
User-agent: KMail/1.13.5 (Linux/2.6.34.7-0.7-desktop; KDE/4.4.4; x86_64; ; )

Hi,

[doc of sqp]

> | > Short answer: the documentation is using vector shorthand; g and
> | > h are vector-valued functions, lb and ub are vectors the size of
> | > x.
> | 
> | I think h is a matrix. Citing the manual again:
> | 
> | "If supplied, the gradient function must be of the form
> | 
> |     g = gradient (x)
> | 
> | in which X is a vector and G is a vector.
> | If supplied, the hessian function must be of the form
> | 
> |         h = hessian (x)
> | 
> | in which X is a vector and H is a matrix."
> 
> This part of the description applies to the case of PHI being a 2 or
> three element cell array of function handles.  It is separate from
> the constraint functions G and H that appear later in the argument
> list.

Ahhh, now I see what is meant. But then the letters for the functions 
are _very_ misleading, especially since they are used in a new paragraph 
seperate from the one before. Would you consider changing the text a 
bit? See attached file for a proposal.

Thank you for explaining!

Sebastian

Attachment: sqp.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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