diff --git a/src/main/java/org/apache/commons/math3/optim/BaseOptimizer.java b/src/main/java/org/apache/commons/math3/optim/BaseOptimizer.java index 356fe925b..929901494 100644 --- a/src/main/java/org/apache/commons/math3/optim/BaseOptimizer.java +++ b/src/main/java/org/apache/commons/math3/optim/BaseOptimizer.java @@ -104,6 +104,14 @@ public abstract class BaseOptimizer { /** * Stores data and performs the optimization. + *
+ * The list of parameters is open-ended so that sub-classes can extend it + * with arguments specific to their concrete implementations. + *
+ * When the method is called multiple times, instance data is overwritten + * only when actually present in the list of arguments: when not specified, + * data set in a previous call is retained (and thus is optional in + * subsequent calls). * * @param optData Optimization data. The following data will be looked for: *