Uses of Class
org.ojalgo.optimisation.Variable
Packages that use Variable
-
Uses of Variable in org.ojalgo.optimisation
Subclasses with type arguments of type Variable in org.ojalgo.optimisationModifier and TypeClassDescription(package private) static classfinal classVariable represents a decision variable in an optimization model.Fields in org.ojalgo.optimisation declared as VariableFields in org.ojalgo.optimisation with type parameters of type VariableModifier and TypeFieldDescriptionExpressionsBasedModel.VariablesCategorisation.myFreeVariablesExpressionsBasedModel.VariablesCategorisation.myIntegerVariablesExpressionsBasedModel.VariablesCategorisation.myNegativeVariablesExpressionsBasedModel.VariablesCategorisation.myPositiveVariablesExpressionsBasedModel.myVariablesMethods in org.ojalgo.optimisation that return VariableModifier and TypeMethodDescriptionExpressionsBasedModel.addVariable()ExpressionsBasedModel.addVariable(String name) Variable.binary()SeeVariable.isBinary().(package private) VariableVariable.copy()Internal copy that includes the indexExpressionsBasedModel.getVariable(int index) ExpressionsBasedModel.getVariable(Structure1D.IntIndex index) (package private) VariableFileFormatMPS.Column.getVariable()IntermediateSolver.getVariable(int globalModelIndex) Variable.integer()Variable.integer(boolean integer) SeeVariable.isInteger().Variable.lower(Comparable<?> lower) ExpressionsBasedModel.newVariable(String name) Variable.relax()(package private) VariableExpression.resolve(Structure1D.IntIndex index) Variable.upper(Comparable<?> upper) Variable.value(BigDecimal value) Methods in org.ojalgo.optimisation that return types with arguments of type VariableModifier and TypeMethodDescriptionExpressionsBasedModel.bounds()Expression.getBinaryVariables(Set<Structure1D.IntIndex> subset) ExpressionsBasedModel.getFreeVariables()ExpressionsBasedModel.VariablesCategorisation.getFreeVariables(ArrayList<Variable> variables) ExpressionsBasedModel.getIntegerVariables()ExpressionsBasedModel.VariablesCategorisation.getIntegerVariables(ArrayList<Variable> variables) ExpressionsBasedModel.getNegativeVariables()ExpressionsBasedModel.VariablesCategorisation.getNegativeVariables(ArrayList<Variable> variables) ExpressionsBasedModel.getPositiveVariables()Returns a list of the variables that are not fixed at a specific value and whos range include positive values and/or zeroExpressionsBasedModel.VariablesCategorisation.getPositiveVariables(ArrayList<Variable> variables) ExpressionsBasedModel.getVariables()ExpressionsBasedModel.variables()Returns a stream of variables that are not fixed.Methods in org.ojalgo.optimisation with parameters of type VariableModifier and TypeMethodDescriptionExpression.add(Variable variable, Comparable<?> value) Will add the value to this variable's factor.Expression.add(Variable variable1, Variable variable2, Comparable<?> value) intprotected intExpressionsBasedModel.Integration.getIndexInSolver(ExpressionsBasedModel model, Variable variable) (package private) booleanintintExpressionsBasedModel.indexOfFreeVariable(Variable variable) intExpressionsBasedModel.indexOfIntegerVariable(Variable variable) intExpressionsBasedModel.indexOfNegativeVariable(Variable variable) intExpressionsBasedModel.indexOfPositiveVariable(Variable variable) (package private) booleanExpressionsBasedModel.VariableAnalyser.isApplicable(Variable target) (package private) booleanExpressionsBasedModel.isReferenced(Variable variable) Expression.set(Variable variable, Comparable<?> value) Will set (replace) the variable's factor to this valueExpression.set(Variable variable1, Variable variable2, Comparable<?> value) abstract booleanExpressionsBasedModel.VariableAnalyser.simplify(Variable variable, ExpressionsBasedModel model) private Structure1D.IntIndexExpression.toIntIndex(Variable variable) private Structure2D.IntRowColumnExpression.toIntRowColumn(Variable variable1, Variable variable2) voidprivate static voidFileFormatEBM.writeVariable(Variable variable, BufferedWriter writer) Method parameters in org.ojalgo.optimisation with type arguments of type VariableModifier and TypeMethodDescriptionvoidExpressionsBasedModel.addSpecialOrderedSet(Collection<Variable> orderedSet, int min, int max) Calling this method will create 2 things: A simple expression meassuring the sum of the (binary) variable values (the number of binary variables that are "ON").voidExpressionsBasedModel.addSpecialOrderedSet(Collection<Variable> orderedSet, int type, Expression linkedTo) Creates a special ordered set (SOS) presolver instance and links that to the supplied expression.private voidExpressionsBasedModel.VariablesCategorisation.getFreeVariables(ArrayList<Variable> variables) ExpressionsBasedModel.VariablesCategorisation.getIntegerVariables(ArrayList<Variable> variables) ExpressionsBasedModel.VariablesCategorisation.getNegativeVariables(ArrayList<Variable> variables) ExpressionsBasedModel.VariablesCategorisation.getPositiveVariables(ArrayList<Variable> variables) (package private) intExpressionsBasedModel.VariablesCategorisation.indexOfFreeVariable(int globalIndex, ArrayList<Variable> variables) (package private) intExpressionsBasedModel.VariablesCategorisation.indexOfIntegerVariable(int globalIndex, ArrayList<Variable> variables) (package private) intExpressionsBasedModel.VariablesCategorisation.indexOfNegativeVariable(int globalIndex, ArrayList<Variable> variables) (package private) intExpressionsBasedModel.VariablesCategorisation.indexOfPositiveVariable(int globalIndex, ArrayList<Variable> variables) private voidprivate voidprivate voidvoidExpression.setCompoundFactorsOffset(List<Variable> variables, Access1D<?> point) Will set the quadratic and linear factors to an expression that measures (the square of) the distance from the given point.voidExpression.setLinearFactors(List<Variable> variables, Access1D<?> factors) voidExpression.setLinearFactorsSimple(List<Variable> variables) Will set the linear factors to a simple sum expression - all factors equal 1.0.voidExpression.setQuadraticFactors(List<Variable> variables, Access2D<?> factors) (package private) voidConstructors in org.ojalgo.optimisation with parameters of type Variable -
Uses of Variable in org.ojalgo.optimisation.linear
Methods in org.ojalgo.optimisation.linear with parameters of type VariableModifier and TypeMethodDescriptionprotected intLinearSolver.ModelIntegration.getIndexInSolver(ExpressionsBasedModel model, Variable variable) protected intLinearSolver.NewIntegration.getIndexInSolver(ExpressionsBasedModel model, Variable variable) protected intLinearSolver.OldIntegration.getIndexInSolver(ExpressionsBasedModel model, Variable variable) (package private) static voidSimplexTableauSolver.set(ExpressionsBasedModel model, Primitive2D constraintsBdy, int indCnstr, int basePosVars, int baseNegVars, Variable variable, double factor)