What is the "TypicalX" parameter in the Optimization Toolbox?
19 views (last 30 days)
Show older comments
For optimization functions in the Optimization Toolbox (e.g. FMINUNC, FMINCON, etc.), there is a "TypicalX" parameter that can be set using the OPTIMSET function. For example,
options = optimset('TypicalX', 1);
[x,fval] = fmincon(@myfun,x0,A,b, [], [], [], [], [], options)
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This bug has been fixed in Release 2007a (R2007a). For previous product releases, read below for any possible workarounds:
"TypicalX" specifies the expected scaling or order of the optimization solution. It should be specified as an exponent in the form of 1e^n where n is the expected order of the solution. Functions in the Optimization Toolbox use this parameter in determining the optimization step size.
For example, if the solution of the optimization is expected in the order of 1e-2 , then the "TypicalX" parameter should be set to 1e-2.
0 Comments
More Answers (0)
See Also
Categories
Find more on Problem-Based Optimization Setup in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!