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.

fminimaxx0 = [0.1; 0.1]; % Make a starting guess at solution[x,fval] = fminimax(@myfun,x0)After seven iterations, the solution isx =4.00004.0000fval =0.0000 -64.0000 -2.0000 -8.0000 -0.0000NotesYou can set the number of objectives for which the worst case absolutevalues of F are minimized in the MinAbsMax option using optimset. Youshould partition these objectives into the first elements of F.For example, consider the preceding problem, which requires findingvalues of x that minimize the maximum absolute value ofSolve this problem by invoking fminimax with the commandsx0 = [0.1; 0.1]; % Make a starting guess at the solutionoptions = optimset('MinAbsMax',5); % Minimize abs. values[x,fval] = fminimax(@myfun,x0,...[],[],[],[],[],[],[],options);After seven iterations, the solution isx =4.92562.0796fval =37.2356 -37.2356 -6.8357 -7.0052 -0.9948If equality constraints are present, and dependent equalities aredetected and removed in the quadratic subproblem, 'dependent' isdisplayed under the Procedures heading (when the Display option is8-65

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

Saved successfully!

Ooh no, something went wrong!