Main Content

Create empty optimization inequality array

Use `optimineq`

to initialize a set of inequality
expressions.

**Tip**

For the full workflow, see Problem-Based Optimization Workflow.

It is generally more efficient to create constraints by vectorized expressions rather than loops. See Create Efficient Optimization Problems.

You can use

`optimconstr`

instead of`optimineq`

to create inequality constraints for optimization problems.