next up previous
Next: 2.5 A Final Example Up: 2 An introduction to Previous: 2.3 An Example

 

2.4 A Second Example

We now consider a different sort of example, the unconstrained problem,

  equation1194

Once again, there are a number of ways of casting this problem in the form (2.1), but the most natural is to consider the argument of each sine function as a group -- the group function is then tex2html_wrap_inline5365 , tex2html_wrap_inline5367 , for various values of the parameter tex2html_wrap_inline5287 . Each group but the last has two nonlinear elements, tex2html_wrap_inline5371 and tex2html_wrap_inline5373 tex2html_wrap_inline5375 and a single linear element tex2html_wrap_inline5377 . The last has no linear element and a single nonlinear element, tex2html_wrap_inline5371 . A single element type, tex2html_wrap_inline5381 , of the elemental variable, tex2html_wrap_inline5265 , covers all of the nonlinear elements.

Thus we see that we can consider our objective function to be made up of 1000 nontrivial groups, all of the same type, so we will have to provide our optimization procedure with function and derivative values for these at some stage. There are 1999 nonlinear elements, two from each group except the last, but all of the same type and again we shall have to provide function and derivative values for these. As there is so much structure to this problem, it would be inefficient to pass the data group-by-group and element-by-element. Clearly, one would like to specify such repetitious structures using a convenient shorthand.