Example 4

This example involves three sets of sequentially related nonlinear inequality constraints and is defined by

     4a.GIF (592 bytes)

subject to

     4b.GIF (3434 bytes)

where

     4c.GIF (2576 bytes)

and

     4d.GIF (3695 bytes)

The feasible initial guess is

     4e.GIF (739 bytes)

with the corresponding value of the objective function

     4f.GIF (456 bytes)

 

example4.pds

dv x(10)
ob f    
ic c(350)

example4.ini

x  = [0.1*ones(1,9),1]
pi = 4*atan(1)
a  = (0:99)*0.025
kt = (1:9)'*pi*[a,a,(1.2+(0:149)*0.2)*0.25]
ck = cos(kt)
sk = sin(kt)

example4.sim

f  = x(10)
z  = (x(1:9)*ck).^2+(x(1:9)*sk).^2
t1 = (1-x(10))^2-z(1:100)
t2 = z(101:200)-(1+x(10))^2
t3 = x(201:350)-X(10)^2
C  = [t1,t2,t3]

 

Back to the top

Back to Examples

 

 

 

Send mail to webmaster@aemdesign.com with questions or comments about this web site.
Last modified: February 21, 2005