12.07.2015 Views

What Is Optimization Toolbox?

What Is Optimization Toolbox?

What Is Optimization Toolbox?

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

fseminfvalues other than the recommended intervalmightbemoreappropriatefor efficiency or robustness. Also, the finite region ,overwhichis calculated, is allowed to vary during the optimization,provided that it does not result in significant changes in the number oflocal minima in .ExamplesOne-Dimensional ExampleFind values of x that minimizewherefor all values of and over the rangesNote that the semi-infinite constraints are one-dimensional, that is,vectors. Because the constraints must be in the formyouneed to compute the constraints asFirst, write an M-file that computes the objective function.function f = myfun(x,s)% Objective functionf = sum((x-0.5).^2);8-100

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!