Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
LinearExprBuilder | add (LinearArgument expr) |
LinearExprBuilder | add (double constant) |
LinearExprBuilder | addTerm (LinearArgument expr, double coeff) |
LinearExprBuilder | addSum (LinearArgument[] exprs) |
LinearExprBuilder | addWeightedSum (LinearArgument[] exprs, double[] coeffs) |
LinearExprBuilder | addWeightedSum (LinearArgument[] exprs, int[] coeffs) |
LinearExprBuilder | addWeightedSum (LinearArgument[] exprs, long[] coeffs) |
LinearExpr | build () |
LinearExprBuilder | add (LinearArgument expr) |
LinearExprBuilder | add (double constant) |
LinearExprBuilder | addTerm (LinearArgument expr, double coeff) |
LinearExprBuilder | addSum (LinearArgument[] exprs) |
LinearExprBuilder | addWeightedSum (LinearArgument[] exprs, double[] coeffs) |
LinearExprBuilder | addWeightedSum (LinearArgument[] exprs, int[] coeffs) |
LinearExprBuilder | addWeightedSum (LinearArgument[] exprs, long[] coeffs) |
LinearExpr | build () |
Public Member Functions inherited from com.google.ortools.modelbuilder.LinearArgument |
Builder class for the LinearExpr container.
Definition at line 20 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.add | ( | double | constant | ) |
Definition at line 34 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.add | ( | double | constant | ) |
Definition at line 34 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.add | ( | LinearArgument | expr | ) |
Definition at line 29 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.add | ( | LinearArgument | expr | ) |
Definition at line 29 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.addSum | ( | LinearArgument[] | exprs | ) |
Definition at line 49 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.addSum | ( | LinearArgument[] | exprs | ) |
Definition at line 49 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.addTerm | ( | LinearArgument | expr, |
double | coeff ) |
Definition at line 39 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.addTerm | ( | LinearArgument | expr, |
double | coeff ) |
Definition at line 39 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.addWeightedSum | ( | LinearArgument[] | exprs, |
double[] | coeffs ) |
Definition at line 56 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.addWeightedSum | ( | LinearArgument[] | exprs, |
double[] | coeffs ) |
Definition at line 56 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.addWeightedSum | ( | LinearArgument[] | exprs, |
int[] | coeffs ) |
Definition at line 63 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.addWeightedSum | ( | LinearArgument[] | exprs, |
int[] | coeffs ) |
Definition at line 63 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.addWeightedSum | ( | LinearArgument[] | exprs, |
long[] | coeffs ) |
Definition at line 70 of file LinearExprBuilder.java.
LinearExprBuilder com.google.ortools.modelbuilder.LinearExprBuilder.addWeightedSum | ( | LinearArgument[] | exprs, |
long[] | coeffs ) |
Definition at line 70 of file LinearExprBuilder.java.
LinearExpr com.google.ortools.modelbuilder.LinearExprBuilder.build | ( | ) |
Builds a linear expression.
Implements com.google.ortools.modelbuilder.LinearArgument.
Definition at line 78 of file LinearExprBuilder.java.
LinearExpr com.google.ortools.modelbuilder.LinearExprBuilder.build | ( | ) |
Builds a linear expression.
Implements com.google.ortools.modelbuilder.LinearArgument.
Definition at line 78 of file LinearExprBuilder.java.