Simple example of the Simplex Method
% 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
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Reporting and Database Access > MATLAB Report Generator > Report Generator Development > Content Generation > Page Layout >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
