Main Content

Define Constraints

Provide bounds, linear constraints, and nonlinear constraints

Define the problem constraints, including bounds, linear constraints, and nonlinear constraints. The topics show the appropriate syntaxes, and show how to pass extra parameters, if necessary.

Topics

Write Constraints

How to write constraints, and the importance of setting bounds.

Passing Extra Parameters

Including extra parameters or data in your objective or nonlinear constraint functions.

Optimization Workflow

How to find a local or global optimum.