Simple example of the Simplex Method

It's a function that finds the minimum value of a two variables function with the simplex method.
2,8K download
Aggiornato 22 feb 2011

Visualizza la licenza

% It's a function that finds the minimum value of a two variables objective
% function with a deterministic zero order algorithm: simplex method.

% The input variables are:
%-fun: inline function of the objective function
%-init_point: initial point for the simplex method
%-step_size: initial dimension of the simplex
%toll: tolerance for the stop criterion on the simplex dimension
%-numMaxIter: stop criterion on the maximum number of iterations

% The output variables are:
%-valFunc: the minumum value of the objective function
%-var_min: the minimum point
%-iter: the number of iteration made

%%%%%%%% IMPORTANT %%%%%%%%%%%
% To run correctly the Matlab function, you must run first a contour plot
% of the objective function. You can also view: help countour.

Cita come

Andrea Cirillo (2025). Simple example of the Simplex Method (https://it.mathworks.com/matlabcentral/fileexchange/30481-simple-example-of-the-simplex-method), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2010b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

Update description

1.0.0.0