This leads to the primary difference between the Optimization Toolbox solvers and the GADS solvers. Which gradient based solvers like the ones in Optimization Toolbox couldn't solve. I showed this example to illustrate how effective the pattern search solver can be on a highly rough surface like this one, This is an example of a patterned search, as the name implies, and is only one of many search patterns the pattern search Notice how the pattern search solver expands and contracts the search radius as it explores the domain for the maximum value.
There is also a slider bar on the right that you can use to speed up/slow down the process. Topology map you can see that starting point and iterations (filled circles) and the tested points that were not selected One is a surface plot, the other is a topology map. You should see two plots when running the Mt. % Remove the % symbol if you'd like to run this part of the code. You can access optimization tool from the Start Menu -> Toolboxes -> Optimization -> Optimization Tool (optimtool) or by typing optimtool at the command prompt. This command will load the example in optimization tool, a graphical user interface for setting up and running optimization
% Load psproblem which have all required settings for pattern search Note: this demo is available in the GADS Toolbox. This example shows how the pattern search algorithmĬan be used to find the peak of the White Mountain Range. Optimization solvers are domain searching algorithms thatĭiffer in the types of problems (or domains) they can solve (search). This first example shows you how optimization in general works. Redefine RPM to have same scale as Pratio.