| Modifier and Type | Field and Description |
|---|---|
| private LinearObjectiveFunction | function
Hides org. |
| private Collection | linearConstraints
Linear constraints. |
| private boolean | nonNegative
Whether to restrict the variables to non-negative values. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected Collection | |
| protected LinearObjectiveFunction | |
| protected boolean | |
| public PointValuePair | Returns: a point/value pair that satisfies the convergence criteria.Optimization data. In addition to those documented in
optData)MultivariateOptimizer, this method will register the following data:
Overrides org. Stores data and performs the optimization. |
| protected void | parseOptimizationData(OptimizationData...
Optimization data.
The following data will be looked for:
optData)Overrides org. Scans the list of (required and optional) optimization data that characterize the problem. |
| function | back to summary |
|---|---|
| private LinearObjectiveFunction function Hides org. Linear objective function. | |
| linearConstraints | back to summary |
|---|---|
| private Collection<LinearConstraint> linearConstraints Linear constraints. | |
| nonNegative | back to summary |
|---|---|
| private boolean nonNegative Whether to restrict the variables to non-negative values. | |
| LinearOptimizer | back to summary |
|---|---|
| protected LinearOptimizer() Simple constructor with default settings. | |
| getConstraints | back to summary |
|---|---|
protected Collection
| |
| getFunction | back to summary |
|---|---|
protected LinearObjectiveFunction getFunction()
| |
| isRestrictedToNonNegative | back to summary |
|---|---|
protected boolean isRestrictedToNonNegative()
| |
| optimize | back to summary |
|---|---|
| public PointValuePair optimize(OptimizationData... optData) throws TooManyIterationsException Overrides org. Doc from org. 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). Important Note Subclasses must override
| |
| parseOptimizationData | back to summary |
|---|---|
| protected void parseOptimizationData(OptimizationData... optData) Overrides org. Scans the list of (required and optional) optimization data that characterize the problem.
| |