Package org.ojalgo.optimisation
Interface Optimisation.Objective
-
- All Superinterfaces:
Optimisation
- All Known Implementing Classes:
Expression
,ModelEntity
,Variable
- Enclosing interface:
- Optimisation
public static interface Optimisation.Objective extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.math.BigDecimal
getContributionWeight()
The weight/factor by which this model entity's value contributes to the objective function - may return null.boolean
isObjective()
-
-
-
Method Detail
-
getContributionWeight
java.math.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.
-
-