Package | Description |
---|---|
org.ojalgo.optimisation | |
org.ojalgo.optimisation.linear |
Modifier and Type | Method and Description |
---|---|
Variable |
ExpressionsBasedModel.addVariable() |
Variable |
ExpressionsBasedModel.addVariable(String name) |
Variable |
Variable.binary() |
Variable |
Variable.copy() |
Variable |
ExpressionsBasedModel.getVariable(int index) |
Variable |
ExpressionsBasedModel.Intermediate.getVariable(int globalIndex) |
Variable |
ExpressionsBasedModel.getVariable(Structure1D.IntIndex index) |
Variable |
ExpressionsBasedModel.Intermediate.getVariable(Structure1D.IntIndex globalIndex) |
Variable |
Variable.integer(boolean integer) |
Variable |
Variable.lower(Number lower) |
static Variable |
Variable.make(String name) |
static Variable |
Variable.makeBinary(String name) |
Variable |
Variable.relax() |
Variable |
Variable.upper(Number upper) |
Modifier and Type | Method and Description |
---|---|
Stream<Variable> |
ExpressionsBasedModel.bounds() |
List<Variable> |
ExpressionsBasedModel.getFreeVariables() |
List<Variable> |
ExpressionsBasedModel.getIntegerVariables() |
List<Variable> |
ExpressionsBasedModel.getNegativeVariables() |
List<Variable> |
ExpressionsBasedModel.getPositiveVariables() |
List<Variable> |
ExpressionsBasedModel.getVariables() |
Stream<Variable> |
ExpressionsBasedModel.variables() |
Modifier and Type | Method and Description |
---|---|
void |
ExpressionsBasedModel.addVariable(Variable variable) |
void |
ExpressionsBasedModel.addVariables(Variable[] variables) |
int |
Variable.compareTo(Variable obj) |
BigDecimal |
Expression.get(Variable variable) |
double |
Expression.getAdjustedLinearFactor(Variable aVar) |
double |
Expression.getAdjustedQuadraticFactor(Variable aVar1,
Variable aVar2) |
protected int |
ExpressionsBasedModel.Integration.getIndexInSolver(ExpressionsBasedModel model,
Variable variable) |
int |
ExpressionsBasedModel.indexOf(Variable variable) |
int |
ExpressionsBasedModel.indexOfFreeVariable(Variable variable) |
int |
ExpressionsBasedModel.indexOfIntegerVariable(Variable variable) |
int |
ExpressionsBasedModel.indexOfNegativeVariable(Variable variable) |
int |
ExpressionsBasedModel.indexOfPositiveVariable(Variable variable) |
Expression |
Expression.set(Variable variable,
Number value) |
Expression |
Expression.set(Variable variable1,
Variable variable2,
Number value) |
void |
ExpressionsBasedModel.Intermediate.update(Variable variable) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
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.addVariables(Collection<? extends Variable> variables) |
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) |
Constructor and Description |
---|
ExpressionsBasedModel(Variable... variables) |
Variable(Variable variableToCopy) |
Constructor and Description |
---|
ExpressionsBasedModel(Collection<? extends Variable> variables) |
Modifier and Type | Method and Description |
---|---|
protected int |
LinearSolver.ModelIntegration.getIndexInSolver(ExpressionsBasedModel model,
Variable variable) |
Copyright © 2019 Optimatika. All rights reserved.