Chapter 11Bounds constraints

Bounds, sometimes called box constraints, are among the most common constraints that users wish to impose on nonlinear optimization or modeling parameters. Fortunately, they are also quite easy to include, although as always care is needed in their implementation and use.

In this treatment, I will generally use the term “bounds.” In fact, we will not always impose a lower and upper bounds on every parameter, so we will not always have a “box,” and some methods do not lend themselves to imposing a true c11-math-0001-dimensional box in which we will seek a solution.

The general conditions we wish to satisfy are, therefore,

11.1 equation

11.1 Single bound: use of a logarithmic transformation

Suppose we want one of our optimization parameters—call it c11-math-0003—to be nonnegative in our modeling or objective function c11-math-0004. For the moment, we will ignore other inputs to c11-math-0005, and we will leave the generalization to bounds other than zero until later. Clearly, we could rewrite our function to use a different ...

Get Nonlinear Parameter Optimization Using R Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.