Uses of Class
org.ojalgo.optimisation.Expression
-
Packages that use Expression Package Description org.ojalgo.optimisation -
-
Uses of Expression in org.ojalgo.optimisation
Fields in org.ojalgo.optimisation declared as Expression Modifier and Type Field Description private Expression
FileFormatMPS.Row. myExpression
private Expression
SpecialOrderedSet. myExpression
private Expression
FileFormatMPS. myQuadObjExpr
Fields in org.ojalgo.optimisation with type parameters of type Expression Modifier and Type Field Description private java.util.Map<java.lang.String,Expression>
ExpressionsBasedModel. myExpressions
Methods in org.ojalgo.optimisation that return Expression Modifier and Type Method Description Expression
Expression. add(int index, double value)
Expression
Expression. add(int row, int column, double value)
Expression
Expression. add(int row, int column, long value)
Expression
Expression. add(int row, int column, java.lang.Comparable<?> value)
Expression
Expression. add(int index, long value)
Expression
Expression. add(int index, java.lang.Comparable<?> value)
Expression
Expression. add(Variable variable, double value)
Expression
Expression. add(Variable variable, long value)
Expression
Expression. add(Variable variable, java.lang.Comparable<?> value)
Will add the value to this variable's factor.Expression
Expression. add(Variable variable1, Variable variable2, double value)
Expression
Expression. add(Variable variable1, Variable variable2, long value)
Expression
Expression. add(Variable variable1, Variable variable2, java.lang.Comparable<?> value)
Expression
ExpressionsBasedModel. addExpression()
Expression
ExpressionsBasedModel. addExpression(java.lang.String name)
Expression
Expression. compensate(java.util.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, java.math.BigDecimal value)
private Expression
Expression. doAdd(Structure2D.IntRowColumn key, java.math.BigDecimal value)
(package private) Expression
Expression. doMixedIntegerRounding()
(package private) Expression
Expression. doSet(Structure1D.IntIndex key, java.math.BigDecimal value)
(package private) Expression
Expression. doSet(Structure2D.IntRowColumn key, java.math.BigDecimal value)
Expression
ExpressionsBasedModel. getExpression(java.lang.String name)
(package private) Expression
FileFormatMPS.Row. getExpression()
Expression
ExpressionsBasedModel. limitObjective(java.math.BigDecimal lower, java.math.BigDecimal upper)
Expression
ExpressionsBasedModel. newExpression(java.lang.String name)
Expression
ExpressionsBasedModel. objective()
This is generated on demand – you should not cache this.private static Expression
FileFormatEBM. readExpression(ExpressionsBasedModel model, java.lang.String[] fields)
Expression
Expression. set(int index, double value)
Expression
Expression. set(int row, int column, double value)
Expression
Expression. set(int row, int column, long value)
Expression
Expression. set(int row, int column, java.lang.Comparable<?> value)
Expression
Expression. set(int index, long value)
Expression
Expression. set(int index, java.lang.Comparable<?> value)
Expression
Expression. set(Variable variable, double value)
Expression
Expression. set(Variable variable, long value)
Expression
Expression. set(Variable variable, java.lang.Comparable<?> value)
Will set (replace) the variable's factor to this valueExpression
Expression. set(Variable variable1, Variable variable2, double value)
Expression
Expression. set(Variable variable1, Variable variable2, long value)
Expression
Expression. set(Variable variable1, Variable variable2, java.lang.Comparable<?> value)
Methods in org.ojalgo.optimisation that return types with arguments of type Expression Modifier and Type Method Description java.util.stream.Stream<Expression>
ExpressionsBasedModel. constraints()
Returns a prefiltered stream of expressions that are constraints and have not been markes as redundant.(package private) java.util.stream.Stream<Expression>
ExpressionsBasedModel. expressions()
java.util.Collection<Expression>
ExpressionsBasedModel. getExpressions()
Methods in org.ojalgo.optimisation with parameters of type Expression Modifier and Type Method Description void
ExpressionsBasedModel. addSpecialOrderedSet(java.util.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, java.math.BigDecimal scale)
abstract void
ModelEntity. addTo(Expression target, java.math.BigDecimal scale)
void
Variable. addTo(Expression target, java.math.BigDecimal scale)
static void
Presolvers. checkFeasibility(Expression expression, java.util.Set<Structure1D.IntIndex> remaining, java.math.BigDecimal lower, java.math.BigDecimal upper, NumberContext precision, boolean relaxed)
boolean
ExpressionsBasedModel. checkSimilarity(Expression potential)
static boolean
Presolvers. checkSimilarity(java.util.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, java.util.Set<Structure1D.IntIndex> remaining, java.math.BigDecimal lower, java.math.BigDecimal upper, NumberContext precision)
This constraint expression has 0 remaining free variable.(package private) static boolean
Presolvers. doCase1(Expression expression, java.util.Set<Structure1D.IntIndex> remaining, java.math.BigDecimal lower, java.math.BigDecimal upper, NumberContext precision)
This constraint expression has 1 remaining free variable.(package private) static boolean
Presolvers. doCase2(Expression expression, java.util.Set<Structure1D.IntIndex> remaining, java.math.BigDecimal lower, java.math.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, java.util.Set<Structure1D.IntIndex> remaining, java.math.BigDecimal lower, java.math.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, java.lang.String[] fields)
private static void
FileFormatEBM. readQuadratic(Expression current, java.lang.String[] fields)
abstract boolean
ExpressionsBasedModel.Presolver. simplify(Expression expression, java.util.Set<Structure1D.IntIndex> remaining, java.math.BigDecimal lower, java.math.BigDecimal upper, NumberContext precision)
boolean
SpecialOrderedSet. simplify(Expression expression, java.util.Set<Structure1D.IntIndex> remaining, java.math.BigDecimal lower, java.math.BigDecimal upper, NumberContext precision)
The program logic here does not assume variables to be binary or even integerprivate static void
FileFormatEBM. writeExpression(Expression expression, java.io.BufferedWriter writer)
Method parameters in org.ojalgo.optimisation with type arguments of type Expression Modifier and Type Method Description static boolean
Presolvers. checkSimilarity(java.util.Collection<Expression> current, Expression potential)
Checks if the potentialExpression
is similar to any in the current collection.static boolean
Presolvers. reduce(java.util.Collection<Expression> expressions)
Constructors in org.ojalgo.optimisation with parameters of type Expression Constructor Description Expression(Expression entityToCopy)
Expression(Expression expressionToCopy, ExpressionsBasedModel destinationModel, boolean deep)
SpecialOrderedSet(Structure1D.IntIndex[] sequence, int type, Expression expression)
-