[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sqp
From: |
PetrSt |
Subject: |
Re: sqp |
Date: |
Fri, 5 Apr 2013 06:46:13 -0700 (PDT) |
The fourth input argument should be related to inequality constraint h(x) >=
0, so if x(1:6) are reals, then it could be something like this
h=@(x) (1.85.*x(1:3,1) - x(4:6,1));
If you insist on the inequality h(x) > 0, then adding eps() should do the
job
h=@(x) (1.85.*x(1:3,1) - x(4:6,1)-eps());
--
View this message in context:
http://octave.1599824.n4.nabble.com/sqp-tp4651523p4651525.html
Sent from the Octave - General mailing list archive at Nabble.com.
- sqp, Urs Hackstein, 2013/04/05