Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Create optimization problem

`prob = optimproblem`

`prob = optimproblem(Name,Value)`

uses additional options specified by one or more `prob`

= optimproblem(`Name,Value`

)`Name,Value`

pair
arguments. For example, to specify a maximization problem instead of a minimization
problem, use ```
prob =
optimproblem('ObjectiveSense','maximize')
```

.