Uses of Class
org.ojalgo.optimisation.Expression
Packages that use Expression
-
Uses of Expression in org.ojalgo.optimisation
Subclasses with type arguments of type Expression in org.ojalgo.optimisationModifier and TypeClassDescriptionfinal classExpression represents a mathematical expression in the optimization model that can serve as either a constraint or a component of the objective function.static classFields in org.ojalgo.optimisation declared as ExpressionModifier and TypeFieldDescriptionprivate final ExpressionFileFormatMPS.Row.myExpressionprivate final ExpressionSpecialOrderedSet.myExpressionprivate ExpressionFileFormatMPS.myQuadObjExprFields in org.ojalgo.optimisation with type parameters of type ExpressionModifier and TypeFieldDescriptionprivate final Map<String, Expression> ExpressionsBasedModel.myExpressionsMethods in org.ojalgo.optimisation that return ExpressionModifier and TypeMethodDescriptionExpression.add(double scale, Expression values) Expression.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(long scale, Expression values) Expression.add(Comparable<?> scale, Expression values) Adds the scaled values from another Expression to this Expression.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) ExpressionExpression.copy(ExpressionsBasedModel destinationModel, boolean deep) private ExpressionExpression.doAdd(BigDecimal scale, Expression values) private ExpressionExpression.doAdd(Structure1D.IntIndex key, BigDecimal value) private ExpressionExpression.doAdd(Structure2D.IntRowColumn key, BigDecimal value) (package private) ExpressionExpression.doMixedIntegerRounding()(package private) ExpressionExpression.doSet(Structure1D.IntIndex key, BigDecimal value) (package private) ExpressionExpression.doSet(Structure2D.IntRowColumn key, BigDecimal value) ExpressionsBasedModel.getExpression(String name) (package private) ExpressionFileFormatMPS.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 ExpressionFileFormatEBM.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 TypeMethodDescriptionExpression.add(double scale, Expression values) Expression.add(long scale, Expression values) Expression.add(Comparable<?> scale, Expression values) Adds the scaled values from another Expression to this Expression.voidExpressionsBasedModel.addSpecialOrderedSet(Collection<Variable> orderedSet, int type, Expression linkedTo) Creates a special ordered set (SOS) presolver instance and links that to the supplied expression.voidExpression.addTo(Expression target, BigDecimal scale) abstract voidModelEntity.addTo(Expression target, BigDecimal scale) voidVariable.addTo(Expression target, BigDecimal scale) static voidPresolvers.checkFeasibility(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision, boolean relaxed) booleanExpressionsBasedModel.checkSimilarity(Expression potential) static booleanPresolvers.checkSimilarity(Collection<Expression> current, Expression potential) Checks if the potentialExpressionis similar to any in the current collection.intExpression.compareTo(Expression obj) (package private) intExpressionsBasedModel.deriveAdjustmentRange(Expression expression) private ExpressionExpression.doAdd(BigDecimal scale, Expression values) (package private) static booleanPresolvers.doCase0(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision) This constraint expression has 0 remaining free variable.(package private) static booleanPresolvers.doCase1(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision) This constraint expression has 1 remaining free variable.(package private) static booleanPresolvers.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 booleanPresolvers.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) booleanExpressionsBasedModel.Presolver.isApplicable(Expression target) private static voidFileFormatEBM.readLinear(Expression current, String[] fields) private static voidFileFormatEBM.readQuadratic(Expression current, String[] fields) abstract booleanExpressionsBasedModel.Presolver.simplify(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision) booleanSpecialOrderedSet.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 voidFileFormatEBM.writeExpression(Expression expression, BufferedWriter writer) Method parameters in org.ojalgo.optimisation with type arguments of type ExpressionModifier and TypeMethodDescriptionstatic booleanPresolvers.checkSimilarity(Collection<Expression> current, Expression potential) Checks if the potentialExpressionis similar to any in the current collection.static booleanPresolvers.reduce(Collection<Expression> expressions) Constructors in org.ojalgo.optimisation with parameters of type ExpressionModifierConstructorDescriptionprotectedExpression(Expression expressionToCopy, ExpressionsBasedModel destinationModel, boolean deep) (package private)SpecialOrderedSet(Structure1D.IntIndex[] sequence, int type, Expression expression)