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.

quadprog[x,fval] = quadprog(...) returns the value of the objective functionat x:fval = 0.5*x'*H*x + f'*x.[x,fval,exitflag] = quadprog(...) returns a value exitflag thatdescribes the exit condition of quadprog.[x,fval,exitflag,output] = quadprog(...) returns a structureoutput that contains information about the optimization.[x,fval,exitflag,output,lambda] = quadprog(...) returns astructure lambda whose fields contain the Lagrange multipliers at thesolution x.Note If the specified input bounds for a problem are inconsistent, theoutput x is x0 and the output fval is [].InputArgumentsOutputArguments“Function Arguments” on page 6-2 contains general descriptions ofarguments passed into quadprog. “Options” on page 8-194 providesfunction-specific details for the options values.“Function Arguments” on page 6-2 contains general descriptionsof arguments returned by quadprog. This section providesfunction-specific details for exitflag, lambda, andoutput:exitflagInteger identifying the reasonthealgorithmterminated. The following lists the values ofexitflag and the corresponding reasons thealgorithm terminated:1 Function converged to asolution x.8-192

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

Saved successfully!

Ooh no, something went wrong!