Example 2

     

subject to 

     

where

    

The feasible initial guess is 

     

with the corresponding value of the objective function

     

 

example2.pds

dv x(6)
ob f(163)
ic c(7)
so problem 2

example2.ini

x  = [0.5, 1, 1.5, 2, 2.5, 3]
pi = 4*atan(1)
b  = sin(pi/180*(8.5+0.5*(1:163)))
a  = cos(7*pi*b)

example2.sim

f = (1+2*(a+sum{1,163}(cos(2*pi*x'*b))))/15
c = [0,x]-[x,3.5]+0.425

 

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