|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.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 ObjectiveObjective.getContributionWeight()public BigDecimal getLowerLimit()
getLowerLimit in interface ConstraintConstraint.getLowerLimit()public BigDecimal getUpperLimit()
getUpperLimit in interface ConstraintConstraint.getUpperLimit()public boolean isConstraint()
Constraint
isConstraint in interface ConstraintConstraint.isConstraint()public final boolean isContributionWeightSet()
public boolean isEqualityConstraint()
Constraint
isEqualityConstraint in interface ConstraintConstraint.isEqualityConstraint()public boolean isLowerConstraint()
Constraint
isLowerConstraint in interface ConstraintConstraint.isLowerConstraint()public final boolean isLowerLimitSet()
public boolean isObjective()
isObjective in interface ObjectiveObjective.isObjective()public boolean isUpperConstraint()
Constraint
isUpperConstraint in interface ConstraintConstraint.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 ObjectiveObjective.setContributionWeight(java.math.BigDecimal)public void setLowerLimit(BigDecimal aLowerLimit)
setLowerLimit in interface ConstraintConstraint.setLowerLimit(java.math.BigDecimal)public void setUpperLimit(BigDecimal anUpperLimit)
setUpperLimit in interface ConstraintConstraint.setUpperLimit(java.math.BigDecimal)public final String toString()
toString in class Objectpublic final ME upper(BigDecimal anUpperLimit)
public boolean validateConfiguration()
throws ModelValidationException
ModelValidationExceptionpublic final ME weight(BigDecimal aContributionWeight)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||