Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
java.util.List< java.lang.Integer > | getVarsList () |
int | getVarsCount () |
int | getVars (int index) |
java.util.List< java.lang.Double > | getCoeffsList () |
int | getCoeffsCount () |
double | getCoeffs (int index) |
double | getOffset () |
boolean | getMaximize () |
Definition at line 7 of file FloatObjectiveProtoOrBuilder.java.
double com.google.ortools.sat.FloatObjectiveProtoOrBuilder.getCoeffs | ( | int | index | ) |
repeated double coeffs = 2;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.FloatObjectiveProto.Builder, and com.google.ortools.sat.FloatObjectiveProto.
int com.google.ortools.sat.FloatObjectiveProtoOrBuilder.getCoeffsCount | ( | ) |
repeated double coeffs = 2;
Implemented in com.google.ortools.sat.FloatObjectiveProto.Builder, and com.google.ortools.sat.FloatObjectiveProto.
java.util.List< java.lang.Double > com.google.ortools.sat.FloatObjectiveProtoOrBuilder.getCoeffsList | ( | ) |
repeated double coeffs = 2;
Implemented in com.google.ortools.sat.FloatObjectiveProto.Builder, and com.google.ortools.sat.FloatObjectiveProto.
boolean com.google.ortools.sat.FloatObjectiveProtoOrBuilder.getMaximize | ( | ) |
The optimization direction. The default is to minimize
bool maximize = 4;
Implemented in com.google.ortools.sat.FloatObjectiveProto.Builder, and com.google.ortools.sat.FloatObjectiveProto.
double com.google.ortools.sat.FloatObjectiveProtoOrBuilder.getOffset | ( | ) |
double offset = 3;
Implemented in com.google.ortools.sat.FloatObjectiveProto.Builder, and com.google.ortools.sat.FloatObjectiveProto.
int com.google.ortools.sat.FloatObjectiveProtoOrBuilder.getVars | ( | int | index | ) |
repeated int32 vars = 1;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.FloatObjectiveProto.Builder, and com.google.ortools.sat.FloatObjectiveProto.
int com.google.ortools.sat.FloatObjectiveProtoOrBuilder.getVarsCount | ( | ) |
repeated int32 vars = 1;
Implemented in com.google.ortools.sat.FloatObjectiveProto.Builder, and com.google.ortools.sat.FloatObjectiveProto.
java.util.List< java.lang.Integer > com.google.ortools.sat.FloatObjectiveProtoOrBuilder.getVarsList | ( | ) |
repeated int32 vars = 1;
Implemented in com.google.ortools.sat.FloatObjectiveProto.Builder, and com.google.ortools.sat.FloatObjectiveProto.