Top Description Fields Constructors Methods
org.apache.commons.math3.optimization

public Class SimpleBounds

extends Object
implements OptimizationData
Class Inheritance
All Implemented Interfaces
org.apache.commons.math3.optimization.OptimizationData
Annotations
@Deprecated

Deprecated

As of 3.1 (to be removed in 4.0).

Simple optimization constraints: lower and upper bounds. The valid range of the parameters is an interval that can be infinite (in one or both directions).
Immutable class.
Since
3.1

Field Summary

Modifier and TypeField and Description
private final double[]
lower

Lower bounds.

private final double[]
upper

Upper bounds.

Constructor Summary

AccessConstructor and Description
public
SimpleBounds(double[]
Lower bounds.
lB
,
double[]
Upper bounds.
uB
)

Method Summary

Modifier and TypeMethod and Description
public double[]

Returns:

the initial guess.
getLower
()

Gets the lower bounds.

public double[]

Returns:

the initial guess.
getUpper
()

Gets the lower bounds.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lowerback to summary
private final double[] lower

Lower bounds.

upperback to summary
private final double[] upper

Upper bounds.

Constructor Detail

SimpleBoundsback to summary
public SimpleBounds(double[] lB, double[] uB)
Parameters
lB:double[]

Lower bounds.

uB:double[]

Upper bounds.

Method Detail

getLowerback to summary
public double[] getLower()

Gets the lower bounds.

Returns:double[]

the initial guess.

getUpperback to summary
public double[] getUpper()

Gets the lower bounds.

Returns:double[]

the initial guess.