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