next up previous contents
Next: Conclusions and further enhancements Up: Splice and template files Previous: Optimization of the function and Jacobian matrix

Code optimization using Splice

Some information is given here to explain how Splice can be used in conjunction with Optimize to automate code generation. Specifically, it is necessary to keep track of the number of optimization variables introduced during the optimization process, in order to make appropriate type and dimension declarations.

In FORTRAN, it is possible to declare all optimization variables to be the same type by using implicit statement declarations as mentioned previously. In C this is not possible and there are several strategies which may be adopted, the simplest of which is outlined below.


next up previous contents
Next: Conclusions and further enhancements Up: Splice and template files Previous: Optimization of the function and Jacobian matrix

Jorge Romao
5/14/1998