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#	dot_sqp
26	  convergence_tolerance = 1.e-6
27	  output verbose
28
29model,
30	id_model = 'OPTIM_M'
31	variables_pointer  = 'OPTIM_V'
32	responses_pointer  = 'OPTIM_R'
33	surrogate hierarchical
34	  ordered_model_fidelities = 'LO_FI' 'HI_FI'
35	  correction additive first_order	#s0,#s2
36#	  correction additive second_order	#s1,#s3
37
38variables,
39	id_variables = 'OPTIM_V'
40	continuous_design = 3
41	  initial_point   300.     20.      300.
42	  lower_bounds    200.     10.      100.
43	  upper_bounds    400.     30.      500.
44	  descriptors     'b'      'd'      'h'
45
46responses,
47# NOTE: This specifies the TOTAL RESPONSE for the optimization,
48#       which is a combination of nested & interface responses.
49	id_responses = 'OPTIM_R'
50	objective_functions = 1
51	nonlinear_inequality_constraints = 1
52	nonlinear_inequality_upper_bounds = 4000.
53	analytic_gradients
54	no_hessians				#s0,#s2
55#	quasi_hessians sr1			#s1,#s3
56
57responses,
58# NOTE: This specifies the TOTAL RESPONSE for the optimization,
59#       which is a combination of nested & interface responses.
60	id_responses = 'OPTIM_R_MIXED'
61	objective_functions = 1
62	nonlinear_inequality_constraints = 1
63	nonlinear_inequality_upper_bounds = 4000.
64	mixed_gradients
65	  id_analytic_gradients = 2
66	  id_numerical_gradients = 1
67	  method_source dakota
68	  interval_type central
69	  fd_gradient_step_size = 1.e-4
70	no_hessians				#s0,#s2
71#	quasi_hessians sr1			#s1,#s3
72
73##########################
74# begin LF specification #
75##########################
76model,
77	id_model = 'LO_FI'
78	nested
79	  variables_pointer  = 'OPTIM_V'
80	  sub_method_pointer = 'UQ_MV'
81	  optional_interface_pointer  = 'OPTIONAL_I'
82	  optional_interface_responses_pointer = 'OPTIONAL_I_R'
83	  responses_pointer  = 'OPTIM_R_MIXED'
84	  primary_variable_mapping   = 'B'    'D'    'H'
85	  secondary_variable_mapping = 'mean' 'mean' 'mean'
86# maximize beta
87# s.t.     Cost <= 4000.
88	  primary_response_mapping = 0. 0. -1.
89
90method,
91	id_method = 'UQ_MV'
92	model_pointer = 'UQ_M_LO_FI'
93	local_reliability
94	  response_levels = 0.0
95	  compute reliabilities
96	  cumulative distribution
97
98##########################
99# begin HF specification #
100##########################
101model,
102	id_model = 'HI_FI'
103	nested
104	  variables_pointer  = 'OPTIM_V'
105	  sub_method_pointer = 'UQ_UNCERTAIN_EXP'
106	  optional_interface_pointer  = 'OPTIONAL_I'
107	  optional_interface_responses_pointer = 'OPTIONAL_I_R'
108	  responses_pointer  = 'OPTIM_R'
109	  primary_variable_mapping   = 'B'    'D'    'H'
110	  secondary_variable_mapping = 'mean' 'mean' 'mean'
111# maximize beta
112# s.t.     Cost <= 4000.
113	  primary_response_mapping = 0. 0. -1.
114
115method,
116	id_method = 'UQ_UNCERTAIN_EXP'
117	model_pointer = 'UQ_M_HI_FI'
118	polynomial_chaos askey
119 	  expansion_order = 2			#s0,#s1
120	  collocation_ratio = 2.		#s0,#s1
121	  seed = 12347 fixed_seed 		#s0,#s1
122#	  sparse_grid_level = 2 non_nested	#s2,#s3
123	  response_levels = 0.0
124	  compute reliabilities
125	  cumulative distribution
126	  output silent
127
128##########################################
129# begin optional interface specification #
130##########################################
131interface,
132	id_interface = 'OPTIONAL_I'
133	direct
134	  analysis_driver = 'steel_column_cost'
135
136responses,
137# NOTE: This is the response set from the optional interface.
138	id_responses = 'OPTIONAL_I_R'
139	objective_functions = 0
140	nonlinear_inequality_constraints = 1
141	analytic_gradients
142	no_hessians
143
144#################################
145# begin UQ model specifications #
146#################################
147# NOTE: must have different models to enable different variables views
148model,
149	id_model = 'UQ_M_LO_FI'
150	single
151	  variables_pointer = 'UQ_V'
152	  interface_pointer = 'UQ_I'
153	  responses_pointer = 'UQ_R_LO_FI'
154
155model,
156	id_model = 'UQ_M_HI_FI'
157	single
158	  variables_pointer = 'UQ_V'
159	  interface_pointer = 'UQ_I'
160	  responses_pointer = 'UQ_R_HI_FI'
161
162variables,
163	id_variables = 'UQ_V'
164	normal_uncertain = 2
165	  means           =  30. 500000.
166	  std_deviations  =  10.  50000.
167	  descriptors     = 'F0'  'P1'
168	lognormal_uncertain = 4
169	  means          = 300.  20. 300. 400.
170	  std_deviations =   3.   2.   5.  35.
171	  descriptors    =  'B'  'D'  'H' 'Fs'
172	gumbel_uncertain = 2
173	  alphas         = 1.4250554e-5 1.4250554e-5
174	  betas          = 559496.31    559496.31
175	  descriptors    =  'P2'    'P3'
176	weibull_uncertain = 1
177	  alphas          =     5.7974
178	  betas           =	22679.4777
179	  descriptors     =    'E'
180
181interface,
182	id_interface = 'UQ_I'
183	direct
184	  analysis_driver = 'steel_column_perf'
185#	  deactivate evaluation_cache restart_file
186
187responses,
188	id_responses = 'UQ_R_LO_FI'
189	response_functions = 1
190	analytic_gradients
191	no_hessians
192
193responses,
194	id_responses = 'UQ_R_HI_FI'
195	response_functions = 1
196	analytic_gradients
197	no_hessians
198