Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
int | numElements () |
int | getVariableIndex (int index) |
double | getCoefficient (int index) |
double | getOffset () |
DoubleLinearExpr (IntVar[] variables, double[] coefficients, double offset) | |
DoubleLinearExpr (Literal[] literals, double[] coefficients, double offset) | |
DoubleLinearExpr (IntVar var, double coefficient, double offset) | |
DoubleLinearExpr (Literal lit, double coefficient, double offset) | |
DoubleLinearExpr (IntVar[] vars, double offset) | |
DoubleLinearExpr (Literal[] literals, double offset) | |
int | numElements () |
int | getVariableIndex (int index) |
double | getCoefficient (int index) |
double | getOffset () |
DoubleLinearExpr (IntVar[] variables, double[] coefficients, double offset) | |
DoubleLinearExpr (Literal[] literals, double[] coefficients, double offset) | |
DoubleLinearExpr (IntVar var, double coefficient, double offset) | |
DoubleLinearExpr (Literal lit, double coefficient, double offset) | |
DoubleLinearExpr (IntVar[] vars, double offset) | |
DoubleLinearExpr (Literal[] literals, double offset) | |
A linear expression interface that can be parsed.
Definition at line 17 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | IntVar[] | variables, |
double[] | coefficients, | ||
double | offset ) |
Definition at line 125 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | Literal[] | literals, |
double[] | coefficients, | ||
double | offset ) |
Definition at line 134 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | IntVar | var, |
double | coefficient, | ||
double | offset ) |
Definition at line 154 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | Literal | lit, |
double | coefficient, | ||
double | offset ) |
Definition at line 160 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | IntVar[] | vars, |
double | offset ) |
Definition at line 172 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | Literal[] | literals, |
double | offset ) |
Definition at line 184 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | IntVar[] | variables, |
double[] | coefficients, | ||
double | offset ) |
Definition at line 125 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | Literal[] | literals, |
double[] | coefficients, | ||
double | offset ) |
Definition at line 134 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | IntVar | var, |
double | coefficient, | ||
double | offset ) |
Definition at line 154 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | Literal | lit, |
double | coefficient, | ||
double | offset ) |
Definition at line 160 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | IntVar[] | vars, |
double | offset ) |
Definition at line 172 of file DoubleLinearExpr.java.
com.google.ortools.sat.DoubleLinearExpr.DoubleLinearExpr | ( | Literal[] | literals, |
double | offset ) |
Definition at line 184 of file DoubleLinearExpr.java.
double com.google.ortools.sat.DoubleLinearExpr.getCoefficient | ( | int | index | ) |
Returns the ith coefficient.
Definition at line 113 of file DoubleLinearExpr.java.
double com.google.ortools.sat.DoubleLinearExpr.getCoefficient | ( | int | index | ) |
Returns the ith coefficient.
Definition at line 113 of file DoubleLinearExpr.java.
double com.google.ortools.sat.DoubleLinearExpr.getOffset | ( | ) |
Returns the constant part of the expression.
Definition at line 121 of file DoubleLinearExpr.java.
double com.google.ortools.sat.DoubleLinearExpr.getOffset | ( | ) |
Returns the constant part of the expression.
Definition at line 121 of file DoubleLinearExpr.java.
int com.google.ortools.sat.DoubleLinearExpr.getVariableIndex | ( | int | index | ) |
Returns the ith variable.
Definition at line 105 of file DoubleLinearExpr.java.
int com.google.ortools.sat.DoubleLinearExpr.getVariableIndex | ( | int | index | ) |
Returns the ith variable.
Definition at line 105 of file DoubleLinearExpr.java.
int com.google.ortools.sat.DoubleLinearExpr.numElements | ( | ) |
Returns the number of elements in the interface.
Definition at line 100 of file DoubleLinearExpr.java.
int com.google.ortools.sat.DoubleLinearExpr.numElements | ( | ) |
Returns the number of elements in the interface.
Definition at line 100 of file DoubleLinearExpr.java.