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	surrogate local taylor_series
31	  variables_pointer = 'OPTIM_V'
32	  responses_pointer = 'OPTIM_R_SURR'
33	  actual_model_pointer = 'OPTIM_TRUTH'
34
35variables,
36	id_variables = 'OPTIM_V'
37	continuous_design = 2
38	  initial_point    2.5    2.5
39	  upper_bounds    10.0   10.0
40	  lower_bounds     1.0    1.0
41	  descriptors 'w' 't'
42
43responses,
44# minimize mean Weight
45# s.t.     beta_S >= 3
46#          beta_D >= 3
47#
48# NOTE: This specifies the TOTAL RESPONSE for the optimization,
49#       which is a combination of nested & interface responses.
50	id_responses = 'OPTIM_R_SURR'
51	objective_functions = 1
52	nonlinear_inequality_constraints = 2
53	nonlinear_inequality_lower_bounds = 3. 3.
54	nonlinear_inequality_upper_bounds = 1.e+50 1.e+50
55	analytic_gradients
56	no_hessians
57
58##########################
59# begin TS specification #
60##########################
61model,
62	id_model = 'OPTIM_TRUTH'
63	nested
64	  variables_pointer  = 'OPTIM_V'
65	  sub_method_pointer = 'UQ'
66	  responses_pointer  = 'OPTIM_R_TRUTH'
67# use projection of analytic PCE moments: constrain beta
68	  primary_response_mapping   = 1. 0. 0. 0. 0. 0. 0. 0.
69	  secondary_response_mapping = 0. 0. 0. 0. 1. 0. 0. 0.
70				       0. 0. 0. 0. 0. 0. 0. 1.
71
72responses,
73# NOTE: This specifies the TOTAL RESPONSE from the nested mapping
74#       used for constructing the surrogate.
75	id_responses = 'OPTIM_R_TRUTH'
76	objective_functions = 1
77	nonlinear_inequality_constraints = 2
78	analytic_gradients
79	no_hessians				#s0,#s2
80#	quasi_hessians sr1			#s1,#s3
81
82##########################
83# begin UQ specification #
84##########################
85method,
86	id_method = 'UQ'
87	model_pointer = 'UQ_M'
88	stoch_collocation
89	  quadrature_order = 3			#s0,#s1
90#	  sparse_grid_level = 2 non_nested	#s2,#s3
91	  num_response_levels = 0 1 1
92	  response_levels = 0.0 0.0
93	  compute reliabilities
94	  complementary distribution
95
96model,
97	id_model = 'UQ_M'
98	single
99	  variables_pointer = 'UQ_V'
100	  interface_pointer = 'UQ_I'
101	  responses_pointer = 'UQ_R'
102
103variables,
104	id_variables = 'UQ_V'
105	continuous_design = 2
106	normal_uncertain = 4
107	  means             =  40000. 29.E+6 500. 1000.
108	  std_deviations    =  2000. 1.45E+6 100. 100.
109	  descriptors       =  'R' 'E' 'X' 'Y'
110
111interface,
112	id_interface = 'UQ_I'
113	direct
114	  analysis_driver = 'mod_cantilever'
115#	  deactivate evaluation_cache restart_file
116
117responses,
118	id_responses = 'UQ_R'
119	response_functions = 3
120	analytic_gradients
121	no_hessians
122