Preparing diagrams for constrained optimization

When preparing your diagrams for constrained optimization, remember that every time a parameterUnknown block or a globalConstraint block is pasted into a diagram, the upper bound is set to 1.e30 and the lower bound is set to -1.e30. This means that unless you reset these bounds, the decision variable (or constraint) is unconstrained.

The following conventions are used to set the upper and lower bounds:

      1.e30 represents infinity (+∞)

      -1.e30 represents minus infinity (-∞)

The table below shows expected values for the upper and lower bounds:

Bound Type

Math

Lower bound

Upper bound

Free (no bounds)

( - ∞, + ∞)

-1.e30

1.e30

Lower bound only

[ a, + ∞)

a

1.e30

Upper bound only

( - ∞, a ]

-1.e30

a

Lower and upper bound

[ a, b ]

a

b

Equality

[ a, a ]

a

a