Experiments in code generation for continuous optimization objective functions