IDEAS home Printed from https://ideas.repec.org/c/dge/qmrbcd/13.html
 

Matlab Optimization Software

Author

Listed:
  • Christopher Sims

    (Princeton University)

Programming Language

Matlab

Abstract

Matlab programs that solve nonlinear equations and minimize using quasi-Newton with BFGS update. The programs are somewhat more robust, apparently, than the stock Matlab programs that do about the same thing. The minimizer can negotiate discontinuous "cliffs" without getting stuck. This directory contains a set of matlab m files that do unconstrained optimization and nonlinear equations-solving. It also contains some auxiliary m files. csminwel: minimization. Uses a quasi-Newton method with BFGS update of the estimated inverse hessian. It is robust against certain pathologies common on likelihood functions. It attempts to be robust against "cliffs", i.e. hyperplane discontinuities, though it is not really clear whether what it does in such cases succeeds reliably. csminit: called by csminwel. numgrad: crude numerical derivative. Called by csminwel if no analytic gradient supplied. Beware of this or any other numerical derivative on large or ill-conditioned problems. bfgsi: The BFGS update for the inverse hessian. csolve: nonlinear equation solver. More robust than many. Tries random search directions if things look bad and will not get stuck at a flat spot in the sum of deviations objective function that is not a solution

Suggested Citation

  • Christopher Sims, 1999. "Matlab Optimization Software," QM&RBC Codes 13, Quantitative Macroeconomics & Real Business Cycles.
  • Handle: RePEc:dge:qmrbcd:13
    as

    Download full text from publisher

    File URL: https://dge.repec.org/codes/sims/optimize/
    File Function: program code
    Download Restriction: none
    ---><---

    More about this item

    Keywords

    Matlab;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:dge:qmrbcd:13. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christian Zimmermann (email available below). General contact details of provider: http://dge.repec.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.