Releases: csdms/dakotathon
Releases · csdms/dakotathon
Isa component
Dakotathon is now a CSDMS component that can be called from PyMT in a WMT executor.
For example, here's how to perform a vector parameter study on the built-in Rosenbrock function through Dakotathon's BMI:
from pymt.components import VectorParameterStudy
from dakotathon.utils import configure_parameters
d = VectorParameterStudy()
parameters = {'analysis_driver': 'rosenbrock', 'interface': 'direct', 'descriptors': ['x1', 'x2'], 'initial_point': [-0.3, 0.2], 'final_point': [1.1, 1.3], 'response_descriptors': 'y1'}
dparameters, _ = configure_parameters(parameters)
d.setup('.', **dparameters)
d.initialize('dakota.yaml')
d.update()
d.finalize()Here's the resulting dakota.dat file:
%eval_id interface x1 x2 y1
1 CSDMS -0.3 0.2 2.9
2 CSDMS -0.02 0.42 18.646816
3 CSDMS 0.26 0.64 33.311776
4 CSDMS 0.54 0.86 32.519456
5 CSDMS 0.82 1.08 16.646176
6 CSDMS 1.1 1.3 0.82
Check the examples directory for other examples.
Incrementing to the future
Merge pull request #25 from csdms/mdpiper/update-bmi Update bmi
2015 CSDMS annual meeting
Merge pull request #13 from mdpiper/master Convert HydroTrend.write_tmpl_file to a static method