What is the "TypicalX" parameter in the Optimization Toolbox?
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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)
Respuesta aceptada
MathWorks Support Team
el 27 de Jun. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Problem-Based Optimization Setup en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!