Uses of Class
org.ojalgo.optimisation.Variable
Packages that use Variable
-
Uses of Variable in org.ojalgo.optimisation
Fields in org.ojalgo.optimisation declared as VariableFields in org.ojalgo.optimisation with type parameters of type VariableModifier and TypeFieldDescriptionExpressionsBasedModel.VariablesCategorisation.myFreeVariables
ExpressionsBasedModel.VariablesCategorisation.myIntegerVariables
ExpressionsBasedModel.VariablesCategorisation.myNegativeVariables
ExpressionsBasedModel.VariablesCategorisation.myPositiveVariables
ExpressionsBasedModel.myVariables
Methods in org.ojalgo.optimisation that return VariableModifier and TypeMethodDescriptionExpressionsBasedModel.addVariable()
ExpressionsBasedModel.addVariable
(String name) Variable.binary()
SeeisBinary()
.(package private) Variable
Variable.copy()
Internal copy that includes the indexExpressionsBasedModel.getVariable
(int index) ExpressionsBasedModel.getVariable
(Structure1D.IntIndex index) (package private) Variable
FileFormatMPS.Column.getVariable()
IntermediateSolver.getVariable
(int globalModelIndex) Variable.integer()
Variable.integer
(boolean integer) SeeisInteger()
.Variable.lower
(Comparable<?> lower) ExpressionsBasedModel.newVariable
(String name) Variable.relax()
(package private) Variable
Expression.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) int
protected int
ExpressionsBasedModel.Integration.getIndexInSolver
(ExpressionsBasedModel model, Variable variable) (package private) boolean
int
int
ExpressionsBasedModel.indexOfFreeVariable
(Variable variable) int
ExpressionsBasedModel.indexOfIntegerVariable
(Variable variable) int
ExpressionsBasedModel.indexOfNegativeVariable
(Variable variable) int
ExpressionsBasedModel.indexOfPositiveVariable
(Variable variable) (package private) boolean
ExpressionsBasedModel.VariableAnalyser.isApplicable
(Variable target) (package private) boolean
ExpressionsBasedModel.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 boolean
ExpressionsBasedModel.VariableAnalyser.simplify
(Variable variable, ExpressionsBasedModel model) private Structure1D.IntIndex
Expression.toIntIndex
(Variable variable) private Structure2D.IntRowColumn
Expression.toIntRowColumn
(Variable variable1, Variable variable2) void
private static void
FileFormatEBM.writeVariable
(Variable variable, BufferedWriter writer) Method parameters in org.ojalgo.optimisation with type arguments of type VariableModifier and TypeMethodDescriptionvoid
ExpressionsBasedModel.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").void
ExpressionsBasedModel.addSpecialOrderedSet
(Collection<Variable> orderedSet, int type, Expression linkedTo) Creates a special ordered set (SOS) presolver instance and links that to the supplied expression.private void
ExpressionsBasedModel.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) int
ExpressionsBasedModel.VariablesCategorisation.indexOfFreeVariable
(int globalIndex, ArrayList<Variable> variables) (package private) int
ExpressionsBasedModel.VariablesCategorisation.indexOfIntegerVariable
(int globalIndex, ArrayList<Variable> variables) (package private) int
ExpressionsBasedModel.VariablesCategorisation.indexOfNegativeVariable
(int globalIndex, ArrayList<Variable> variables) (package private) int
ExpressionsBasedModel.VariablesCategorisation.indexOfPositiveVariable
(int globalIndex, ArrayList<Variable> variables) private void
private void
private void
void
Expression.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.void
Expression.setLinearFactors
(List<Variable> variables, Access1D<?> factors) void
Expression.setLinearFactorsSimple
(List<Variable> variables) Will set the linear factors to a simple sum expression - all factors equal 1.0.void
Expression.setQuadraticFactors
(List<Variable> variables, Access2D<?> factors) (package private) void
Constructors 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 int
LinearSolver.ModelIntegration.getIndexInSolver
(ExpressionsBasedModel model, Variable variable) protected int
LinearSolver.NewIntegration.getIndexInSolver
(ExpressionsBasedModel model, Variable variable) protected int
LinearSolver.OldIntegration.getIndexInSolver
(ExpressionsBasedModel model, Variable variable) (package private) static void
SimplexTableauSolver.set
(ExpressionsBasedModel model, Primitive2D constraintsBdy, int indCnstr, int basePosVars, int baseNegVars, Variable variable, double factor)