.. _variables-discrete_design_set-integer:

"""""""
integer
"""""""


Integer-valued discrete design variables




**Topics**


discrete_variables, design_variables


.. toctree::
   :hidden:
   :maxdepth: 1

   variables-discrete_design_set-integer-elements_per_variable
   variables-discrete_design_set-integer-elements
   variables-discrete_design_set-integer-categorical
   variables-discrete_design_set-integer-initial_point
   variables-discrete_design_set-integer-descriptors


**Specification**

- *Alias:* None

- *Arguments:* INTEGER

- *Default:* no discrete design set integer variables


**Child Keywords:**

+-------------------------+--------------------+---------------------------+-----------------------------------------------+
| Required/Optional       | Description of     | Dakota Keyword            | Dakota Keyword Description                    |
|                         | Group              |                           |                                               |
+=========================+====================+===========================+===============================================+
| Optional                                     | `elements_per_variable`__ | Number of admissible elements for each set    |
|                                              |                           | variable                                      |
+----------------------------------------------+---------------------------+-----------------------------------------------+
| Required                                     | `elements`__              | The permissible values for each discrete      |
|                                              |                           | variable                                      |
+----------------------------------------------+---------------------------+-----------------------------------------------+
| Optional                                     | `categorical`__           | Whether the set-valued variables are          |
|                                              |                           | categorical or relaxable                      |
+----------------------------------------------+---------------------------+-----------------------------------------------+
| Optional                                     | `initial_point`__         | Initial values for variables                  |
+----------------------------------------------+---------------------------+-----------------------------------------------+
| Optional                                     | `descriptors`__           | Labels for the variables                      |
+----------------------------------------------+---------------------------+-----------------------------------------------+

.. __: variables-discrete_design_set-integer-elements_per_variable.html
__ variables-discrete_design_set-integer-elements.html
__ variables-discrete_design_set-integer-categorical.html
__ variables-discrete_design_set-integer-initial_point.html
__ variables-discrete_design_set-integer-descriptors.html



**Description**


A design variable whose values come from a specified set of admissible
integers. See :ref:`variables:usage` for tips on specifying discrete set
variables.




**Examples**


Four integer variables whose values will be selected from the
following sets during the search for an optimal design. :math:`y1 \in
\{0,1\}` , :math:`y2 \in \{0, 1\}` , :math:`y3 \in \{0,5\}`  and :math:`y4 \in
\{10, 15, 20, 23\}` .


.. code-block::

    discrete_design_set
      integer 4
        descriptors           'y1'  'y2'  'y3'  'y4'
        elements_per_variable 2     2     2     4
        elements              0 1   0 1   0 5   10 15 20 23




