Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Next id: 18. More...
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. | |
Next id: 18.
Definition at line 6265 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6291 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6299 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6694 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "enable_internal_solver_output" field.
Definition at line 6429 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "ignore_solver_specific_parameters_failure" field.
Definition at line 6500 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "populate_additional_solutions_up_to" field.
Definition at line 6552 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "solver_specific_parameters" field.
Definition at line 6473 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "solver_time_limit_seconds" field.
Definition at line 6396 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "solver_type" field.
Definition at line 6356 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6314 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6564 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6558 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6584 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6728 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6767 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6602 of file LinearSolver.pb.cs.
|
inline |
Definition at line 6608 of file LinearSolver.pb.cs.
|
static |
Field number for the "enable_internal_solver_output" field.
Definition at line 6401 of file LinearSolver.pb.cs.
|
static |
Field number for the "ignore_solver_specific_parameters_failure" field.
Definition at line 6478 of file LinearSolver.pb.cs.
|
static |
Field number for the "model_delta" field.
Definition at line 6505 of file LinearSolver.pb.cs.
|
static |
Field number for the "model" field.
Definition at line 6319 of file LinearSolver.pb.cs.
|
static |
Field number for the "populate_additional_solutions_up_to" field.
Definition at line 6521 of file LinearSolver.pb.cs.
|
static |
Field number for the "solver_specific_parameters" field.
Definition at line 6434 of file LinearSolver.pb.cs.
|
static |
Field number for the "solver_time_limit_seconds" field.
Definition at line 6361 of file LinearSolver.pb.cs.
|
static |
Field number for the "solver_type" field.
Definition at line 6334 of file LinearSolver.pb.cs.
|
staticget |
Definition at line 6279 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 6413 of file LinearSolver.pb.cs.
|
get |
Gets whether the "enable_internal_solver_output" field is set.
Definition at line 6423 of file LinearSolver.pb.cs.
|
get |
Gets whether the "ignore_solver_specific_parameters_failure" field is set.
Definition at line 6494 of file LinearSolver.pb.cs.
|
get |
Gets whether the "populate_additional_solutions_up_to" field is set.
Definition at line 6546 of file LinearSolver.pb.cs.
|
get |
Gets whether the "solver_specific_parameters" field is set.
Definition at line 6467 of file LinearSolver.pb.cs.
|
get |
Gets whether the "solver_time_limit_seconds" field is set.
Definition at line 6390 of file LinearSolver.pb.cs.
|
get |
Gets whether the "solver_type" field is set.
Definition at line 6350 of file LinearSolver.pb.cs.
|
getset |
Definition at line 6484 of file LinearSolver.pb.cs.
|
getset |
The model to be optimized by the server.
Definition at line 6326 of file LinearSolver.pb.cs.
|
getset |
Advanced usage: model "delta". If used, "model" must be unset. See the definition of MPModelDeltaProto.
Definition at line 6513 of file LinearSolver.pb.cs.
|
staticget |
Definition at line 6275 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 6536 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 6458 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 6380 of file LinearSolver.pb.cs.
|
getset |
Definition at line 6340 of file LinearSolver.pb.cs.