MATLAB OPTIMIZATION TOOLBOX - RELEASE NOTES Manuel d'utilisateur Page 38

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 76
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 37
R2011b
8-4
is 'on'). If you provide gradients, have no linear constraints, and want to obtain the
previous behavior, set ScaleProblem to 'obj-and-constr' with optimset.
fsolve trust-region-dogleg Algorithm Change
The fsolve trust-region-dogleg algorithm no longer performs an internal calculation
of conditioning. This change usually speeds fsolve.
Compatibility Considerations
fsolve iterations differ from previous versions. Additionally, the solution and all
associated outputs can differ from previous versions. Usually, results are numerically
equivalent to previous results.
Conversion of Error and Warning Message Identifiers
For R2011b, error and warning message identifiers have changed in Optimization
Toolbox™.
Compatibility Considerations
If you have scripts or functions that use message identifiers that changed, you must
update the code to use the new identifiers. Typically, message identifiers are used to turn
off specific warning messages, or in code that uses a try/catch statement and performs
an action based on a specific error identifier.
For example, the 'optim:fmincon:ConstrainedProblemsOnly' identifier has
changed to 'optimlib:fmincon:ConstrainedProblemsOnly'. If your code checks
for 'optim:fmincon:ConstrainedProblemsOnly', you must update it to check for
'optimlib:fmincon:ConstrainedProblemsOnly' instead.
To determine the identifier for a warning, run the following command just after you see
the warning:
[MSG,MSGID] = lastwarn;
This command saves the message identifier to the variable MSGID.
To determine the identifier for an error, run the following command just after you see the
error:
Vue de la page 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 75 76

Commentaires sur ces manuels

Pas de commentaire