string

String-valued discrete design set variables

Topics

discrete_variables, design_variables

Specification

  • Alias: None

  • Arguments: INTEGER

  • Default: no discrete design set string variables

Child Keywords:

Required/Optional

Description of Group

Dakota Keyword

Dakota Keyword Description

Optional

elements_per_variable

Number of admissible elements for each set variable

Required

elements

The permissible values for each discrete variable

Optional

adjacency_matrix

1-0 matrix defining which categorical variable levels are related.

Optional

initial_point

Initial values for variables

Optional

descriptors

Labels for the variables

Description

Discrete design variables whose values come from a specified set of admissible strings.

See Usage Notes for tips on specifying discrete set variables. Each string element value must be quoted and may contain alphanumeric, dash, underscore, and colon. White space, quote characters, and backslash/metacharacters are not permitted.

Examples

Two string variables whose values will be selected from the set of provided elements. The first variable, ‘linear solver’, takes on values from a set of three possible elements and the second variable, ‘mesh_file’, from a set of two possible elements.

discrete_design_set
  string 2
    descriptors           'linear_solver'  'mesh_file'
    elements_per_variable 3                2
    elements              'cg' 'gmres' 'direct'
                          'mesh64.exo' 'mesh128.exo'