## Knowledge Base » DiscoverSim Toolbox

Optimization Inputs: Constraint

on September 01, 2012

**1. ** **Constraint** Number is provided for reference purposes only.

**2.** Constraint **Name** is the cell address by default. Enter a name to describe the constraint or click the cell reference and specify the cell containing the constraint name. Note that DiscoverSim copy/paste uses relative addressing. DiscoverSim Names must be alphanumeric with no spaces. The underscore character "_" can be used as a separator.

**3.** Constraint cell color can be modified by clicking on **Cell Address** (default colors can be changed in Help > DiscoverSim Options). Click here for detailed instructions on changing cell colors.

**4.** Each constraint will contain a function of Input Controls (cell address or name) on the Left Hand Side (**LHS**), and a constant on the Right Hand Side (**RHS**). Constraints can be simple linear or complex nonlinear. Specify the constraint formula in the LHS.

**5.** A constraint can only be applied to an Input Control and cannot reference an Input Distribution or Output Response.

**6.** A constraint cannot be a part of the model equation (i.e., an output cannot reference a constraint).

**7.** Optimization will usually occur more rapidly if the initial values of the parameters and/or controls satisfy the constraint. In addition, optimization is much harder with equality constraints than with inequality constraints.

Was this helpful? Yes No Print/Save Pdf |