1#@ s*: Label=FastTest
2#@ TODO REVIEW: Do the reliability methods also need NPSOL?
3#@ *: DakotaConfig=HAVE_DOT
4# DAKOTA Input File: dakota_rbdo_cantilever_analytic.in
5# Fully-analytic bi-level RBDO using the cantilever test function.
6
7environment,
8	  method_pointer = 'OPTIM'
9
10###########################
11# begin opt specification #
12###########################
13method,
14	id_method = 'OPTIM'
15	model_pointer = 'OPTIM_M'
16	dot_sqp
17#	npsol_sqp
18	  convergence_tolerance = 1.e-6
19	  output verbose
20	scaling
21
22model,
23	id_model = 'OPTIM_M'
24	nested
25	  variables_pointer  = 'OPTIM_V'
26	  sub_method_pointer = 'UQ'
27	  responses_pointer  = 'OPTIM_R'
28	  primary_response_mapping   = 1. 0. 0. 0. 0. 0. 0. 0.
29	  secondary_response_mapping = 0. 0. 0. 0. 1. 0. 0. 0.
30				       0. 0. 0. 0. 0. 0. 0. 1.
31
32variables,
33	id_variables = 'OPTIM_V'
34	continuous_design = 2
35	  initial_point    2.5    2.5
36	  upper_bounds    10.0   10.0
37	  lower_bounds     1.0    1.0
38	  descriptors 'w' 't'
39	scale_type = 'value'
40	scales     =       2.5	  2.5
41
42responses,
43# minimize mean Weight
44# s.t.     p_S/D    <= .00135 Cases 0,1
45# s.t.     beta_S/D >= 3      Cases 2,3
46# s.t.     z_S/D    <= 0.     Cases 4,5,6,7
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'
51	objective_functions = 1
52	nonlinear_inequality_constraints = 2
53	nonlinear_inequality_upper_bounds = .00135 .00135 #s0,#s1
54#	nonlinear_inequality_lower_bounds = 3. 3.	  #s2,#s3
55#	nonlinear_inequality_upper_bounds = 1.e+50 1.e+50 #s2,#s3
56	analytic_gradients
57	no_hessians
58
59##########################
60# begin UQ specification #
61##########################
62method,
63	id_method = 'UQ'
64	model_pointer = 'UQ_M'
65	local_reliability #nip
66	  mpp_search x_taylor_mpp		#s0,#s2,#s4,#s6
67#	  mpp_search no_approx			#s1,#s3,#s5,#s7
68	  num_response_levels = 0 1 1		#s0,#s1,#s2,#s3
69	  response_levels = 0.0 0.0		#s0,#s1,#s2,#s3
70#	  compute reliabilities			#s2,#s3
71#	  num_probability_levels = 0 1 1	#s4,#s5
72#	  probability_levels = .00135 .00135	#s4,#s5
73#	  num_reliability_levels = 0 1 1	#s6,#s7
74#	  reliability_levels = 3. 3.		#s6,#s7
75# g functions scaled using deterministic opt. conventions:
76# g<=0 is safe/feasible, g>0 is failed/violated.  Therefore,
77# we desire a complementary cumulative reliability index.
78	  complementary distribution
79
80model,
81	id_model = 'UQ_M'
82	single
83	  variables_pointer = 'UQ_V'
84	  interface_pointer = 'UQ_I'
85	  responses_pointer = 'UQ_R'
86
87variables,
88	id_variables = 'UQ_V'
89# continuous_design is not required (OUU will augment
90# automatically), but it is good form
91	continuous_design = 2
92	normal_uncertain = 4
93	  means             =  40000. 29.E+6 500. 1000.
94	  std_deviations    =  2000. 1.45E+6 100. 100.
95	  descriptors       =  'R' 'E' 'X' 'Y'
96
97interface,
98	id_interface = 'UQ_I'
99	direct
100	  analysis_driver = 'cantilever'
101#	  deactivate evaluation_cache restart_file
102
103responses,
104	id_responses = 'UQ_R'
105	response_functions = 3
106	analytic_gradients
107	no_hessians
108