Dakota Reference Manual: linear_equality_constraint_matrix

| Dakota Reference Manual Version 6.15 Explore and Predict with Confidence

- Main Page
- Related Pages

All Pages
linear_equality_constraint_matrix

Define coefficients of the linear equalities

## Topics

This keyword is related to the topics:

- linear_constraints

## Specification

Alias: none

Argument(s): REALLIST

Default: no linear equality constraints

## Description

In the equality case, the constraint matrix provides coefficients for the variables on the left hand side of:

The linear_constraints topics page (linked above) outlines a few additional things to consider when using linear constraints.

## Examples

An optimization involving three variables, `x1`, `x2`, and `x3`, is to be performed. These variables must satisfy a pair of linear equality constraints:

The pair of constraints can be written in matrix form as:

The coefficient matrix and right hand side are expressed to Dakota in the variables section of the input file:

    variables
      continuous_design 2
        descriptors 'x1' 'x2'

      linear_equality_constraint_matrix = 1.5  1.0  0.0
                                          3.0  0.0 -4.0

      linear_equality_targets = 5.0
                                0.0

For related examples, see the linear_inequality_constraint_matrix keyword page.