Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
final int | getNumber () |
final com.google.protobuf.Descriptors.EnumValueDescriptor | getValueDescriptor () |
final com.google.protobuf.Descriptors.EnumDescriptor | getDescriptorForType () |
Static Public Member Functions | |
static SolverType | valueOf (int value) |
static SolverType | forNumber (int value) |
static com.google.protobuf.Internal.EnumLiteMap< SolverType > | internalGetValueMap () |
static final com.google.protobuf.Descriptors.EnumDescriptor | getDescriptor () |
static SolverType | valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
Public Attributes | |
CLP_LINEAR_PROGRAMMING =(0) | |
GLOP_LINEAR_PROGRAMMING =(2) | |
GLPK_LINEAR_PROGRAMMING =(1) | |
GUROBI_LINEAR_PROGRAMMING =(6) | |
XPRESS_LINEAR_PROGRAMMING =(101) | |
CPLEX_LINEAR_PROGRAMMING =(10) | |
HIGHS_LINEAR_PROGRAMMING =(15) | |
SCIP_MIXED_INTEGER_PROGRAMMING =(3) | |
GLPK_MIXED_INTEGER_PROGRAMMING =(4) | |
CBC_MIXED_INTEGER_PROGRAMMING =(5) | |
GUROBI_MIXED_INTEGER_PROGRAMMING =(7) | |
XPRESS_MIXED_INTEGER_PROGRAMMING =(102) | |
CPLEX_MIXED_INTEGER_PROGRAMMING =(11) | |
HIGHS_MIXED_INTEGER_PROGRAMMING =(16) | |
BOP_INTEGER_PROGRAMMING =(12) | |
SAT_INTEGER_PROGRAMMING =(14) | |
PDLP_LINEAR_PROGRAMMING =(8) | |
KNAPSACK_MIXED_INTEGER_PROGRAMMING =(13) | |
The solver type, which will select a specific implementation, and will also impact the interpretation of the model (i.e. are we solving the problem as a mixed integer program or are we relaxing it as a continuous linear program?). This must remain consistent with MPSolver::OptimizationProblemType.
Protobuf enum operations_research.MPModelRequest.SolverType
Definition at line 59 of file MPModelRequest.java.
|
static |
value | The numeric wire value of the corresponding enum entry. |
Definition at line 317 of file MPModelRequest.java.
|
static |
Definition at line 362 of file MPModelRequest.java.
final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.linearsolver.MPModelRequest.SolverType.getDescriptorForType | ( | ) |
Definition at line 358 of file MPModelRequest.java.
final int com.google.ortools.linearsolver.MPModelRequest.SolverType.getNumber | ( | ) |
Definition at line 299 of file MPModelRequest.java.
final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.linearsolver.MPModelRequest.SolverType.getValueDescriptor | ( | ) |
Definition at line 354 of file MPModelRequest.java.
|
static |
Definition at line 342 of file MPModelRequest.java.
|
static |
Definition at line 368 of file MPModelRequest.java.
|
static |
value | The numeric wire value of the corresponding enum entry. |
forNumber(int)
instead. Definition at line 309 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.BOP_INTEGER_PROGRAMMING =(12) |
BOP_INTEGER_PROGRAMMING = 12;
Definition at line 152 of file MPModelRequest.java.
|
static |
BOP_INTEGER_PROGRAMMING = 12;
Definition at line 271 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.CBC_MIXED_INTEGER_PROGRAMMING =(5) |
CBC_MIXED_INTEGER_PROGRAMMING = 5;
Definition at line 120 of file MPModelRequest.java.
|
static |
CBC_MIXED_INTEGER_PROGRAMMING = 5;
Definition at line 239 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.CLP_LINEAR_PROGRAMMING =(0) |
CLP_LINEAR_PROGRAMMING = 0;
Definition at line 64 of file MPModelRequest.java.
|
static |
CLP_LINEAR_PROGRAMMING = 0;
Definition at line 183 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.CPLEX_LINEAR_PROGRAMMING =(10) |
Commercial, needs a valid license. NOLINT
CPLEX_LINEAR_PROGRAMMING = 10;
Definition at line 100 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license. NOLINT
CPLEX_LINEAR_PROGRAMMING = 10;
Definition at line 219 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.CPLEX_MIXED_INTEGER_PROGRAMMING =(11) |
Commercial, needs a valid license. NOLINT
CPLEX_MIXED_INTEGER_PROGRAMMING = 11;
Definition at line 144 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license. NOLINT
CPLEX_MIXED_INTEGER_PROGRAMMING = 11;
Definition at line 263 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.GLOP_LINEAR_PROGRAMMING =(2) |
Recommended default for LP models.
GLOP_LINEAR_PROGRAMMING = 2;
Definition at line 72 of file MPModelRequest.java.
|
static |
Recommended default for LP models.
GLOP_LINEAR_PROGRAMMING = 2;
Definition at line 191 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.GLPK_LINEAR_PROGRAMMING =(1) |
GLPK_LINEAR_PROGRAMMING = 1;
Definition at line 76 of file MPModelRequest.java.
|
static |
GLPK_LINEAR_PROGRAMMING = 1;
Definition at line 195 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.GLPK_MIXED_INTEGER_PROGRAMMING =(4) |
GLPK_MIXED_INTEGER_PROGRAMMING = 4;
Definition at line 116 of file MPModelRequest.java.
|
static |
GLPK_MIXED_INTEGER_PROGRAMMING = 4;
Definition at line 235 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.GUROBI_LINEAR_PROGRAMMING =(6) |
Commercial, needs a valid license.
GUROBI_LINEAR_PROGRAMMING = 6;
Definition at line 84 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license.
GUROBI_LINEAR_PROGRAMMING = 6;
Definition at line 203 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.GUROBI_MIXED_INTEGER_PROGRAMMING =(7) |
Commercial, needs a valid license.
GUROBI_MIXED_INTEGER_PROGRAMMING = 7;
Definition at line 128 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license.
GUROBI_MIXED_INTEGER_PROGRAMMING = 7;
Definition at line 247 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.HIGHS_LINEAR_PROGRAMMING =(15) |
HIGHS_LINEAR_PROGRAMMING = 15;
Definition at line 104 of file MPModelRequest.java.
|
static |
HIGHS_LINEAR_PROGRAMMING = 15;
Definition at line 223 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.HIGHS_MIXED_INTEGER_PROGRAMMING =(16) |
HIGHS_MIXED_INTEGER_PROGRAMMING = 16;
Definition at line 148 of file MPModelRequest.java.
|
static |
HIGHS_MIXED_INTEGER_PROGRAMMING = 16;
Definition at line 267 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.KNAPSACK_MIXED_INTEGER_PROGRAMMING =(13) |
KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13;
Definition at line 177 of file MPModelRequest.java.
|
static |
KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13;
Definition at line 296 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.PDLP_LINEAR_PROGRAMMING =(8) |
In-house linear programming solver based on the primal-dual hybrid gradient method. Sometimes faster than Glop for medium-size problems and scales to much larger problems than Glop.
PDLP_LINEAR_PROGRAMMING = 8;
Definition at line 173 of file MPModelRequest.java.
|
static |
In-house linear programming solver based on the primal-dual hybrid gradient method. Sometimes faster than Glop for medium-size problems and scales to much larger problems than Glop.
PDLP_LINEAR_PROGRAMMING = 8;
Definition at line 292 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.SAT_INTEGER_PROGRAMMING =(14) |
WARNING: This solver will currently interpret all variables as integer, so any solution you get will be valid, but the optimal might be far away for the real one (when you authorise non-integer value for continuous variables).
SAT_INTEGER_PROGRAMMING = 14;
Definition at line 163 of file MPModelRequest.java.
|
static |
WARNING: This solver will currently interpret all variables as integer, so any solution you get will be valid, but the optimal might be far away for the real one (when you authorise non-integer value for continuous variables).
SAT_INTEGER_PROGRAMMING = 14;
Definition at line 282 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.SCIP_MIXED_INTEGER_PROGRAMMING =(3) |
Recommended default for MIP models.
SCIP_MIXED_INTEGER_PROGRAMMING = 3;
Definition at line 112 of file MPModelRequest.java.
|
static |
Recommended default for MIP models.
SCIP_MIXED_INTEGER_PROGRAMMING = 3;
Definition at line 231 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.XPRESS_LINEAR_PROGRAMMING =(101) |
Commercial, needs a valid license. NOLINT
XPRESS_LINEAR_PROGRAMMING = 101;
Definition at line 92 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license. NOLINT
XPRESS_LINEAR_PROGRAMMING = 101;
Definition at line 211 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.XPRESS_MIXED_INTEGER_PROGRAMMING =(102) |
Commercial, needs a valid license. NOLINT
XPRESS_MIXED_INTEGER_PROGRAMMING = 102;
Definition at line 136 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license. NOLINT
XPRESS_MIXED_INTEGER_PROGRAMMING = 102;
Definition at line 255 of file MPModelRequest.java.