fminsearchbnd new

improved bounded fminsearch algorithm

現在この提出コンテンツをフォロー中です。

A minor improvement on the fminsearchbnd (bounded fminsearch) created by John D'Errico. Changes:

% Changes from fminsearchbnd:
Changes from fminsearchbnd:
1) in options structure, user may pass an 'output function' and 'plot function' to fminsearch.
Original fminsearchbnd handled the output function via a nested wrapper function. I have extended
this to the plot function too.
2) I have moved the 'intrafun' function and wrappers to be nested functions (INSIDE the
fminsearchbnd function), so they do not need to pass the params structure around (into
fminsearch) - but have access to it directly. This
maintains the integrity of the varargin, which the user may be passing thru fminsearch to their
optmization funciton (fminsearchbnd had passed the params structure to fminsearch, thus ruining any
varargin that the user passed in).
3) I have created a test example so the user can see not only how fminseachbnd works, but also how
the OutputFn and PrintFns functions work, which were heretofore poorly documented by MathWorks.

引用

Ken Purchase (2026). fminsearchbnd new (https://jp.mathworks.com/matlabcentral/fileexchange/17804-fminsearchbnd-new), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: fminsearchbnd, fminsearchcon

カテゴリ

Help Center および MATLAB AnswersLinear Programming and Mixed-Integer Linear Programming についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0

(Now updated to remove unnecesary commented-out code, and fix a bug in the handling of varargin).