To represent your optimization problem for solution, you generally follow these steps:
• Choose an optimization solver.
• Create an objective function, typically the function you want to minimize.
• Create constraints, if any.
• Set options, or use the default options.
• Call the appropriate solver.
For details, see Optimization Workflow.
You can use a visual approach for optimizing; see the Optimize Live Editor task.