12.07.2015 Views

What Is Optimization Toolbox?

What Is Optimization Toolbox?

What Is Optimization Toolbox?

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Defining the ProblemConstraintsLinear inequalities of the form A*x ≤ b are specified by the matrix A andthe vector b.Linear equalities of the form Aeq*x = beq are specified by the matrix Aeqand the vector beq.Bounds are lower and upper bounds on the variables, specified as vectors.Nonlinear constraint function defines the nonlinear constraints. Specifythe function as a function handle of the form @nonlcon, wherenonlcon.m isan M-file, or as an anonymous function. For a description of this M-file, seethe “Input Arguments” on page 8-14 section of the function reference page.Derivatives specifies whether the derivatives are supplied in the nonlinearconstraint function or if they should be approximated by the solver.Function EquivalentFor the function that corresponds to this solver and more information on theproblem definition, see the fgoalattain function.fminbnd Problem SetupFunction to MinimizeObjective function (required) is the function you want to minimize. Specifythe function as a function handle of the form @objfun, whereobjfun.m is anM-file, or as an anonymous function. For a description of this M-file, see the“Input Arguments” on page 8-29 section of the function reference page.X1 (required) is the left endpoint of the interval over which the objectivefunction is minimized.5-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!