Modify the optimization process, or monitor the optimization, by setting appropriate options.
optimoptions | Create optimization options |
optimset | Create or edit optimization options structure |
resetoptions | Reset options |
Optimize | Optimize or solve equations in the Live Editor |
Options are the controls for optimization.
How to use options.
Choose Between optimoptions and optimset
Choose between the two functions that create options.
How to review your options.
Optimize without using the Optimization app.
Options in Common Use: Tuning and Troubleshooting
Overview of the most common options.
Tolerances and Stopping Criteria
Control when the solver stops.
Describes which tolerances are relative and which absolute for four common tolerances.
Checking Validity of Gradients or Jacobians
Check whether a derivative function matches finite difference estimates.
Output Function and Plot Function Syntax
How to monitor the progress of your optimization at the command line and stop the solver.
Describes plot functions for displaying information on solver iterations.
intlinprog Output Function and Plot Function Syntax
How to monitor the progress of the intlinprog
solution
process.
Optimization Options Reference
Explore optimization options.
Current and Legacy Option Names
Gives the former and current option names that changed in R2016a.