1#@ s*: Label=FastTest
2#@ s*: TimeoutAbsolute=3600
3#@ s*: TimeoutDelay=1200
4#@ *: DakotaConfig=HAVE_NOWPAC
5
6environment,
7#	graphics
8	tabular_data
9		tabular_data_file = 'dakota_tabular_mlmc.dat'
10	method_pointer = 'UQ'
11
12##########################
13# begin UQ specification #
14##########################
15method,
16	id_method = 'UQ'
17	model_pointer = 'HIERARCH'
18      multilevel_sampling
19	  pilot_samples = 100 10  #s0,#s1,#s2 #119 16
20#	  pilot_samples = 100 50  #s3,#s4 #119 16
21	  #final_moments standard
22	  max_iterations = 10 #s0,#s1,#s2
23#	  max_iterations = 110 #s3,#s4
24	  seed = 12347
25	  #sample_type random # use MC error estimates
26	  fixed_seed
27	  allocation_target = mean #s0,#s1,#s2
28#	  allocation_target = variance #s3,#s4
29#         optimization
30	  qoi_aggregation = max
31     convergence_tolerance = 1                   	#s0
32#     convergence_tolerance = 0.1                   #s1
33#     convergence_tolerance = 0.01                   #s2,#s3
34#     convergence_tolerance = 0.001                   #s4
35#     convergence_tolerance = 1.389824213484928e-7   #for later use
36#	  	convergence_tolerance_type = absolute 		 #for later use
37	  final_moments central
38	  output debug
39
40model,
41	id_model = 'HIERARCH'
42	variables_pointer = 'UQ_V'
43	responses_pointer = 'UQ_R'
44	surrogate hierarchical
45	  ordered_model_fidelities = 'MLModel'
46
47model,
48	id_model = 'MLModel'
49	variables_pointer = 'UQ_V'
50	interface_pointer = 'UQ_I'
51	responses_pointer = 'UQ_R'
52	simulation
53		solution_level_control = 'Ac' #multilevel controlled by stochastic c
54	  	solution_level_cost = 0.1 1.0 # relative cost of 2DCoarse, 2DFine
55
56variables,
57	id_variables = 'UQ_V'
58		continuous_design = 1
59		  initial_point     = 2.0 #deterministic f
60		  descriptors       = 'x'
61		  #scale_types 	    = 'none'
62		  #scales	   		= 0.1
63        #continuous_state = 1
64        #  initial_state     = 0.0 #deterministic f
65        #  descriptors       = 'Ac'
66          #scale_types     = 'none'
67          #scales          = 0.1
68        uniform_uncertain = 1
69          lower_bounds      =  -0.5
70          upper_bounds      =  0.5
71          descriptors       =   'xi'
72        discrete_state_set real = 2
73            num_set_values = 2 1
74            initial_state = -4 0.0 #stochastic c
75            set_values = -4 1.0
76                         0.0
77            descriptors = 'Ac' 'Af'
78
79interface,
80	id_interface = 'UQ_I'
81	direct
82		analysis_driver = 'problem18'
83
84responses,
85	id_responses = 'UQ_R'
86	response_functions = 2
87	no_gradients
88	no_hessians
89