Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: The MathWorks, Inc.

Rating No ratings yet

No description

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A practical, example-driven manual for anyone who needs to formulate and solve optimization problems in MATLAB—from linear programs to constrained nonlinear minimization—using either the solver-based or problem-based workflow. Best for engineers, researchers, and students who already know some MATLAB and want to get real problems solved rather than study optimization theory. 【Book Arc】 - **Opening (~0%–15%)**: Front matter, revision history, and the table of contents establish this as the official R2020a reference; the first real content walks through setting up a linear program in both solver-based and problem-based forms, solving it, and examining the result. - **Early (~15%–30%)**: Builds the conceptual foundation—an optimization theory overview, a solver decision table, guidance on choosing algorithms (fmincon, fsolve, fminunc, least squares, LP, QP), and how to write objective functions, gradients, Hessians, Jacobians, and the various constraint types. - **Early–Middle (~30%–45%)**: Moves into solver mechanics and diagnosis—options and tolerances, checking gradient validity, output and plot functions, and a substantial troubleshooting chapter covering solver failure, infeasible or unbounded results, slow runs, local vs. global optima, and optimizing simulations/ODEs. - **Middle (~45%–55%)**: Covers the Optimization App and its command-line/live-script alternatives, then dives into algorithm internals for unconstrained and constrained nonlinear problems (trust-region, quasi-Newton, active-set, SQP, interior-point), including the classic Banana function tutorial. - **Late (~55%–75%)**: Extends into advanced practice—parallel computing for expensive problems, symbolic derivation of gradients and Hessians, and code generation for fmincon including real-time and static-memory considerations. - **Ending (~75%–100%)**: The remaining reference material (function listings, detailed algorithm and option references) is only partially represented in these excerpts; the excerpts do not cover the full back half in detail. 【Book Arc note】The percentages above follow the excerpt markers; the sampled chunks cluster in the front and middle, so the late reference sections are inferred from the table of contents rather than read in full. 【Key Takeaways】 - **Two workflows, one toolbox** (Opening): The book consistently teaches problems twice—solver-based (matrices and function handles) and problem-based (optimization variables and expressions)—so you can pick the style that matches your codebase. - **Choose the solver before you code** (Early): A decision table and algorithm-selection guidance map problem structure (linear, quadratic, least squares, nonlinear, constrained or not) to the right function, which prevents wasted effort on the wrong solver. - **Supplying derivatives pays off** (Early): Dedicated sections on writing gradients, Hessians, and Jacobians—plus checks for their validity—show that analytic derivatives improve speed and reliability, and the book tells you how to verify them. - **Constraints have subtleties** (Early): Bound, linear, and nonlinear constraints are treated separately, including the important caveat that intermediate iterations can violate constraints depending on the algorithm. - **Troubleshooting is a first-class topic** (Middle): A full chapter addresses too many iterations, infeasibility, unboundedness, slow solvers, and "successful" results that are still wrong—practical diagnostics rather than theory. - **Local optima are the default risk** (Middle): The book explains basins of attraction and why a solver may miss the global minimum, with concrete tactics like changing the initial point and checking nearby points. - **Scale up with parallel and symbolic tools** (Late): Parallel Computing Toolbox integration for expensive objectives and Symbolic Math Toolbox for automatic derivatives extend the toolbox to heavier workloads. - **Deployment via code generation** (Late): fmincon code generation, static memory allocation, and real-time configuration guidance make optimization usable in embedded or production settings. 【Reading Tips】 - **Skim the front matter and contents** (first ~15%) quickly; treat it as a map, then start real reading at the linear-program setup examples. - **Deep-read the theory and solver-selection chapter** (~15%–30%) once—it is the backbone for everything later; return to it whenever a new problem type appears. - **Keep the troubleshooting chapter bookmarked** (~35%–45%); consult it reactively when a solver misbehaves rather than reading it cover to cover. - **Work the Banana function tutorial and code-generation examples hands-on**; these are the most transferable worked examples in the sampled material. - **Treat the late reference sections as lookup material**, not narrative reading—use them for option names and algorithm details on demand. 【Coverage Limits】 This guide is based on stratified excerpts that concentrate on the front and middle of the manual; the later reference chapters and many function-level details are only partially represented, so specifics there are inferred from the table of contents rather than fully verified.
Page 2
nd Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand nam...
View in text
Page 5
0 Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-30 v Contents Setting Up an Optimization 2 Optim...
View in text
Page 8
tion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14 Common Headings . . . . . . . . . . . . . . . . . . . ....
View in text
Page 9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16 Nonlinear algorithms and examples 6 Unconstrained Nonlinear Optimization Algorithms . . . ....
View in text
Page 12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6 Using fminimax with a Simulink® Model . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8...
View in text
Page 14
ric Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-25 Examine Solution Quality . . . . . . . . . . . . . . . . . . . . . ....
View in text
Page 16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-6 Nonlinear Equations with Analytic Jacobian . . . . . . . . . . . . . . . . . . . . . . . 13-...
View in text
Page 18
tion Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-6 Hidden Options . . . . . . . . . . . . . . . . . . . . . . ....
View in text
Tags
AI categories
MatlabProgramming
Publisher: The MathWorks, Inc.
Publish Year: 2020
Language: English
Pages: 1308
File Format: PDF
File Size: 7.4 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…