Dakota 7.0

Dakota 7.0 is officially available for download.

Highlight: Python API

Dakota 7.0 introduces a Python API that allows studies to be constructed and run programmatically without writing a Dakota input file. Study components — methods, models, variables, interfaces — are ordinary Python or C++ objects, enabling Dakota to be embedded inside larger applications, automation pipelines, and agentic AI workflows. Python bindings are provided for nearly all iterators and models, including parameter studies, UQ methods, calibration, optimization, surrogate-based methods, ensemble surrogates, and meta-iterators.

The APIs share the same configuration grammar as JSON input but replace pointer-based id_* / *_pointer relationships with direct object references. Kwargs and Pydantic model configurations are both supported for setting keyword options.

The dakota-to-json command-line tool and its backing Python module dakota.tools.freeform_to_json can convert an existing freeform Dakota input to a JSON file that Dakota accepts directly with dakota -json and that can serve as a starting point for a Python-based study.

To simplify the API, a few noteworthy changes were made to Dakota’s input spec. These changes affect not only the API and JSON input formats, but also the freeform format.

First, the four surrogate types (global, local, multipoint, ensemble) were promoted to model types. Instead of model surrogate global, it’s now necessary to specify model global_surrogate.

Similarly, method hybrid sequential was promoted to method hybrid_sequential.

Enabling / Accessing:

  • Follow the instructions to install a pre-built package, including setting your PYTHONPATH. Dakota’s compiled Python modules were built using Python 3.13, and compatible only with this Major.minor version.
  • Or, build Dakota with the DAKOTA_PYTHON_STUDY CMake option enabled, and build the install-python target to install Dakota’s Python package into your environment. A minimum of Python 3.10 is required.

Documentation: Library APIs in the User’s Manual (construction guide, tutorial, and Python reference).

Highlight: Rewritten Introduction and Tutorial

The introductory and tutorial sections of the User’s Manual have been completely rewritten. The new material covers how to run your first Dakota study step by step, how to connect your own simulation code as an analysis driver, and how the main study types differ, all with examples in both JSON and freeform input formats. Existing users will find the restructured content easier to navigate; new users get a more direct path from installation to a working study.

Documentation: Tutorial: Your First Dakota Study and Connecting Your Code: The Analysis Driver in the User’s Manual.

Full Release Notes

This release features numerous other enhancements to existing capabilities and bugfixes. Full release notes are available at Dakota’s external documentation site, https://snl-dakota.github.io/.