![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Next id: 12. More...
Next id: 12.
Definition at line 7602 of file LinearSolver.pb.cs.
Public Member Functions | |
| MPSolutionResponse () | |
| MPSolutionResponse (MPSolutionResponse other) | |
| MPSolutionResponse | Clone () |
| void | ClearStatus () |
| Clears the value of the "status" field. | |
| void | ClearStatusStr () |
| Clears the value of the "status_str" field. | |
| void | ClearObjectiveValue () |
| Clears the value of the "objective_value" field. | |
| void | ClearBestObjectiveBound () |
| Clears the value of the "best_objective_bound" field. | |
| void | ClearSolverSpecificInfo () |
| Clears the value of the "solver_specific_info" field. | |
| override bool | Equals (object other) |
| bool | Equals (MPSolutionResponse other) |
| override int | GetHashCode () |
| override string | ToString () |
| void | WriteTo (pb::CodedOutputStream output) |
| int | CalculateSize () |
| void | MergeFrom (MPSolutionResponse other) |
| void | MergeFrom (pb::CodedInputStream input) |
Static Public Attributes | |
| const int | StatusFieldNumber = 1 |
| Field number for the "status" field. | |
| const int | StatusStrFieldNumber = 7 |
| Field number for the "status_str" field. | |
| const int | ObjectiveValueFieldNumber = 2 |
| Field number for the "objective_value" field. | |
| const int | BestObjectiveBoundFieldNumber = 5 |
| Field number for the "best_objective_bound" field. | |
| const int | VariableValueFieldNumber = 3 |
| Field number for the "variable_value" field. | |
| const int | SolveInfoFieldNumber = 10 |
| Field number for the "solve_info" field. | |
| const int | SolverSpecificInfoFieldNumber = 11 |
| Field number for the "solver_specific_info" field. | |
| const int | DualValueFieldNumber = 4 |
| Field number for the "dual_value" field. | |
| const int | ReducedCostFieldNumber = 6 |
| Field number for the "reduced_cost" field. | |
| const int | AdditionalSolutionsFieldNumber = 8 |
| Field number for the "additional_solutions" field. | |
Properties | |
| static pb::MessageParser< MPSolutionResponse > | Parser [get] |
| static pbr::MessageDescriptor | Descriptor [get] |
| global::OperationsResearch.MPSolverResponseStatus | Status [get, set] |
| Result of the optimization. | |
| bool | HasStatus [get] |
| Gets whether the "status" field is set. | |
| string | StatusStr [get, set] |
| Human-readable string giving more details about the status. For example, when the status is MPSOLVER_INVALID_MODE, this can hold a description of why the model is invalid. This isn't always filled: don't depend on its value or even its presence. | |
| bool | HasStatusStr [get] |
| Gets whether the "status_str" field is set. | |
| double | ObjectiveValue [get, set] |
| Objective value corresponding to the "variable_value" below, taking into account the source "objective_offset" and "objective_coefficient". This is set iff 'status' is OPTIMAL or FEASIBLE. | |
| bool | HasObjectiveValue [get] |
| Gets whether the "objective_value" field is set. | |
| double | BestObjectiveBound [get, set] |
| This field is only filled for MIP problems. For a minimization problem, this is a lower bound on the optimal objective value. For a maximization problem, it is an upper bound. It is only filled if the status is OPTIMAL or FEASIBLE. In the former case, best_objective_bound should be equal to objective_value (modulo numerical errors). | |
| bool | HasBestObjectiveBound [get] |
| Gets whether the "best_objective_bound" field is set. | |
| pbc::RepeatedField< double > | VariableValue [get] |
| Variable values in the same order as the MPModelProto::variable field. This is a dense representation. These are set iff 'status' is OPTIMAL or FEASIBLE. | |
| global::OperationsResearch.MPSolveInfo | SolveInfo [get, set] |
| Contains extra information about the solve, populated if the underlying solver (and its interface) supports it. As of 2021/07/19 this is supported by SCIP and Gurobi proto solves. | |
| pb::ByteString | SolverSpecificInfo [get, set] |
| Opaque solver-specific information. For the PDLP solver, this is a serialized pdlp::SolveLog proto. | |
| bool | HasSolverSpecificInfo [get] |
| Gets whether the "solver_specific_info" field is set. | |
| pbc::RepeatedField< double > | DualValue [get] |
| [Advanced usage.] Values of the dual variables values in the same order as the MPModelProto::constraint field. This is a dense representation. These are not set if the problem was solved with a MIP solver (even if it is actually a linear program). These are set iff 'status' is OPTIMAL or FEASIBLE. | |
| pbc::RepeatedField< double > | ReducedCost [get] |
| [Advanced usage.] Values of the reduced cost of the variables in the same order as the MPModelProto::variable. This is a dense representation. These are not set if the problem was solved with a MIP solver (even if it is actually a linear program). These are set iff 'status' is OPTIMAL or FEASIBLE. | |
| pbc::RepeatedField< global::OperationsResearch.MPSolution > | AdditionalSolutions [get] |
| [Advanced usage.] If MPModelRequest.populate_additional_solutions_up_to > 0, up to that number of additional solutions may be populated here, if available. These additional solutions are different than the main solution described by the above fields objective_value and variable_value. | |
|
inline |
Definition at line 7628 of file LinearSolver.pb.cs.
|
inline |
Definition at line 7636 of file LinearSolver.pb.cs.
|
inline |
Definition at line 8038 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "best_objective_bound" field.
Definition at line 7781 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "objective_value" field.
Definition at line 7747 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "solver_specific_info" field.
Definition at line 7844 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "status" field.
Definition at line 7683 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "status_str" field.
Definition at line 7715 of file LinearSolver.pb.cs.
|
inline |
Definition at line 7653 of file LinearSolver.pb.cs.
|
inline |
Definition at line 7912 of file LinearSolver.pb.cs.
|
inline |
Definition at line 7906 of file LinearSolver.pb.cs.
|
inline |
Definition at line 7934 of file LinearSolver.pb.cs.
|
inline |
Definition at line 8070 of file LinearSolver.pb.cs.
|
inline |
Definition at line 8104 of file LinearSolver.pb.cs.
|
inline |
Definition at line 7954 of file LinearSolver.pb.cs.
|
inline |
Definition at line 7960 of file LinearSolver.pb.cs.
|
static |
Field number for the "additional_solutions" field.
Definition at line 7887 of file LinearSolver.pb.cs.
|
static |
Field number for the "best_objective_bound" field.
Definition at line 7752 of file LinearSolver.pb.cs.
|
static |
Field number for the "dual_value" field.
Definition at line 7849 of file LinearSolver.pb.cs.
|
static |
Field number for the "objective_value" field.
Definition at line 7720 of file LinearSolver.pb.cs.
|
static |
Field number for the "reduced_cost" field.
Definition at line 7868 of file LinearSolver.pb.cs.
|
static |
Field number for the "solve_info" field.
Definition at line 7802 of file LinearSolver.pb.cs.
|
static |
Field number for the "solver_specific_info" field.
Definition at line 7819 of file LinearSolver.pb.cs.
|
static |
Field number for the "status" field.
Definition at line 7658 of file LinearSolver.pb.cs.
|
static |
Field number for the "status_str" field.
Definition at line 7688 of file LinearSolver.pb.cs.
|
static |
Field number for the "variable_value" field.
Definition at line 7786 of file LinearSolver.pb.cs.
|
get |
[Advanced usage.] If MPModelRequest.populate_additional_solutions_up_to > 0, up to that number of additional solutions may be populated here, if available. These additional solutions are different than the main solution described by the above fields objective_value and variable_value.
Definition at line 7900 of file LinearSolver.pb.cs.
|
getset |
This field is only filled for MIP problems. For a minimization problem, this is a lower bound on the optimal objective value. For a maximization problem, it is an upper bound. It is only filled if the status is OPTIMAL or FEASIBLE. In the former case, best_objective_bound should be equal to objective_value (modulo numerical errors).
Definition at line 7765 of file LinearSolver.pb.cs.
|
staticget |
Definition at line 7616 of file LinearSolver.pb.cs.
|
get |
[Advanced usage.] Values of the dual variables values in the same order as the MPModelProto::constraint field. This is a dense representation. These are not set if the problem was solved with a MIP solver (even if it is actually a linear program). These are set iff 'status' is OPTIMAL or FEASIBLE.
Definition at line 7863 of file LinearSolver.pb.cs.
|
get |
Gets whether the "best_objective_bound" field is set.
Definition at line 7775 of file LinearSolver.pb.cs.
|
get |
Gets whether the "objective_value" field is set.
Definition at line 7741 of file LinearSolver.pb.cs.
|
get |
Gets whether the "solver_specific_info" field is set.
Definition at line 7838 of file LinearSolver.pb.cs.
|
get |
Gets whether the "status" field is set.
Definition at line 7677 of file LinearSolver.pb.cs.
|
get |
Gets whether the "status_str" field is set.
Definition at line 7709 of file LinearSolver.pb.cs.
|
getset |
Objective value corresponding to the "variable_value" below, taking into account the source "objective_offset" and "objective_coefficient". This is set iff 'status' is OPTIMAL or FEASIBLE.
Definition at line 7731 of file LinearSolver.pb.cs.
|
staticget |
Definition at line 7612 of file LinearSolver.pb.cs.
|
get |
[Advanced usage.] Values of the reduced cost of the variables in the same order as the MPModelProto::variable. This is a dense representation. These are not set if the problem was solved with a MIP solver (even if it is actually a linear program). These are set iff 'status' is OPTIMAL or FEASIBLE.
Definition at line 7882 of file LinearSolver.pb.cs.
|
getset |
Contains extra information about the solve, populated if the underlying solver (and its interface) supports it. As of 2021/07/19 this is supported by SCIP and Gurobi proto solves.
Definition at line 7811 of file LinearSolver.pb.cs.
|
getset |
Opaque solver-specific information. For the PDLP solver, this is a serialized pdlp::SolveLog proto.
Definition at line 7829 of file LinearSolver.pb.cs.
|
getset |
Result of the optimization.
Definition at line 7667 of file LinearSolver.pb.cs.
|
getset |
Human-readable string giving more details about the status. For example, when the status is MPSOLVER_INVALID_MODE, this can hold a description of why the model is invalid. This isn't always filled: don't depend on its value or even its presence.
Definition at line 7700 of file LinearSolver.pb.cs.
|
get |
Variable values in the same order as the MPModelProto::variable field. This is a dense representation. These are set iff 'status' is OPTIMAL or FEASIBLE.
Definition at line 7797 of file LinearSolver.pb.cs.