1#@ *: DakotaConfig=HAVE_NPSOL
2# DAKOTA Input File: dakota_scbdo_cantilever.in
3# SC-based OUU using the cantilever test function.
4
5environment,
6	  method_pointer = 'OPTIM'
7
8###########################
9# begin opt specification #
10###########################
11method,
12	id_method = 'OPTIM'
13	model_pointer = 'OPTIM_M'
14	npsol_sqp
15	  convergence_tolerance = 1.e-6
16	  output verbose
17
18model,
19	id_model = 'OPTIM_M'
20	nested
21	  variables_pointer  = 'OPTIM_V'
22	  sub_method_pointer = 'UQ'
23	  responses_pointer  = 'OPTIM_R'
24# use projection of analytic PCE moments: constrain beta
25	  primary_response_mapping   = 1. 0. 0. 0. 0. 0. 0. 0.
26	  secondary_response_mapping = 0. 0. 0. 0. 1. 0. 0. 0.
27				       0. 0. 0. 0. 0. 0. 0. 1.
28
29variables,
30	id_variables = 'OPTIM_V'
31	continuous_design = 2
32	  initial_point    2.5    2.5
33	  upper_bounds    10.0   10.0
34	  lower_bounds     1.0    1.0
35	  descriptors 'w' 't'
36
37responses,
38# minimize mean Weight
39# s.t.     beta_S >= 3
40#          beta_D >= 3
41#
42# NOTE: This specifies the TOTAL RESPONSE for the optimization,
43#       which is a combination of nested & interface responses.
44	id_responses = 'OPTIM_R'
45	objective_functions = 1
46	nonlinear_inequality_constraints = 2
47	nonlinear_inequality_lower_bounds = 3. 3.
48	nonlinear_inequality_upper_bounds = 1.e+50 1.e+50
49	analytic_gradients			#s0,#s1,#s4,#s5
50#	numerical_gradients			#s2,#s3,#s6,#s7
51#	  method_source dakota			#s2,#s3,#s6,#s7
52#	  interval_type central			#s2,#s3,#s6,#s7
53#	  fd_gradient_step_size = 1.e-6		#s2,#s3,#s6,#s7
54	no_hessians
55
56##########################
57# begin UQ specification #
58##########################
59method,
60	id_method = 'UQ'
61	model_pointer = 'UQ_M'
62	stoch_collocation
63	  quadrature_order = 3			#s0,#s1,#s2,#s3
64#	  sparse_grid_level = 2 non_nested	#s4,#s6
65#	  sparse_grid_level = 4 non_nested	#s5,#s7
66	  num_response_levels = 0 1 1
67	  response_levels = 0.0 0.0
68	  compute reliabilities
69	  complementary distribution
70
71model,
72	id_model = 'UQ_M'
73	single
74	  variables_pointer = 'UQ_V'
75	  interface_pointer = 'UQ_I'
76	  responses_pointer = 'UQ_R'
77
78variables,
79	id_variables = 'UQ_V'
80#	active all				#s1,#s3,#s5,#s7
81	continuous_design = 2
82	normal_uncertain = 4
83	  means             =  40000. 29.E+6 500. 1000.
84	  std_deviations    =  2000. 1.45E+6 100. 100.
85	  descriptors       =  'R' 'E' 'X' 'Y'
86
87interface,
88	id_interface = 'UQ_I'
89	direct
90	  analysis_driver = 'mod_cantilever'
91#	  deactivate evaluation_cache restart_file
92
93responses,
94	id_responses = 'UQ_R'
95	response_functions = 3
96	analytic_gradients			#s0,#s4
97#	no_gradients				#s1,#s2,#s3,#s5,#s6,#s7
98	no_hessians
99