Muchos nombres de opciones cambiaron en R2016a. utiliza solo nombres de opción heredados. acepta tanto los nombres actuales como los heredados.optimset
optimoptions
Sin embargo, cuando se establece una opción mediante un par de nombre-valor heredado, muestra el valor equivalente actual.optimoptions
Por ejemplo, la opción heredada es equivalente a la opción actual:TolX
StepTolerance
options = optimoptions('fsolve','TolX',1e-4)
options = fsolve options: Options used by current Algorithm ('trust-region-dogleg'): (Other available algorithms: 'levenberg-marquardt', 'trust-region-reflective') Set properties: StepTolerance: 1.0000e-04 Default properties: Algorithm: 'trust-region-dogleg' CheckGradients: 0 Display: 'final' FiniteDifferenceStepSize: 'sqrt(eps)' FiniteDifferenceType: 'forward' FunctionTolerance: 1.0000e-06 MaxFunctionEvaluations: '100*numberOfVariables' MaxIterations: 400 OptimalityTolerance: 1.0000e-06 OutputFcn: [] PlotFcn: [] SpecifyObjectiveGradient: 0 TypicalX: 'ones(numberOfVariables,1)' UseParallel: 0 Show options not used by current Algorithm ('trust-region-dogleg')
Estas dos tablas tienen información idéntica. Uno está en orden alfabético por el nombre de la opción heredada, el otro está en orden por el nombre de la opción actual. Las tablas muestran valores solo cuando los valores difieren entre Legacy y Current, y solo muestran nombres que difieren o tienen valores diferentes. Para los cambios en Global Optimization Toolbox solucionadores, ver.Options Changes in R2016a (Global Optimization Toolbox)
Nombres de opción en orden heredado
Nombre heredado | Nombre actual | Valores heredados | Valores actuales |
---|---|---|---|
AlwaysHonorConstraints | HonorBounds | ,'bounds' 'none' | ,true false |
BranchingRule | BranchRule | ||
CutGenMaxIter | CutMaxIterations | ||
DerivativeCheck | CheckGradients | ,'on' 'off' | ,true false |
FinDiffRelStep | FiniteDifferenceStepSize | ||
FinDiffType | FiniteDifferenceType | ||
GoalsExactAchieve | EqualityGoalCount | ||
GradConstr | SpecifyConstraintGradient | ,'on' 'off' | ,true false |
GradObj | SpecifyObjectiveGradient | ,'on' 'off' | ,true false |
Hessian | HessianApproximation | , , , , ,'user-supplied' 'bfgs' 'lbfgs' 'fin-diff-grads' 'on' 'off' | , , Se omite cuando o no está vacío. |
HessFcn | HessianFcn | ||
HessMult | HessianMultiplyFcn | ||
IPPreprocess | IntegerPreprocess | ||
Jacobian | SpecifyObjectiveGradient | ||
JacobMult | JacobianMultiplyFcn | ||
LPMaxIter | LPMaxIterations | ||
MaxFunEvals | MaxFunctionEvaluations | ||
MaxIter | MaxIterations | ||
MaxNumFeasPoints | MaxFeasiblePoints | ||
MinAbsMax | AbsoluteMaxObjectiveCount | ||
PlotFcns | PlotFcn | ||
RelObjThreshold | ObjectiveImprovementThreshold | ||
RootLPMaxIter | RootLPMaxIterations | ||
ScaleProblem | ScaleProblem | ,'obj-and-constr' 'none' | ,true false |
TolCon | ConstraintTolerance | ||
(uso 1)TolFun | OptimalityTolerance | ||
(uso 2)TolFun | FunctionTolerance | ||
TolFunLP | LPOptimalityTolerance | ||
TolGapAbs | AbsoluteGapTolerance | ||
TolGapRel | RelativeGapTolerance | ||
TolInteger | IntegerTolerance | ||
TolX | StepTolerance |
Nombres de opción en orden actual
Nombre actual | Nombre heredado | Valores actuales | Valores heredados |
---|---|---|---|
AbsoluteGapTolerance | TolGapAbs | ||
AbsoluteMaxObjectiveCount | MinAbsMax | ||
BranchRule | BranchingRule | ||
CheckGradients | DerivativeCheck | ,true false | ,'on' 'off' |
ConstraintTolerance | TolCon | ||
CutMaxIterations | CutGenMaxIter | ||
EqualityGoalCount | GoalsExactAchieve | ||
FiniteDifferenceStepSize | FinDiffRelStep | ||
FiniteDifferenceType | FinDiffType | ||
FunctionTolerance | (uso 2)TolFun | ||
HessianApproximation | Hessian | , , Se omite cuando no está vacío. | , , , , ,'user-supplied' 'bfgs' 'lbfgs' 'fin-diff-grads' 'on' 'off' |
HessianFcn | HessFcn | ||
HessianMultiplyFcn | HessMult | ||
HonorBounds | AlwaysHonorConstraints | ,true false | ,'bounds' 'none' |
IntegerPreprocess | IPPreprocess | ||
IntegerTolerance | TolInteger | ||
JacobianMultiplyFcn | JacobMult | ||
LPMaxIterations | LPMaxIter | ||
LPOptimalityTolerance | TolFunLP | ||
MaxFeasiblePoints | MaxNumFeasPoints | ||
MaxFunctionEvaluations | MaxFunEvals | ||
MaxIterations | MaxIter | ||
ObjectiveImprovementThreshold | RelObjThreshold | ||
OptimalityTolerance | (uso 1)TolFun | ||
PlotFcn | PlotFcns | ||
RelativeGapTolerance | TolGapRel | ||
RootLPMaxIterations | RootLPMaxIter | ||
ScaleProblem | ScaleProblem | ,true false | ,'obj-and-constr' 'none' |
SpecifyConstraintGradient | GradConstr | ,true false | ,'on' 'off' |
SpecifyObjectiveGradient | OGradObj Jacobian | ,true false | ,'on' 'off' |
StepTolerance | TolX |