Define Objective Function

Define the function to minimize or maximize, representing your problem

Topics

Compute Objective Functions

How to write objective (fitness) function files.

Maximizing vs. Minimizing

How to optimize for a maximum instead of a minimum.

Passing Extra Parameters (Optimization Toolbox)

Including extra parameters or data in your objective or nonlinear constraint functions.

Optimization Workflow

How to find a local or global optimum.