许多选项名称在R2016a改变。optimset
仅使用传统的选项名称。optimoptions
接受传统和现有名称。但是,当您使用的是传统的名称 - 值对设置的选项,optimoptions
显示当前的等效值。例如,传统TolX
选项是相当于现在的StepTolerance
选项:
选项= optimoptions( 'fsolve','TolX',1E-4)
选项= fsolve选项:使用选项由当前算法(“信赖域-狗腿”):(其他可用的算法:“列文伯格 - 马夸尔特”,“信赖域反射”)设置属性:StepTolerance:1.0000e-04默认属性:算法: '信任区域-狗腿' CheckGradients:0显示: '最终' FiniteDifferenceStepSize: 'SQRT(EPS)' FiniteDifferenceType: '前进' FunctionTolerance:1.0000e-06 MaxFunctionEvaluations: '100 * numberOfVariables' MaxIterations:400 OptimalityTolerance:1.0000e-06 OutputFcn:[] PlotFcn:[] SpecifyObjectiveGradient:0 TypicalX: '一(numberOfVariables,1)' UseParallel:0显示选项不使用当前算法( '信赖域-狗腿')
这两个表有相同的信息。一个是由传统的选项名称字母顺序排列,另一种是为了通过当前选项的名称。该表显示值只有当值的传统和电流之间的差异,并且只显示不同或有不同的价值观的名字。对于变化全局优化工具箱解算器,请参阅选项的变化R2016a(全局优化工具箱)。
在传统订购选项名称
传统名称 | 当前名称 | 传统价值观 | 当前值 |
---|---|---|---|
AlwaysHonorConstraints |
HonorBounds |
“界限” ,'没有' |
真正 ,假 |
BranchingRule |
BranchRule |
||
CutGenMaxIter |
CutMaxIterations |
||
DerivativeCheck |
CheckGradients |
'上' ,“关” |
真正 ,假 |
FinDiffRelStep |
FiniteDifferenceStepSize |
||
FinDiffType |
FiniteDifferenceType |
||
GoalsExactAchieve |
EqualityGoalCount |
||
GradConstr |
SpecifyConstraintGradient |
'上' ,“关” |
真正 ,假 |
GradObj |
SpecifyObjectiveGradient |
'上' ,“关” |
真正 ,假 |
黑森州 |
HessianApproximation |
“用户提供的” ,'BFGS' ,'lbfgs' ,'鳍的Diff-梯度' ,'上' ,“关” |
当被忽略 |
HessFcn |
HessianFcn |
||
HessMult |
HessianMultiplyFcn |
||
IPPreprocess |
IntegerPreprocess |
||
雅可比 |
SpecifyObjectiveGradient |
||
JacobMult |
JacobianMultiplyFcn |
||
LPMaxIter |
LPMaxIterations |
||
MaxFunEvals |
MaxFunctionEvaluations |
||
MAXITER |
MaxIterations |
||
MaxNumFeasPoints |
MaxFeasiblePoints |
||
MinAbsMax |
AbsoluteMaxObjectiveCount |
||
PlotFcns |
PlotFcn |
||
RelObjThreshold |
ObjectiveImprovementThreshold |
||
RootLPMaxIter |
RootLPMaxIterations |
||
ScaleProblem |
ScaleProblem |
'OBJ-和构造' ,'没有' |
真正 ,假 |
TolCon |
ConstraintTolerance |
||
TolFun (使用1) |
OptimalityTolerance |
||
TolFun (使用2) |
FunctionTolerance |
||
TolFunLP |
LPOptimalityTolerance |
||
TolGapAbs |
AbsoluteGapTolerance |
||
TolGapRel |
RelativeGapTolerance |
||
TolInteger |
IntegerTolerance |
||
TolX |
StepTolerance |
在当前的订单选项名称
当前名称 | 传统名称 | 当前值 | 传统价值观 |
---|---|---|---|
AbsoluteGapTolerance |
TolGapAbs |
||
AbsoluteMaxObjectiveCount |
MinAbsMax |
||
BranchRule |
BranchingRule |
||
CheckGradients |
DerivativeCheck |
真正 ,假 |
'上' ,“关” |
ConstraintTolerance |
TolCon |
||
CutMaxIterations |
CutGenMaxIter |
||
EqualityGoalCount |
GoalsExactAchieve |
||
FiniteDifferenceStepSize |
FinDiffRelStep |
||
FiniteDifferenceType |
FinDiffType |
||
FunctionTolerance |
TolFun (使用2) |
||
HessianApproximation |
黑森州 |
当被忽略 |
“用户提供的” ,'BFGS' ,'lbfgs' ,'鳍的Diff-梯度' ,'上' ,“关” |
HessianFcn |
HessFcn |
||
HessianMultiplyFcn |
HessMult |
||
HonorBounds |
AlwaysHonorConstraints |
真正 ,假 |
“界限” ,'没有' |
IntegerPreprocess |
IPPreprocess |
||
IntegerTolerance |
TolInteger |
||
JacobianMultiplyFcn |
JacobMult |
||
LPMaxIterations |
LPMaxIter |
||
LPOptimalityTolerance |
TolFunLP |
||
MaxFeasiblePoints |
MaxNumFeasPoints |
||
MaxFunctionEvaluations |
MaxFunEvals |
||
MaxIterations |
MAXITER |
||
ObjectiveImprovementThreshold |
RelObjThreshold |
||
OptimalityTolerance |
TolFun (使用1) |
||
PlotFcn |
PlotFcns |
||
RelativeGapTolerance |
TolGapRel |
||
RootLPMaxIterations |
RootLPMaxIter |
||
ScaleProblem |
ScaleProblem |
真正 ,假 |
'OBJ-和构造' ,'没有' |
SpecifyConstraintGradient |
GradConstr |
真正 ,假 |
'上' ,“关” |
SpecifyObjectiveGradient |
GradObj 要么雅可比 |
真正 ,假 |
'上' ,“关” |
StepTolerance |
TolX |