![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Next id: 18. More...
Next id: 18.
Definition at line 6392 of file LinearSolver.pb.cs.
Classes | |
| class | Types |
| Container for nested types declared in the MPModelRequest message type. More... | |
Public Member Functions | |
| MPModelRequest () | |
| MPModelRequest (MPModelRequest other) | |
| MPModelRequest | Clone () |
| void | ClearSolverType () |
| Clears the value of the "solver_type" field. | |
| void | ClearSolverTimeLimitSeconds () |
| Clears the value of the "solver_time_limit_seconds" field. | |
| void | ClearEnableInternalSolverOutput () |
| Clears the value of the "enable_internal_solver_output" field. | |
| void | ClearSolverSpecificParameters () |
| Clears the value of the "solver_specific_parameters" field. | |
| void | ClearIgnoreSolverSpecificParametersFailure () |
| Clears the value of the "ignore_solver_specific_parameters_failure" field. | |
| void | ClearPopulateAdditionalSolutionsUpTo () |
| Clears the value of the "populate_additional_solutions_up_to" field. | |
| override bool | Equals (object other) |
| bool | Equals (MPModelRequest other) |
| override int | GetHashCode () |
| override string | ToString () |
| void | WriteTo (pb::CodedOutputStream output) |
| int | CalculateSize () |
| void | MergeFrom (MPModelRequest other) |
| void | MergeFrom (pb::CodedInputStream input) |
Static Public Attributes | |
| const int | ModelFieldNumber = 1 |
| Field number for the "model" field. | |
| const int | SolverTypeFieldNumber = 2 |
| Field number for the "solver_type" field. | |
| const int | SolverTimeLimitSecondsFieldNumber = 3 |
| Field number for the "solver_time_limit_seconds" field. | |
| const int | EnableInternalSolverOutputFieldNumber = 4 |
| Field number for the "enable_internal_solver_output" field. | |
| const int | SolverSpecificParametersFieldNumber = 5 |
| Field number for the "solver_specific_parameters" field. | |
| const int | IgnoreSolverSpecificParametersFailureFieldNumber = 9 |
| Field number for the "ignore_solver_specific_parameters_failure" field. | |
| const int | ModelDeltaFieldNumber = 8 |
| Field number for the "model_delta" field. | |
| const int | PopulateAdditionalSolutionsUpToFieldNumber = 11 |
| Field number for the "populate_additional_solutions_up_to" field. | |
Properties | |
| static pb::MessageParser< MPModelRequest > | Parser [get] |
| static pbr::MessageDescriptor | Descriptor [get] |
| global::OperationsResearch.MPModelProto | Model [get, set] |
| The model to be optimized by the server. | |
| global::OperationsResearch.MPModelRequest.Types.SolverType | SolverType [get, set] |
| bool | HasSolverType [get] |
| Gets whether the "solver_type" field is set. | |
| double | SolverTimeLimitSeconds [get, set] |
| 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. | |
| bool | HasSolverTimeLimitSeconds [get] |
| Gets whether the "solver_time_limit_seconds" field is set. | |
| bool | EnableInternalSolverOutput [get, set] |
| If this is set, then EnableOutput() will be set on the internal MPSolver that solves the model. | |
| bool | HasEnableInternalSolverOutput [get] |
| Gets whether the "enable_internal_solver_output" field is set. | |
| string | SolverSpecificParameters [get, set] |
| 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". | |
| bool | HasSolverSpecificParameters [get] |
| Gets whether the "solver_specific_parameters" field is set. | |
| bool | IgnoreSolverSpecificParametersFailure [get, set] |
| bool | HasIgnoreSolverSpecificParametersFailure [get] |
| Gets whether the "ignore_solver_specific_parameters_failure" field is set. | |
| global::OperationsResearch.MPModelDeltaProto | ModelDelta [get, set] |
| Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto. | |
| int | PopulateAdditionalSolutionsUpTo [get, set] |
| 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. | |
| bool | HasPopulateAdditionalSolutionsUpTo [get] |
| Gets whether the "populate_additional_solutions_up_to" field is set. | |
|
inline |
Definition at line 6418 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6426 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6821 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "enable_internal_solver_output" field.
Definition at line 6556 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "ignore_solver_specific_parameters_failure" field.
Definition at line 6627 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "populate_additional_solutions_up_to" field.
Definition at line 6679 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "solver_specific_parameters" field.
Definition at line 6600 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "solver_time_limit_seconds" field.
Definition at line 6523 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "solver_type" field.
Definition at line 6483 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6441 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6691 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6685 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6711 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6855 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6894 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6729 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6735 of file LinearSolver.pb.cs.
|
static |
Field number for the "enable_internal_solver_output" field.
Definition at line 6528 of file LinearSolver.pb.cs.
|
static |
Field number for the "ignore_solver_specific_parameters_failure" field.
Definition at line 6605 of file LinearSolver.pb.cs.
|
static |
Field number for the "model_delta" field.
Definition at line 6632 of file LinearSolver.pb.cs.
|
static |
Field number for the "model" field.
Definition at line 6446 of file LinearSolver.pb.cs.
|
static |
Field number for the "populate_additional_solutions_up_to" field.
Definition at line 6648 of file LinearSolver.pb.cs.
|
static |
Field number for the "solver_specific_parameters" field.
Definition at line 6561 of file LinearSolver.pb.cs.
|
static |
Field number for the "solver_time_limit_seconds" field.
Definition at line 6488 of file LinearSolver.pb.cs.
|
static |
Field number for the "solver_type" field.
Definition at line 6461 of file LinearSolver.pb.cs.
|
staticget |
Definition at line 6406 of file LinearSolver.pb.cs.
|
getset |
If this is set, then EnableOutput() will be set on the internal MPSolver that solves the model.
Definition at line 6540 of file LinearSolver.pb.cs.
|
get |
Gets whether the "enable_internal_solver_output" field is set.
Definition at line 6550 of file LinearSolver.pb.cs.
|
get |
Gets whether the "ignore_solver_specific_parameters_failure" field is set.
Definition at line 6621 of file LinearSolver.pb.cs.
|
get |
Gets whether the "populate_additional_solutions_up_to" field is set.
Definition at line 6673 of file LinearSolver.pb.cs.
|
get |
Gets whether the "solver_specific_parameters" field is set.
Definition at line 6594 of file LinearSolver.pb.cs.
|
get |
Gets whether the "solver_time_limit_seconds" field is set.
Definition at line 6517 of file LinearSolver.pb.cs.
|
get |
Gets whether the "solver_type" field is set.
Definition at line 6477 of file LinearSolver.pb.cs.
|
getset |
Definition at line 6611 of file LinearSolver.pb.cs.
|
getset |
The model to be optimized by the server.
Definition at line 6453 of file LinearSolver.pb.cs.
|
getset |
Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto.
Definition at line 6640 of file LinearSolver.pb.cs.
|
staticget |
Definition at line 6402 of file LinearSolver.pb.cs.
|
getset |
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.
Definition at line 6663 of file LinearSolver.pb.cs.
|
getset |
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).
Definition at line 6585 of file LinearSolver.pb.cs.
|
getset |
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.
Definition at line 6507 of file LinearSolver.pb.cs.
|
getset |
Definition at line 6467 of file LinearSolver.pb.cs.