Package org.ojalgo.optimisation
Interface Optimisation.Objective
- All Superinterfaces:
Optimisation
- All Known Implementing Classes:
Expression
,ModelEntity
,Variable
- Enclosing interface:
Optimisation
Objective
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.optimisation.Optimisation
Optimisation.Constraint, Optimisation.ConstraintType, Optimisation.Integration<M extends Optimisation.Model,
S extends Optimisation.Solver>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.ProblemStructure, Optimisation.Result, Optimisation.Sense, Optimisation.Solver, Optimisation.State -
Method Summary
Modifier and TypeMethodDescriptionThe weight/factor by which this model entity's value contributes to the objective function - may return null.boolean
-
Method Details
-
getContributionWeight
BigDecimal getContributionWeight()The weight/factor by which this model entity's value contributes to the objective function - may return null. -
isObjective
boolean isObjective()- Returns:
- true if this Objective has a non zero contribution weight - it actually is contributing to the objective function.
-