function used in the script
% Function of Box's evolutionary Optimization Method
function fval = evolutionfun(x)
x1 = x(1);
x2 = x(2);
fval = ((x1.^2+ x2 -11).^2 + (x1 + x2.^2-7).^2) ; % enter your function here
end
% save this function in the same place as the script file
引用
Vaibhav (2026). Box's Evolutionary algorithm (https://jp.mathworks.com/matlabcentral/fileexchange/62649-box-s-evolutionary-algorithm), MATLAB Central File Exchange. 取得日: .
MATLAB リリースの互換性
作成:
R2014b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Nonlinear Optimization についてさらに検索
