What Is Optimization Toolbox?
What Is Optimization Toolbox? What Is Optimization Toolbox?
Quadratic Programming (QP) Subproblem ............. 3-31SQP Implementation .............................. 3-32Simplex Algorithm ................................ 3-39Multiobjective Optimization ........................ 3-43Introduction ...................................... 3-43Weighted Sum Method ............................. 3-46Epsilon-Constraint Method ......................... 3-47Goal Attainment Method ........................... 3-49Algorithm Improvements for the Goal AttainmentMethod ........................................ 3-50Selected Bibliography .............................. 3-534Large-Scale AlgorithmsTrust-Region Methods for Nonlinear Minimization ... 4-3Demos of Large-Scale Methods ...................... 4-6Preconditioned Conjugate Gradients ................ 4-7Algorithm ........................................ 4-7Linearly ConstrainedProblems ..................... 4-9Linear Equality Constraints ......................... 4-9Box Constraints ................................... 4-10Nonlinear Least-Squares ........................... 4-12Quadratic Programming ........................... 4-13Linear Least-Squares .............................. 4-14Large-Scale Linear Programming ................... 4-15Introduction ...................................... 4-15xContents
Main Algorithm ................................... 4-15Preprocessing .................................... 4-18Selected Bibliography .............................. 4-205Optimization ToolGetting Started with the Optimization Tool .......... 5-2Introduction ...................................... 5-2Opening the Optimization Tool ...................... 5-2Steps for Using the Optimization Tool ................. 5-4Selecting a Solver ................................. 5-5Defining the Problem .............................. 5-7Introduction ...................................... 5-7bintprog Problem Setup ............................ 5-8fgoalattain Problem Setup .......................... 5-10fminbnd Problem Setup ............................ 5-11fmincon Problem Setup ............................. 5-12fminimax Problem Setup ........................... 5-14fminsearch Problem Setup .......................... 5-15fminunc Problem Setup ............................ 5-16fseminf Problem Setup ............................. 5-17fsolve Problem Setup ............................... 5-18fzero Problem Setup ............................... 5-19linprog ProblemSetup ............................. 5-20lsqcurvefit Problem Setup .......................... 5-22lsqlin Problem Setup ............................... 5-23lsqnonlin Problem Setup ............................ 5-24lsqnonneg Problem Setup ........................... 5-25quadprog Problem Setup ........................... 5-26Running a Problem in the Optimization Tool ......... 5-28Introduction ...................................... 5-28Pausing and Stopping the Algorithm .................. 5-28Viewing Results ................................... 5-29Final Point ....................................... 5-29xi
- Page 1 and 2: Optimization Toolbox 3User’s Guid
- Page 3: Revision HistoryNovember 1990 First
- Page 6 and 7: Acknowledgments
- Page 8 and 9: Nonlinear Equations with Finite-Dif
- Page 12 and 13: Specifying the Options ............
- Page 14 and 15: xivContents
- Page 16 and 17: 1 Getting StartedWhat Is Optimizati
- Page 18 and 19: 1 Getting StartedOptimization Examp
- Page 20 and 21: 1 Getting Started[x, fval] =lsqlin(
- Page 22 and 23: 2 TutorialLarge-Scale Examples (p.
- Page 24 and 25: 2 TutorialMinimization (Continued)T
- Page 26 and 27: 2 TutorialUsing the Optimization Fu
- Page 28 and 29: 2 TutorialA choice of line search s
- Page 30 and 31: 2 TutorialThe tutorial uses the fun
- Page 32 and 33: 2 Tutorialfunction evaluations. See
- Page 34 and 35: 2 TutorialTo restrict x inEquation2
- Page 36 and 37: 2 Tutorialceq=[];DCeq = [ ];G conta
- Page 38 and 39: 2 TutorialEquality Constrained Exam
- Page 40 and 41: 2 Tutorialfunction y = findzero(b,
- Page 42 and 43: 2 Tutorial3.7081Sharing Variables U
- Page 44 and 45: 2 Tutorialcomponents.');end% Evalua
- Page 46 and 47: 2 TutorialThe example produces the
- Page 48 and 49: 2 TutorialClosed-Loop ResponseThe p
- Page 50 and 51: 2 Tutorialfunction [Kp,Ki,Kd] = run
- Page 52 and 53: 2 TutorialThe resulting closed-loop
- Page 54 and 55: 2 Tutorialcalling the simulation tw
- Page 56 and 57: 2 TutorialThe last value shown in t
- Page 58 and 59: 2 TutorialStep 1: Write an M-file f
Main Algorithm ................................... 4-15Preprocessing .................................... 4-18Selected Bibliography .............................. 4-205<strong>Optimization</strong> ToolGetting Started with the <strong>Optimization</strong> Tool .......... 5-2Introduction ...................................... 5-2Opening the <strong>Optimization</strong> Tool ...................... 5-2Steps for Using the <strong>Optimization</strong> Tool ................. 5-4Selecting a Solver ................................. 5-5Defining the Problem .............................. 5-7Introduction ...................................... 5-7bintprog Problem Setup ............................ 5-8fgoalattain Problem Setup .......................... 5-10fminbnd Problem Setup ............................ 5-11fmincon Problem Setup ............................. 5-12fminimax Problem Setup ........................... 5-14fminsearch Problem Setup .......................... 5-15fminunc Problem Setup ............................ 5-16fseminf Problem Setup ............................. 5-17fsolve Problem Setup ............................... 5-18fzero Problem Setup ............................... 5-19linprog ProblemSetup ............................. 5-20lsqcurvefit Problem Setup .......................... 5-22lsqlin Problem Setup ............................... 5-23lsqnonlin Problem Setup ............................ 5-24lsqnonneg Problem Setup ........................... 5-25quadprog Problem Setup ........................... 5-26Running a Problem in the <strong>Optimization</strong> Tool ......... 5-28Introduction ...................................... 5-28Pausing and Stopping the Algorithm .................. 5-28Viewing Results ................................... 5-29Final Point ....................................... 5-29xi