Uses of Class
com.google.ortools.sat.DoubleLinearExpr
Packages that use DoubleLinearExpr
-
Uses of DoubleLinearExpr in com.google.ortools.sat
Methods in com.google.ortools.sat that return DoubleLinearExprModifier and TypeMethodDescriptionstatic DoubleLinearExpr
Creates an affine expression (var * coefficient + offset).static DoubleLinearExpr
Creates an affine expression (lit * coefficient + offset).static DoubleLinearExpr
DoubleLinearExpr.constant
(double value) Creates a constant expression.static DoubleLinearExpr
Creates a sum expression.static DoubleLinearExpr
Creates a sum expression.static DoubleLinearExpr
DoubleLinearExpr.sumWithOffset
(IntVar[] variables, double offset) Creates a sum expression with a double offset.static DoubleLinearExpr
DoubleLinearExpr.sumWithOffset
(Literal[] literals, double offset) Creates a sum expression with a double offset.static DoubleLinearExpr
Creates a linear term (var * coefficient).static DoubleLinearExpr
Creates a linear term (lit * coefficient).static DoubleLinearExpr
DoubleLinearExpr.weightedSum
(IntVar[] variables, double[] coefficients) Creates a scalar product.static DoubleLinearExpr
DoubleLinearExpr.weightedSum
(Literal[] literals, double[] coefficients) Creates a scalar product.static DoubleLinearExpr
DoubleLinearExpr.weightedSumWithOffset
(IntVar[] variables, double[] coefficients, double offset) Creates a scalar product.static DoubleLinearExpr
DoubleLinearExpr.weightedSumWithOffset
(Literal[] literals, double[] coefficients, double offset) Creates a scalar product with a double offset.Methods in com.google.ortools.sat with parameters of type DoubleLinearExprModifier and TypeMethodDescriptionvoid
CpModel.maximize
(DoubleLinearExpr expr) Adds a maximization objective of a linear expression.void
CpModel.minimize
(DoubleLinearExpr expr) Adds a minimization objective of a linear expression.