Uses of Class
org.ojalgo.optimisation.Expression
Packages that use Expression
-
Uses of Expression in org.ojalgo.optimisation
Fields in org.ojalgo.optimisation declared as ExpressionModifier and TypeFieldDescriptionprivate final Expression
FileFormatMPS.Row.myExpression
private final Expression
SpecialOrderedSet.myExpression
private Expression
FileFormatMPS.myQuadObjExpr
Fields in org.ojalgo.optimisation with type parameters of type ExpressionModifier and TypeFieldDescriptionprivate final Map
<String, Expression> ExpressionsBasedModel.myExpressions
Methods in org.ojalgo.optimisation that return ExpressionModifier and TypeMethodDescriptionExpression.add
(int index, double value) Expression.add
(int row, int column, double value) Expression.add
(int row, int column, long value) Expression.add
(int row, int column, Comparable<?> value) Expression.add
(int index, long value) Expression.add
(int index, Comparable<?> value) Expression.add
(Variable variable, Comparable<?> value) Will add the value to this variable's factor.Expression.add
(Variable variable1, Variable variable2, Comparable<?> value) ExpressionsBasedModel.addExpression()
ExpressionsBasedModel.addExpression
(String name) Expression.compensate
(Set<Structure1D.IntIndex> fixedVariables) Will return an Expression with factors corresponding to fixed variables removed, and lower/upper limits compensated for the fixed part of the expression.(package private) Expression
Expression.copy
(ExpressionsBasedModel destinationModel, boolean deep) private Expression
Expression.doAdd
(Structure1D.IntIndex key, BigDecimal value) private Expression
Expression.doAdd
(Structure2D.IntRowColumn key, BigDecimal value) (package private) Expression
Expression.doMixedIntegerRounding()
(package private) Expression
Expression.doSet
(Structure1D.IntIndex key, BigDecimal value) (package private) Expression
Expression.doSet
(Structure2D.IntRowColumn key, BigDecimal value) ExpressionsBasedModel.getExpression
(String name) (package private) Expression
FileFormatMPS.Row.getExpression()
ExpressionsBasedModel.limitObjective
(BigDecimal lower, BigDecimal upper) ExpressionsBasedModel.newExpression
(String name) ExpressionsBasedModel.objective()
This is generated on demand – you should not cache this.private static Expression
FileFormatEBM.readExpression
(ExpressionsBasedModel model, String[] fields) Expression.set
(int index, double value) Expression.set
(int row, int column, double value) Expression.set
(int row, int column, long value) Expression.set
(int row, int column, Comparable<?> value) Expression.set
(int index, long value) Expression.set
(int index, Comparable<?> value) Expression.set
(Variable variable, Comparable<?> value) Will set (replace) the variable's factor to this valueExpression.set
(Variable variable1, Variable variable2, Comparable<?> value) Methods in org.ojalgo.optimisation that return types with arguments of type ExpressionModifier and TypeMethodDescriptionExpressionsBasedModel.constraints()
Returns a prefiltered stream of expressions that are constraints and have not been markes as redundant.(package private) Stream
<Expression> ExpressionsBasedModel.expressions()
ExpressionsBasedModel.getExpressions()
Methods in org.ojalgo.optimisation with parameters of type ExpressionModifier and TypeMethodDescriptionvoid
ExpressionsBasedModel.addSpecialOrderedSet
(Collection<Variable> orderedSet, int type, Expression linkedTo) Creates a special ordered set (SOS) presolver instance and links that to the supplied expression.void
Expression.addTo
(Expression target, BigDecimal scale) abstract void
ModelEntity.addTo
(Expression target, BigDecimal scale) void
Variable.addTo
(Expression target, BigDecimal scale) static void
Presolvers.checkFeasibility
(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision, boolean relaxed) boolean
ExpressionsBasedModel.checkSimilarity
(Expression potential) static boolean
Presolvers.checkSimilarity
(Collection<Expression> current, Expression potential) Checks if the potentialExpression
is similar to any in the current collection.int
Expression.compareTo
(Expression obj) (package private) int
ExpressionsBasedModel.deriveAdjustmentRange
(Expression expression) (package private) static boolean
Presolvers.doCase0
(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision) This constraint expression has 0 remaining free variable.(package private) static boolean
Presolvers.doCase1
(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision) This constraint expression has 1 remaining free variable.(package private) static boolean
Presolvers.doCase2
(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision) Checks if bounds on either of the variables (together with the expressions's bounds) implies tighter bounds on the other variable.(package private) static boolean
Presolvers.doCaseN
(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision) Checks the sign of the limits and the sign of the expression parameters to deduce variables that in fact can only be zero.(package private) boolean
ExpressionsBasedModel.Presolver.isApplicable
(Expression target) private static void
FileFormatEBM.readLinear
(Expression current, String[] fields) private static void
FileFormatEBM.readQuadratic
(Expression current, String[] fields) abstract boolean
ExpressionsBasedModel.Presolver.simplify
(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision) boolean
SpecialOrderedSet.simplify
(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision) The program logic here does not assume variables to be binary or even integerprivate static void
FileFormatEBM.writeExpression
(Expression expression, BufferedWriter writer) Method parameters in org.ojalgo.optimisation with type arguments of type ExpressionModifier and TypeMethodDescriptionstatic boolean
Presolvers.checkSimilarity
(Collection<Expression> current, Expression potential) Checks if the potentialExpression
is similar to any in the current collection.static boolean
Presolvers.reduce
(Collection<Expression> expressions) Constructors in org.ojalgo.optimisation with parameters of type ExpressionModifierConstructorDescriptionprivate
Expression
(Expression entityToCopy) protected
Expression
(Expression expressionToCopy, ExpressionsBasedModel destinationModel, boolean deep) (package private)
SpecialOrderedSet
(Structure1D.IntIndex[] sequence, int type, Expression expression)