How to express constraints for various problem types.
Choose the most appropriate form for your constraints.
Iterations Can Violate Constraints
Considerations for constrained problems.
How to write constraints for individual components.
Include constraints that can be expressed as matrix inequalities or equalities.
How to include general inequality and equality constraints.
Optimize when only one constraint of a set is necessary.
Objective and Nonlinear Constraints in the Same Function
Save function evaluations, typically useful in simulations.
How to Use All Types of Constraints
Example showing all constraints.
Including extra parameters or data in your objective or nonlinear constraint functions.