![]() |
Google OR-Tools v9.14
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 initializer] | |
static SolverType | valueOf (int value) |
static SolverType | forNumber (int value) |
static com.google.protobuf.Internal.EnumLiteMap< SolverType > | internalGetValueMap () |
static 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 63 of file MPModelRequest.java.
|
static |
|
static |
value | The numeric wire value of the corresponding enum entry. |
Definition at line 330 of file MPModelRequest.java.
|
static |
Definition at line 375 of file MPModelRequest.java.
final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.linearsolver.MPModelRequest.SolverType.getDescriptorForType | ( | ) |
Definition at line 371 of file MPModelRequest.java.
final int com.google.ortools.linearsolver.MPModelRequest.SolverType.getNumber | ( | ) |
Definition at line 312 of file MPModelRequest.java.
final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.linearsolver.MPModelRequest.SolverType.getValueDescriptor | ( | ) |
Definition at line 367 of file MPModelRequest.java.
|
static |
Definition at line 355 of file MPModelRequest.java.
|
static |
Definition at line 381 of file MPModelRequest.java.
|
static |
value | The numeric wire value of the corresponding enum entry. |
forNumber(int)
instead. Definition at line 322 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.BOP_INTEGER_PROGRAMMING =(12) |
BOP_INTEGER_PROGRAMMING = 12;
Definition at line 156 of file MPModelRequest.java.
|
static |
BOP_INTEGER_PROGRAMMING = 12;
Definition at line 284 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.CBC_MIXED_INTEGER_PROGRAMMING =(5) |
CBC_MIXED_INTEGER_PROGRAMMING = 5;
Definition at line 124 of file MPModelRequest.java.
|
static |
CBC_MIXED_INTEGER_PROGRAMMING = 5;
Definition at line 252 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.CLP_LINEAR_PROGRAMMING =(0) |
CLP_LINEAR_PROGRAMMING = 0;
Definition at line 68 of file MPModelRequest.java.
|
static |
CLP_LINEAR_PROGRAMMING = 0;
Definition at line 196 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 104 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license. NOLINT
CPLEX_LINEAR_PROGRAMMING = 10;
Definition at line 232 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 148 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license. NOLINT
CPLEX_MIXED_INTEGER_PROGRAMMING = 11;
Definition at line 276 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 76 of file MPModelRequest.java.
|
static |
Recommended default for LP models.
GLOP_LINEAR_PROGRAMMING = 2;
Definition at line 204 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.GLPK_LINEAR_PROGRAMMING =(1) |
GLPK_LINEAR_PROGRAMMING = 1;
Definition at line 80 of file MPModelRequest.java.
|
static |
GLPK_LINEAR_PROGRAMMING = 1;
Definition at line 208 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.GLPK_MIXED_INTEGER_PROGRAMMING =(4) |
GLPK_MIXED_INTEGER_PROGRAMMING = 4;
Definition at line 120 of file MPModelRequest.java.
|
static |
GLPK_MIXED_INTEGER_PROGRAMMING = 4;
Definition at line 248 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 88 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license.
GUROBI_LINEAR_PROGRAMMING = 6;
Definition at line 216 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 132 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license.
GUROBI_MIXED_INTEGER_PROGRAMMING = 7;
Definition at line 260 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.HIGHS_LINEAR_PROGRAMMING =(15) |
HIGHS_LINEAR_PROGRAMMING = 15;
Definition at line 108 of file MPModelRequest.java.
|
static |
HIGHS_LINEAR_PROGRAMMING = 15;
Definition at line 236 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.HIGHS_MIXED_INTEGER_PROGRAMMING =(16) |
HIGHS_MIXED_INTEGER_PROGRAMMING = 16;
Definition at line 152 of file MPModelRequest.java.
|
static |
HIGHS_MIXED_INTEGER_PROGRAMMING = 16;
Definition at line 280 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType.KNAPSACK_MIXED_INTEGER_PROGRAMMING =(13) |
KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13;
Definition at line 181 of file MPModelRequest.java.
|
static |
KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13;
Definition at line 309 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 177 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 305 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 167 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 295 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 116 of file MPModelRequest.java.
|
static |
Recommended default for MIP models.
SCIP_MIXED_INTEGER_PROGRAMMING = 3;
Definition at line 244 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 96 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license. NOLINT
XPRESS_LINEAR_PROGRAMMING = 101;
Definition at line 224 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 140 of file MPModelRequest.java.
|
static |
Commercial, needs a valid license. NOLINT
XPRESS_MIXED_INTEGER_PROGRAMMING = 102;
Definition at line 268 of file MPModelRequest.java.