Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Current Point and Function Value

The current point and function value are the first two outputs of all Optimization Toolbox™ solvers.

  • The current point is the final point in the solver iterations. It is the best point the solver found in its run.

    • If you call a solver without assigning a value to the output, the default output, ans, is the current point.

  • The function value is the value of the objective function at the current point.

    • The function value for least-squares solvers is the sum of squares, also known as the residual norm.

    • fgoalattain, fminimax, and fsolve return a vector function value.

    • Sometimes fval or Fval denotes function value.

Was this topic helpful?