What is the "TypicalX" parameter in the Optimization Toolbox?

18 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 27 Juin 2009
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)

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 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.

Plus de réponses (0)

Catégories

En savoir plus sur Problem-Based Optimization Setup dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by