|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ojalgo.optimisation.ModelEntity<ME> org.ojalgo.optimisation.ModelComponent<ME>
public abstract class ModelComponent<ME extends ModelComponent<ME>>
Method Summary | |
---|---|
BigDecimal |
getAdjustedLowerLimit()
|
BigDecimal |
getAdjustedUpperLimit()
|
abstract BigDecimal |
getAdjustmentFactor()
|
BigDecimal |
getContributionWeight()
|
BigDecimal |
getLowerLimit()
|
BigDecimal |
getUpperLimit()
|
boolean |
isConstraint()
The Constraint has a lower or an upper limit (possibly both). |
boolean |
isContributionWeightSet()
|
boolean |
isEqualityConstraint()
The Constraint has both a lower limit and an upper limit, and they are equal. |
boolean |
isLowerConstraint()
The Constraint has a lower limit, and the upper limit (if it exists) is different. |
boolean |
isLowerLimitSet()
|
boolean |
isObjective()
|
boolean |
isUpperConstraint()
The Constraint has an upper limit, and the lower limit (if it exists) is different. |
boolean |
isUpperLimitSet()
|
ME |
level(BigDecimal aLowerAndUpperLimit)
|
ME |
lower(BigDecimal aLowerLimit)
|
void |
setContributionWeight(BigDecimal aContributionWeight)
|
void |
setLowerLimit(BigDecimal aLowerLimit)
|
void |
setUpperLimit(BigDecimal anUpperLimit)
|
String |
toString()
|
ME |
upper(BigDecimal anUpperLimit)
|
boolean |
validateConfiguration()
|
ME |
weight(BigDecimal aContributionWeight)
|
Methods inherited from class org.ojalgo.optimisation.ModelEntity |
---|
compareTo, equals, getName, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final BigDecimal getAdjustedLowerLimit()
public final BigDecimal getAdjustedUpperLimit()
public abstract BigDecimal getAdjustmentFactor()
public BigDecimal getContributionWeight()
getContributionWeight
in interface Objective
Objective.getContributionWeight()
public BigDecimal getLowerLimit()
getLowerLimit
in interface Constraint
Constraint.getLowerLimit()
public BigDecimal getUpperLimit()
getUpperLimit
in interface Constraint
Constraint.getUpperLimit()
public boolean isConstraint()
Constraint
isConstraint
in interface Constraint
Constraint.isConstraint()
public final boolean isContributionWeightSet()
public boolean isEqualityConstraint()
Constraint
isEqualityConstraint
in interface Constraint
Constraint.isEqualityConstraint()
public boolean isLowerConstraint()
Constraint
isLowerConstraint
in interface Constraint
Constraint.isLowerConstraint()
public final boolean isLowerLimitSet()
public boolean isObjective()
isObjective
in interface Objective
Objective.isObjective()
public boolean isUpperConstraint()
Constraint
isUpperConstraint
in interface Constraint
Constraint.isUpperConstraint()
public final boolean isUpperLimitSet()
public final ME level(BigDecimal aLowerAndUpperLimit)
public final ME lower(BigDecimal aLowerLimit)
public void setContributionWeight(BigDecimal aContributionWeight)
setContributionWeight
in interface Objective
Objective.setContributionWeight(java.math.BigDecimal)
public void setLowerLimit(BigDecimal aLowerLimit)
setLowerLimit
in interface Constraint
Constraint.setLowerLimit(java.math.BigDecimal)
public void setUpperLimit(BigDecimal anUpperLimit)
setUpperLimit
in interface Constraint
Constraint.setUpperLimit(java.math.BigDecimal)
public final String toString()
toString
in class Object
public final ME upper(BigDecimal anUpperLimit)
public boolean validateConfiguration() throws ModelValidationException
ModelValidationException
public final ME weight(BigDecimal aContributionWeight)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |