Main Content
optimineq
Create empty optimization inequality array
Syntax
Description
Use optimineq
to initialize a set of inequality
expressions.
Tip
For the full workflow, see Problem-Based Optimization Workflow.
Examples
Input Arguments
Output Arguments
Tips
It is generally more efficient to create constraints by vectorized expressions rather than loops. See Create Efficient Optimization Problems.
You can use
optimconstr
instead ofoptimineq
to create inequality constraints for optimization problems.
Version History
Introduced in R2019b