1#@ s*: Label=FastTest
2#@ *: DakotaConfig=HAVE_NPSOL
3environment,
4	method_pointer = 'SBLO'
5
6method,
7	id_method = 'SBLO'
8	surrogate_based_local
9	model_pointer = 'OPTIM_M'
10	  approx_method_pointer = 'OPTIM'
11	  max_iterations = 50
12	  soft_convergence_limit = 2
13	  trust_region
14	    initial_size = 1.0
15	    contraction_factor = 0.5
16	    expansion_factor   = 1.50
17	  output verbose
18
19###########################
20# begin opt specification #
21###########################
22method,
23	id_method = 'OPTIM'
24	npsol_sqp
25	  convergence_tolerance = 1.e-6
26	  output verbose
27
28model,
29	id_model = 'OPTIM_M'
30	variables_pointer  = 'OPTIM_V'
31	responses_pointer  = 'OPTIM_R'
32	surrogate hierarchical
33	  ordered_model_fidelities = 'LO_FI' 'HI_FI'
34	  correction additive first_order	#s0,#s2,#s4,#s6
35#	  correction additive second_order	#s1,#s3,#s5,#s7
36
37variables,
38	id_variables = 'OPTIM_V'
39	continuous_design = 1
40	  initial_point     = -0.75
41	  lower_bounds      = -2.
42	  upper_bounds      =  2.
43	  descriptors       = 'x1'
44
45responses,
46# NOTE: This specifies the TOTAL RESPONSE for the optimization,
47#       which is a combination of nested & interface responses.
48	id_responses = 'OPTIM_R'
49	objective_functions = 1
50	analytic_gradients
51	no_hessians				#s0,#s2,#s4,#s6
52#	quasi_hessians sr1			#s1,#s3,#s5,#s7
53
54responses,
55# NOTE: This specifies the TOTAL RESPONSE for the optimization,
56#       which is a combination of nested & interface responses.
57	id_responses = 'OPTIM_R_FD'
58	objective_functions = 1
59	numerical_gradients
60#	mixed_gradients
61#	  id_analytic_gradients  = 1
62#	  id_numerical_gradients = 2 3
63	no_hessians				#s0,#s2,#s4,#s6
64#	quasi_hessians sr1			#s1,#s3,#s5,#s7
65
66##########################
67# begin LF specification #
68##########################
69model,
70	id_model = 'LO_FI'
71	nested
72	  variables_pointer  = 'OPTIM_V'
73	  sub_method_pointer = 'UQ_COMBINED_EXP'
74	  responses_pointer  = 'OPTIM_R'	#s0,#s1,#s4,#s5
75#	  responses_pointer  = 'OPTIM_R_FD'	#s2,#s3,#s6,#s7
76# maximize beta
77	  primary_response_mapping   = 0. 0. -1.
78
79method,
80	id_method = 'UQ_COMBINED_EXP'
81	model_pointer = 'UQ_M_LO_FI'
82	stoch_collocation			#s0,#s1,#s4,#s5
83#	local_reliability			#s2,#s3,#s6,#s7
84	  quadrature_order = 5			#s0,#s1
85#	  sparse_grid_level = 2 non_nested	#s4,#s5
86	  response_levels = 10.
87	  compute reliabilities
88
89##########################
90# begin HF specification #
91##########################
92model,
93	id_model = 'HI_FI'
94	nested
95	  variables_pointer  = 'OPTIM_V'
96	  sub_method_pointer = 'UQ_UNCERTAIN_EXP'
97	  responses_pointer  = 'OPTIM_R'
98# maximize beta
99	  primary_response_mapping   = 0. 0. -1.
100
101method,
102	id_method = 'UQ_UNCERTAIN_EXP'
103	model_pointer = 'UQ_M_HI_FI'
104	stoch_collocation
105	  quadrature_order = 5			#s0,#s1,#s2,#s3
106#	  sparse_grid_level = 1			#s4,#s5,#s6,#s7
107	  response_levels = 10.
108	  compute reliabilities
109
110#################################
111# begin UQ model specifications #
112#################################
113# NOTE: must have different models to enable different variables views
114model,
115	id_model = 'UQ_M_LO_FI'
116	single
117	  variables_pointer = 'UQ_V_LO_FI'
118	  interface_pointer = 'UQ_I'
119	  responses_pointer = 'UQ_R_LO_FI'
120
121model,
122	id_model = 'UQ_M_HI_FI'
123	single
124	  variables_pointer = 'UQ_V_HI_FI'
125	  interface_pointer = 'UQ_I'
126	  responses_pointer = 'UQ_R_HI_FI'
127
128variables,
129	id_variables = 'UQ_V_LO_FI'
130	active all				#s0,#s1,#s4,#s5
131	continuous_design = 1
132	normal_uncertain = 1
133      	  means             =  0.
134	  std_deviations    =  1.
135	  descriptors       = 'x2'
136
137variables,
138	id_variables = 'UQ_V_HI_FI'
139	continuous_design = 1
140	normal_uncertain = 1
141      	  means             =  0.
142	  std_deviations    =  1.
143	  descriptors       = 'x2'
144
145interface,
146	id_interface = 'UQ_I'
147	direct
148	  analysis_driver = 'rosenbrock'
149#	  deactivate restart_file evaluation_cache
150
151responses,
152	id_responses = 'UQ_R_LO_FI'
153	response_functions = 1
154	no_gradients				#s0,#s1,#s4,#s5
155#	analytic_gradients			#s2,#s3,#s6,#s7
156	no_hessians
157
158responses,
159	id_responses = 'UQ_R_HI_FI'
160	response_functions = 1
161	analytic_gradients
162	no_hessians
163