1#@ s*: Label=FastTest
2# DAKOTA INPUT FILE - dakota_rosenbrock_hessians.in
3
4# This sample Dakota input file optimizes the Rosenbrock function.
5# See p. 95 in Practical Optimization by Gill, Murray, and Wright.
6
7# This tester executes optpp_newton with a series of Hessian settings:
8# analytic, quasi BFGS, quasi SR1, 1st-order FD, and 2nd-order FD.
9
10method,
11	optpp_newton
12	  max_iterations = 50,
13	  convergence_tolerance = 1e-4
14#	  output debug
15
16variables,
17	continuous_design = 2
18	  initial_point   -1.2    1.0
19	  lower_bounds    -2.0   -2.0
20	  upper_bounds     2.0    2.0
21	  descriptors      'x1'   'x2'
22
23interface,
24  direct
25	  analysis_driver = 'rosenbrock'
26
27responses,
28	objective_functions = 1
29	analytic_gradients	 		#s0,#s1,#s2,#s3
30#	numerical_gradients	        	#s4
31#	  method_source dakota	        	#s4
32#	  interval_type central	        	#s4
33#	  fd_gradient_step_size = 1.e-5 	#s4
34	analytic_hessians			#s0
35#	quasi_hessians damped bfgs		#s1
36#	quasi_hessians sr1			#s2
37#	numerical_hessians			#s3,#s4
38#	  fd_hessian_step_size = 1.e-5		#s3,#s4
39