1#@ s*: Label=FastTest
2#@ *: DakotaConfig=HAVE_NPSOL
3# DAKOTA INPUT FILE: dakota_trsbouu2_cantilever.in
4#
5# Surrogate-based OUU with trust regions: surrogate containing nested
6#
7
8environment,
9	method_pointer = 'SBLO'
10
11method,
12	id_method = 'SBLO'
13	surrogate_based_local
14	model_pointer = 'OPTIM_M'
15	  approx_method_pointer = 'OPTIM'
16	  max_iterations = 50
17          soft_convergence_limit = 2
18	  trust_region
19	    initial_size = 0.4
20	    contraction_factor = 0.5
21	    expansion_factor   = 1.50
22
23###########################
24# begin opt specification #
25###########################
26method,
27	id_method = 'OPTIM'
28        npsol_sqp
29	  convergence_tolerance = 1.e-8
30
31model,
32	id_model = 'OPTIM_M'
33	surrogate global
34	  variables_pointer = 'OPTIM_V'
35	  responses_pointer = 'OPTIM_R'
36	  polynomial quadratic
37	  dace_method_pointer = 'DACE'
38
39variables,
40	id_variables = 'OPTIM_V'
41	continuous_design = 2
42	  initial_point    2.5    2.5
43	  upper_bounds    10.0   10.0
44	  lower_bounds     1.0    1.0
45	  descriptors 'w' 't'
46
47responses,
48# minimize mean Weight
49# s.t.     mean_S + 3 sigma_S <= 0
50#          mean_D + 3 sigma_D <= 0
51#
52# NOTE: This specifies the TOTAL RESPONSE for the optimization,
53#       which is a combination of nested & interface responses.
54	id_responses = 'OPTIM_R'
55	objective_functions = 1
56	nonlinear_inequality_constraints = 2
57	analytic_gradients
58	no_hessians
59
60############################
61# begin DACE specification #
62############################
63method,
64	id_method = 'DACE'
65	model_pointer = 'DACE_M'
66	sampling
67	  sample_type lhs #samples = 9
68	  seed = 12347
69#	  fixed_seed					#s1
70#	dace lhs seed = 5
71#	  samples = 9 symbols = 9
72
73model,
74	id_model = 'DACE_M'
75	nested
76	  variables_pointer  = 'OPTIM_V'
77	  sub_method_pointer = 'UQ'
78	  responses_pointer  = 'OPTIM_R_NO_GRAD'
79	  primary_response_mapping   = 1. 0. 0. 0. 0. 0.
80	  secondary_response_mapping = 0. 0. 1. 3. 0. 0.
81                                       0. 0. 0. 0. 1. 3.
82
83responses,
84	id_responses = 'OPTIM_R_NO_GRAD'
85	objective_functions = 1
86	nonlinear_inequality_constraints = 2
87	no_gradients
88	no_hessians
89
90##########################
91# begin UQ specification #
92##########################
93method,
94	id_method = 'UQ'
95	model_pointer = 'UQ_M'
96        sampling
97	  samples = 50 sample_type lhs
98	  seed = 12347
99#	  fixed_seed					#s1
100	  output quiet
101
102model,
103	id_model = 'UQ_M'
104	single
105	  variables_pointer = 'UQ_V'
106	  interface_pointer = 'UQ_I'
107	  responses_pointer = 'UQ_R'
108
109variables,
110	id_variables = 'UQ_V'
111	continuous_design = 2
112	normal_uncertain = 4
113	  means             =  40000. 29.E+6 500. 1000.
114	  std_deviations    =  2000. 1.45E+6 100. 100.
115	  descriptors       =  'R' 'E' 'X' 'Y'
116
117interface,
118	id_interface = 'UQ_I'
119	direct
120	  analysis_driver = 'cantilever'
121	  deactivate evaluation_cache restart_file
122
123responses,
124	id_responses = 'UQ_R'
125	response_functions = 3
126	no_gradients
127	no_hessians
128