Documentation Center

  • Trial Software
  • Product Updates

Functions in Optimization Toolbox

  • By Category | Alphabetical List
  • Optimization Problem Setup

    Choose a Solver

    optimtool Select solver and optimization options, run problems

    Set Options

    optimoptions Create optimization options
    optimset Create or edit optimization options structure
    optimtool Select solver and optimization options, run problems

    Nonlinear Optimization

    Unconstrained Optimization

    fminsearch Find minimum of unconstrained multivariable function using derivative-free method
    fminunc Find minimum of unconstrained multivariable function

    Constrained Optimization

    fminbnd Find minimum of single-variable function on fixed interval
    fmincon Find minimum of constrained nonlinear multivariable function
    fseminf Find minimum of semi-infinitely constrained multivariable nonlinear function

    Multiobjective Optimization

    fgoalattain Solve multiobjective goal attainment problems
    fminimax Solve minimax constraint problem

    External Interface

    ktrlink Find minimum of constrained or unconstrained nonlinear multivariable function using KNITRO third-party libraries

    Linear Programming and Mixed-Integer Linear Programming

    intlinprog Mixed-integer linear programming (MILP)
    linprog Solve linear programming problems

    Quadratic Programming

    quadprog Quadratic programming

    Least Squares

    Linear Least Squares

    lsqlin Solve constrained linear least-squares problems
    lsqnonneg Solve nonnegative least-squares constraint problem
    mldivide, \ Solve systems of linear equations Ax = B for x

    Nonlinear Least Squares (Curve Fitting)

    lsqcurvefit Solve nonlinear curve-fitting (data-fitting) problems in least-squares sense
    lsqnonlin Solve nonlinear least-squares (nonlinear data-fitting) problems

    Systems of Nonlinear Equations

    fsolve Solve system of nonlinear equations
    fzero Root of nonlinear function
    Was this topic helpful?