Package | Description |
---|---|
org.apache.commons.math3.optim.linear |
Optimization algorithms for linear constrained problems.
|
Modifier and Type | Method and Description |
---|---|
Relationship |
LinearConstraint.getRelationship()
Gets the relationship between left and right hand sides.
|
Relationship |
Relationship.oppositeRelationship()
Gets the relationship obtained when multiplying all coefficients by -1.
|
static Relationship |
Relationship.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relationship[] |
Relationship.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
LinearConstraint(double[] lhsCoefficients,
double lhsConstant,
Relationship relationship,
double[] rhsCoefficients,
double rhsConstant)
Build a constraint involving two linear equations.
|
LinearConstraint(double[] coefficients,
Relationship relationship,
double value)
Build a constraint involving a single linear equation.
|
LinearConstraint(RealVector lhsCoefficients,
double lhsConstant,
Relationship relationship,
RealVector rhsCoefficients,
double rhsConstant)
Build a constraint involving two linear equations.
|
LinearConstraint(RealVector coefficients,
Relationship relationship,
double value)
Build a constraint involving a single linear equation.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.