How to use ScaleProblem in fmincon together with sqp or interior-point?

9 次查看(过去 30 天)
In MATLAB Optimization Toolbox User guide r2017b it states that you can, when using fmincon solver and algorithms sqp or interior-point, set the option ScaleProblem to normalize all constraints and the objective function and the command to add to option is
for legacy (?):
use 'obj-and-constr' to cause the algorithm to normalize all constraints and the objective function. Disable by setting to the default 'none'
and for current (?)
use in simular way 'true' or 'false'
Is this correct? I have 2017b and I have to use the 'obj-and-constr' command when using fmincon.
There is very little information about ScaleProblem in the user guide, where can I find more information and some exaples when this method will make a great difference. And why can't it be used with active-set?

采纳的回答

Alan Weiss
Alan Weiss 2017-10-31
编辑:Alan Weiss 2017-10-31
I am sorry, you found a documentation error. I will fix it soon.
Currently, if you set options using optimoptions (recommended) you can set ScaleProblem to true or false, or, instead, you can set ScaleProblem to 'obj-and-constr' (but it shows as true) or 'none' (but it shows as false). If, instead, you set options using optimset (not recommended), you must set ScaleProblem to 'obj-and-constr' or 'none'. See Current and Legacy Option Name Tables.
There are only two fmincon algorithms that support this option, as you noticed. I do not know exactly when this option would make a difference, but I suspect it might for a poorly scaled problem, where some components have much different scales than other components.
Alan Weiss
MATLAB mathematical toolbox documentation

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Solver Outputs and Iterative Display 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by