Package org.ojalgo.optimisation
Interface UpdatableSolver
-
- All Superinterfaces:
Optimisation
,Optimisation.Solver
- All Known Implementing Classes:
ActiveSetSolver
,BasePrimitiveSolver
,ConstrainedSolver
,DirectASS
,DualSimplexSolver
,IterativeASS
,LinearSolver
,PhasedSimplexSolver
,PrimalSimplexSolver
,QPESolver
,SimplexSolver
,SimplexTableauSolver
,UnconstrainedSolver
public interface UpdatableSolver extends Optimisation.Solver
-
-
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 Default Methods Modifier and Type Method Description default boolean
fixVariable(int index, double value)
default java.util.Collection<Equation>
generateCutCandidates(double fractionality, boolean... integer)
ExpressionsBasedModel.EntityMap
getEntityMap()
default boolean[]
integers(ExpressionsBasedModel model)
default boolean
isMapped()
default boolean
updateRange(int index, double lower, double upper)
A generalisation offixVariable(int, double)
where the new/updated lower and upper bounds do not need to be equal.-
Methods inherited from interface org.ojalgo.optimisation.Optimisation.Solver
dispose, solve, solve
-
-
-
-
Method Detail
-
fixVariable
default boolean fixVariable(int index, double value)
- Parameters:
index
- The, solver specific, variable indexvalue
- The value to fix that variable to- Returns:
- true if fixing is supported and was successful, otherwise false
-
generateCutCandidates
default java.util.Collection<Equation> generateCutCandidates(double fractionality, boolean... integer)
-
getEntityMap
ExpressionsBasedModel.EntityMap getEntityMap()
-
integers
default boolean[] integers(ExpressionsBasedModel model)
-
isMapped
default boolean isMapped()
-
updateRange
default boolean updateRange(int index, double lower, double upper)
A generalisation offixVariable(int, double)
where the new/updated lower and upper bounds do not need to be equal.- Parameters:
index
- The, solver specific, variable indexlower
- New lower boundupper
- New upper bound- Returns:
- true if updating the range is supported and was successful, otherwise false
-
-