Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable () |
Next id: 18.
Protobuf type operations_research.MPModelRequest
Definition at line 1001 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.addRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 1155 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest com.google.ortools.linearsolver.MPModelRequest.Builder.build | ( | ) |
Definition at line 1070 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest com.google.ortools.linearsolver.MPModelRequest.Builder.buildPartial | ( | ) |
Definition at line 1079 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clear | ( | ) |
Definition at line 1036 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clearEnableInternalSolverOutput | ( | ) |
If this is set, then EnableOutput() will be set on the internal MPSolver that solves the model. WARNING: if you set this on a request to prod servers, it will be rejected and yield the RPC Application Error code MPSOLVER_SOLVER_TYPE_UNAVAILABLE.
optional bool enable_internal_solver_output = 4 [default = false];
Definition at line 1640 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clearField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field | ) |
Definition at line 1139 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clearIgnoreSolverSpecificParametersFailure | ( | ) |
optional bool ignore_solver_specific_parameters_failure = 9 [default = false];
Definition at line 1862 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clearModel | ( | ) |
The model to be optimized by the server.
optional .operations_research.MPModelProto model = 1;
Definition at line 1391 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clearModelDelta | ( | ) |
Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto.
optional .operations_research.MPModelDeltaProto model_delta = 8;
Definition at line 1974 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clearOneof | ( | com.google.protobuf.Descriptors.OneofDescriptor | oneof | ) |
Definition at line 1144 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clearPopulateAdditionalSolutionsUpTo | ( | ) |
Controls the recovery of additional solutions, if any, saved by the underlying solver back in the MPSolutionResponse.additional_solutions. The repeated field will be length min(populate_addition_solutions_up_to, #additional_solutions_available_in_underlying_solver) These additional solutions may have a worse objective than the main solution returned in the response.
optional int32 populate_additional_solutions_up_to = 11 [default = 0];
Definition at line 2108 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clearSolverSpecificParameters | ( | ) |
Advanced usage. Solver-specific parameters in the solver's own format, different for each solver. For example, if you use SCIP and you want to stop the solve earlier than the time limit if it reached a solution that is at most 1% away from the optimal, you can set this to "limits/gap=0.01". Note however that there is no "security" mechanism in place so it is up to the client to make sure that the given options don't make the solve non thread safe or use up too much memory for instance. If the option format is not understood by the solver, the request will be rejected and yield an RPC Application error with code MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS, unless you have set ignore_solver_specific_parameters_failure=true (in which case they are simply ignored).
optional string solver_specific_parameters = 5;
Definition at line 1792 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clearSolverTimeLimitSeconds | ( | ) |
Maximum time to be spent by the solver to solve 'model'. If the server is busy and the RPC's deadline_left is less than this, it will immediately give up and return an error, without even trying to solve. The client can use this to have a guarantee on how much time the solver will spend on the problem (unless it finds and proves an optimal solution more quickly). If not specified, the time limit on the solver is the RPC's deadline_left.
optional double solver_time_limit_seconds = 3;
Definition at line 1572 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clearSolverType | ( | ) |
optional .operations_research.MPModelRequest.SolverType solver_type = 2 [default = GLOP_LINEAR_PROGRAMMING];
Definition at line 1484 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.clone | ( | ) |
Definition at line 1129 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest com.google.ortools.linearsolver.MPModelRequest.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 1065 of file MPModelRequest.java.
|
static |
Definition at line 1006 of file MPModelRequest.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPModelRequest.Builder.getDescriptorForType | ( | ) |
Definition at line 1060 of file MPModelRequest.java.
boolean com.google.ortools.linearsolver.MPModelRequest.Builder.getEnableInternalSolverOutput | ( | ) |
If this is set, then EnableOutput() will be set on the internal MPSolver that solves the model. WARNING: if you set this on a request to prod servers, it will be rejected and yield the RPC Application Error code MPSOLVER_SOLVER_TYPE_UNAVAILABLE.
optional bool enable_internal_solver_output = 4 [default = false];
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1607 of file MPModelRequest.java.
boolean com.google.ortools.linearsolver.MPModelRequest.Builder.getIgnoreSolverSpecificParametersFailure | ( | ) |
optional bool ignore_solver_specific_parameters_failure = 9 [default = false];
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1843 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelProto com.google.ortools.linearsolver.MPModelRequest.Builder.getModel | ( | ) |
The model to be optimized by the server.
optional .operations_research.MPModelProto model = 1;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1314 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelProto.Builder com.google.ortools.linearsolver.MPModelRequest.Builder.getModelBuilder | ( | ) |
The model to be optimized by the server.
optional .operations_research.MPModelProto model = 1;
Definition at line 1408 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelDeltaProto com.google.ortools.linearsolver.MPModelRequest.Builder.getModelDelta | ( | ) |
Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto.
optional .operations_research.MPModelDeltaProto model_delta = 8;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1893 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelDeltaProto.Builder com.google.ortools.linearsolver.MPModelRequest.Builder.getModelDeltaBuilder | ( | ) |
Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto.
optional .operations_research.MPModelDeltaProto model_delta = 8;
Definition at line 1992 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder com.google.ortools.linearsolver.MPModelRequest.Builder.getModelDeltaOrBuilder | ( | ) |
Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto.
optional .operations_research.MPModelDeltaProto model_delta = 8;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 2005 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelProtoOrBuilder com.google.ortools.linearsolver.MPModelRequest.Builder.getModelOrBuilder | ( | ) |
The model to be optimized by the server.
optional .operations_research.MPModelProto model = 1;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1420 of file MPModelRequest.java.
int com.google.ortools.linearsolver.MPModelRequest.Builder.getPopulateAdditionalSolutionsUpTo | ( | ) |
Controls the recovery of additional solutions, if any, saved by the underlying solver back in the MPSolutionResponse.additional_solutions. The repeated field will be length min(populate_addition_solutions_up_to, #additional_solutions_available_in_underlying_solver) These additional solutions may have a worse objective than the main solution returned in the response.
optional int32 populate_additional_solutions_up_to = 11 [default = 0];
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 2069 of file MPModelRequest.java.
java.lang.String com.google.ortools.linearsolver.MPModelRequest.Builder.getSolverSpecificParameters | ( | ) |
Advanced usage. Solver-specific parameters in the solver's own format, different for each solver. For example, if you use SCIP and you want to stop the solve earlier than the time limit if it reached a solution that is at most 1% away from the optimal, you can set this to "limits/gap=0.01". Note however that there is no "security" mechanism in place so it is up to the client to make sure that the given options don't make the solve non thread safe or use up too much memory for instance. If the option format is not understood by the solver, the request will be rejected and yield an RPC Application error with code MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS, unless you have set ignore_solver_specific_parameters_failure=true (in which case they are simply ignored).
optional string solver_specific_parameters = 5;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1693 of file MPModelRequest.java.
com.google.protobuf.ByteString com.google.ortools.linearsolver.MPModelRequest.Builder.getSolverSpecificParametersBytes | ( | ) |
Advanced usage. Solver-specific parameters in the solver's own format, different for each solver. For example, if you use SCIP and you want to stop the solve earlier than the time limit if it reached a solution that is at most 1% away from the optimal, you can set this to "limits/gap=0.01". Note however that there is no "security" mechanism in place so it is up to the client to make sure that the given options don't make the solve non thread safe or use up too much memory for instance. If the option format is not understood by the solver, the request will be rejected and yield an RPC Application error with code MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS, unless you have set ignore_solver_specific_parameters_failure=true (in which case they are simply ignored).
optional string solver_specific_parameters = 5;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1729 of file MPModelRequest.java.
double com.google.ortools.linearsolver.MPModelRequest.Builder.getSolverTimeLimitSeconds | ( | ) |
Maximum time to be spent by the solver to solve 'model'. If the server is busy and the RPC's deadline_left is less than this, it will immediately give up and return an error, without even trying to solve. The client can use this to have a guarantee on how much time the solver will spend on the problem (unless it finds and proves an optimal solution more quickly). If not specified, the time limit on the solver is the RPC's deadline_left.
optional double solver_time_limit_seconds = 3;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1529 of file MPModelRequest.java.
com.google.ortools.linearsolver.MPModelRequest.SolverType com.google.ortools.linearsolver.MPModelRequest.Builder.getSolverType | ( | ) |
optional .operations_research.MPModelRequest.SolverType solver_type = 2 [default = GLOP_LINEAR_PROGRAMMING];
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1462 of file MPModelRequest.java.
boolean com.google.ortools.linearsolver.MPModelRequest.Builder.hasEnableInternalSolverOutput | ( | ) |
If this is set, then EnableOutput() will be set on the internal MPSolver that solves the model. WARNING: if you set this on a request to prod servers, it will be rejected and yield the RPC Application Error code MPSOLVER_SOLVER_TYPE_UNAVAILABLE.
optional bool enable_internal_solver_output = 4 [default = false];
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1592 of file MPModelRequest.java.
boolean com.google.ortools.linearsolver.MPModelRequest.Builder.hasIgnoreSolverSpecificParametersFailure | ( | ) |
optional bool ignore_solver_specific_parameters_failure = 9 [default = false];
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1835 of file MPModelRequest.java.
boolean com.google.ortools.linearsolver.MPModelRequest.Builder.hasModel | ( | ) |
The model to be optimized by the server.
optional .operations_research.MPModelProto model = 1;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1303 of file MPModelRequest.java.
boolean com.google.ortools.linearsolver.MPModelRequest.Builder.hasModelDelta | ( | ) |
Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto.
optional .operations_research.MPModelDeltaProto model_delta = 8;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1881 of file MPModelRequest.java.
boolean com.google.ortools.linearsolver.MPModelRequest.Builder.hasPopulateAdditionalSolutionsUpTo | ( | ) |
Controls the recovery of additional solutions, if any, saved by the underlying solver back in the MPSolutionResponse.additional_solutions. The repeated field will be length min(populate_addition_solutions_up_to, #additional_solutions_available_in_underlying_solver) These additional solutions may have a worse objective than the main solution returned in the response.
optional int32 populate_additional_solutions_up_to = 11 [default = 0];
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 2051 of file MPModelRequest.java.
boolean com.google.ortools.linearsolver.MPModelRequest.Builder.hasSolverSpecificParameters | ( | ) |
Advanced usage. Solver-specific parameters in the solver's own format, different for each solver. For example, if you use SCIP and you want to stop the solve earlier than the time limit if it reached a solution that is at most 1% away from the optimal, you can set this to "limits/gap=0.01". Note however that there is no "security" mechanism in place so it is up to the client to make sure that the given options don't make the solve non thread safe or use up too much memory for instance. If the option format is not understood by the solver, the request will be rejected and yield an RPC Application error with code MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS, unless you have set ignore_solver_specific_parameters_failure=true (in which case they are simply ignored).
optional string solver_specific_parameters = 5;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1669 of file MPModelRequest.java.
boolean com.google.ortools.linearsolver.MPModelRequest.Builder.hasSolverTimeLimitSeconds | ( | ) |
Maximum time to be spent by the solver to solve 'model'. If the server is busy and the RPC's deadline_left is less than this, it will immediately give up and return an error, without even trying to solve. The client can use this to have a guarantee on how much time the solver will spend on the problem (unless it finds and proves an optimal solution more quickly). If not specified, the time limit on the solver is the RPC's deadline_left.
optional double solver_time_limit_seconds = 3;
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1509 of file MPModelRequest.java.
boolean com.google.ortools.linearsolver.MPModelRequest.Builder.hasSolverType | ( | ) |
optional .operations_research.MPModelRequest.SolverType solver_type = 2 [default = GLOP_LINEAR_PROGRAMMING];
Implements com.google.ortools.linearsolver.MPModelRequestOrBuilder.
Definition at line 1454 of file MPModelRequest.java.
|
protected |
Definition at line 1012 of file MPModelRequest.java.
final boolean com.google.ortools.linearsolver.MPModelRequest.Builder.isInitialized | ( | ) |
Definition at line 1204 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.mergeFrom | ( | com.google.ortools.linearsolver.MPModelRequest | other | ) |
Definition at line 1170 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 1209 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 1161 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.mergeModel | ( | com.google.ortools.linearsolver.MPModelProto | value | ) |
The model to be optimized by the server.
optional .operations_research.MPModelProto model = 1;
Definition at line 1366 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.mergeModelDelta | ( | com.google.ortools.linearsolver.MPModelDeltaProto | value | ) |
Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto.
optional .operations_research.MPModelDeltaProto model_delta = 8;
Definition at line 1948 of file MPModelRequest.java.
final Builder com.google.ortools.linearsolver.MPModelRequest.Builder.mergeUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 2121 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setEnableInternalSolverOutput | ( | boolean | value | ) |
If this is set, then EnableOutput() will be set on the internal MPSolver that solves the model. WARNING: if you set this on a request to prod servers, it will be rejected and yield the RPC Application Error code MPSOLVER_SOLVER_TYPE_UNAVAILABLE.
optional bool enable_internal_solver_output = 4 [default = false];
value | The enableInternalSolverOutput to set. |
Definition at line 1622 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 1133 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setIgnoreSolverSpecificParametersFailure | ( | boolean | value | ) |
optional bool ignore_solver_specific_parameters_failure = 9 [default = false];
value | The ignoreSolverSpecificParametersFailure to set. |
Definition at line 1851 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setModel | ( | com.google.ortools.linearsolver.MPModelProto | value | ) |
The model to be optimized by the server.
optional .operations_research.MPModelProto model = 1;
Definition at line 1328 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setModel | ( | com.google.ortools.linearsolver.MPModelProto.Builder | builderForValue | ) |
The model to be optimized by the server.
optional .operations_research.MPModelProto model = 1;
Definition at line 1348 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setModelDelta | ( | com.google.ortools.linearsolver.MPModelDeltaProto | value | ) |
Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto.
optional .operations_research.MPModelDeltaProto model_delta = 8;
Definition at line 1908 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setModelDelta | ( | com.google.ortools.linearsolver.MPModelDeltaProto.Builder | builderForValue | ) |
Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto.
optional .operations_research.MPModelDeltaProto model_delta = 8;
Definition at line 1929 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setPopulateAdditionalSolutionsUpTo | ( | int | value | ) |
Controls the recovery of additional solutions, if any, saved by the underlying solver back in the MPSolutionResponse.additional_solutions. The repeated field will be length min(populate_addition_solutions_up_to, #additional_solutions_available_in_underlying_solver) These additional solutions may have a worse objective than the main solution returned in the response.
optional int32 populate_additional_solutions_up_to = 11 [default = 0];
value | The populateAdditionalSolutionsUpTo to set. |
Definition at line 2087 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
int | index, | ||
java.lang.Object | value ) |
Definition at line 1149 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setSolverSpecificParameters | ( | java.lang.String | value | ) |
Advanced usage. Solver-specific parameters in the solver's own format, different for each solver. For example, if you use SCIP and you want to stop the solve earlier than the time limit if it reached a solution that is at most 1% away from the optimal, you can set this to "limits/gap=0.01". Note however that there is no "security" mechanism in place so it is up to the client to make sure that the given options don't make the solve non thread safe or use up too much memory for instance. If the option format is not understood by the solver, the request will be rejected and yield an RPC Application error with code MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS, unless you have set ignore_solver_specific_parameters_failure=true (in which case they are simply ignored).
optional string solver_specific_parameters = 5;
value | The solverSpecificParameters to set. |
Definition at line 1763 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setSolverSpecificParametersBytes | ( | com.google.protobuf.ByteString | value | ) |
Advanced usage. Solver-specific parameters in the solver's own format, different for each solver. For example, if you use SCIP and you want to stop the solve earlier than the time limit if it reached a solution that is at most 1% away from the optimal, you can set this to "limits/gap=0.01". Note however that there is no "security" mechanism in place so it is up to the client to make sure that the given options don't make the solve non thread safe or use up too much memory for instance. If the option format is not understood by the solver, the request will be rejected and yield an RPC Application error with code MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS, unless you have set ignore_solver_specific_parameters_failure=true (in which case they are simply ignored).
optional string solver_specific_parameters = 5;
value | The bytes for solverSpecificParameters to set. |
Definition at line 1820 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setSolverTimeLimitSeconds | ( | double | value | ) |
Maximum time to be spent by the solver to solve 'model'. If the server is busy and the RPC's deadline_left is less than this, it will immediately give up and return an error, without even trying to solve. The client can use this to have a guarantee on how much time the solver will spend on the problem (unless it finds and proves an optimal solution more quickly). If not specified, the time limit on the solver is the RPC's deadline_left.
optional double solver_time_limit_seconds = 3;
value | The solverTimeLimitSeconds to set. |
Definition at line 1549 of file MPModelRequest.java.
Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setSolverType | ( | com.google.ortools.linearsolver.MPModelRequest.SolverType | value | ) |
optional .operations_research.MPModelRequest.SolverType solver_type = 2 [default = GLOP_LINEAR_PROGRAMMING];
value | The solverType to set. |
Definition at line 1471 of file MPModelRequest.java.
final Builder com.google.ortools.linearsolver.MPModelRequest.Builder.setUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 2115 of file MPModelRequest.java.