![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
SolveLog () | |
SolveLog (SolveLog other) | |
SolveLog | Clone () |
void | ClearInstanceName () |
Clears the value of the "instance_name" field. | |
void | ClearTerminationReason () |
Clears the value of the "termination_reason" field. | |
void | ClearTerminationString () |
Clears the value of the "termination_string" field. | |
void | ClearIterationCount () |
Clears the value of the "iteration_count" field. | |
void | ClearPreprocessingTimeSec () |
Clears the value of the "preprocessing_time_sec" field. | |
void | ClearSolveTimeSec () |
Clears the value of the "solve_time_sec" field. | |
void | ClearSolutionType () |
Clears the value of the "solution_type" field. | |
override bool | Equals (object other) |
bool | Equals (SolveLog other) |
override int | GetHashCode () |
override string | ToString () |
void | WriteTo (pb::CodedOutputStream output) |
int | CalculateSize () |
void | MergeFrom (SolveLog other) |
void | MergeFrom (pb::CodedInputStream input) |
Static Public Attributes | |
const int | InstanceNameFieldNumber = 1 |
Field number for the "instance_name" field. | |
const int | ParamsFieldNumber = 14 |
Field number for the "params" field. | |
const int | TerminationReasonFieldNumber = 3 |
Field number for the "termination_reason" field. | |
const int | TerminationStringFieldNumber = 4 |
Field number for the "termination_string" field. | |
const int | IterationCountFieldNumber = 5 |
Field number for the "iteration_count" field. | |
const int | PreprocessingTimeSecFieldNumber = 13 |
Field number for the "preprocessing_time_sec" field. | |
const int | SolveTimeSecFieldNumber = 6 |
Field number for the "solve_time_sec" field. | |
const int | SolutionStatsFieldNumber = 8 |
Field number for the "solution_stats" field. | |
const int | SolutionTypeFieldNumber = 10 |
Field number for the "solution_type" field. | |
const int | IterationStatsFieldNumber = 7 |
Field number for the "iteration_stats" field. | |
const int | OriginalProblemStatsFieldNumber = 11 |
Field number for the "original_problem_stats" field. | |
const int | PreprocessedProblemStatsFieldNumber = 12 |
Field number for the "preprocessed_problem_stats" field. | |
const int | FeasibilityPolishingDetailsFieldNumber = 15 |
Field number for the "feasibility_polishing_details" field. | |
Properties | |
static pb::MessageParser< SolveLog > | Parser [get] |
static pbr::MessageDescriptor | Descriptor [get] |
string | InstanceName [get, set] |
The name of the optimization problem. | |
bool | HasInstanceName [get] |
Gets whether the "instance_name" field is set. | |
global::Google.OrTools.PDLP.PrimalDualHybridGradientParams | Params [get, set] |
If solved with PDLP, the parameters for this solve. | |
global::Google.OrTools.PDLP.TerminationReason | TerminationReason [get, set] |
The reason that the solve terminated. | |
bool | HasTerminationReason [get] |
Gets whether the "termination_reason" field is set. | |
string | TerminationString [get, set] |
Optional extra information about the termination reason. | |
bool | HasTerminationString [get] |
Gets whether the "termination_string" field is set. | |
int | IterationCount [get, set] |
The total number of iterations during the solve. For a solve with use_feasibility_polishing this count includes the iterations from the feasibility polishing phases. | |
bool | HasIterationCount [get] |
Gets whether the "iteration_count" field is set. | |
double | PreprocessingTimeSec [get, set] |
Time for preprocessing (everything before iteration 0). This is also included in solve_time_sec . | |
bool | HasPreprocessingTimeSec [get] |
Gets whether the "preprocessing_time_sec" field is set. | |
double | SolveTimeSec [get, set] |
The runtime of the solve. Note: This should not be used for comparing methods unless care is taken to control for noise in runtime measurement. For a solve with use_feasibility_polishing this count includes the iterations from the feasibility polishing phases. | |
bool | HasSolveTimeSec [get] |
Gets whether the "solve_time_sec" field is set. | |
global::Google.OrTools.PDLP.IterationStats | SolutionStats [get, set] |
The IterationStats for the final iteration of the solver. For a solve with use_feasibility_polishing , the work metrics (iteration_count, cumulative_kkt_matrix_passes, etc.) will include the work done in the feasibility polishing phases. | |
global::Google.OrTools.PDLP.PointType | SolutionType [get, set] |
The type of the output point that the solver returned. The quality of the point is reported in the corresponding entry of solution_stats.convergence_information and/or solution_stats.infeasibility_information. If termination_reason is TERMINATION_REASON_OPTIMAL, it's guaranteed that the corresponding entry of solution_stats.convergence_information satisfies the optimality conditions. Similarly, if termination_reason is either TERMINATION_REASON_PRIMAL_INFEASIBLE or TERMINATION_REASON_DUAL_INFEASIBLE the corresponding entry of solution_stats.infeasibility_information satisifes conditions for declaring primal or dual infeasibility, respectively. If termination_reason is anything else, e.g. TERMINATION_REASON_TIME_LIMIT or TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE, the solution may not satisfy the optimality or infeasibility conditions. | |
bool | HasSolutionType [get] |
Gets whether the "solution_type" field is set. | |
pbc::RepeatedField< global::Google.OrTools.PDLP.IterationStats > | IterationStats [get] |
A history of iteration stats for the solve. The iteration_number fields should be in increasing order. The frequency at which these stats should be recorded is not specified. This field is "more" optional than the others because it often significantly increases the size of the message, and because the information may not be available for third-party solvers. For a solve with use_feasibility_polishing , these iteration stats will only reflect the work done in the main iterations (not the feasibility polishing phases). | |
global::Google.OrTools.PDLP.QuadraticProgramStats | OriginalProblemStats [get, set] |
Statistics of the original problem. | |
global::Google.OrTools.PDLP.QuadraticProgramStats | PreprocessedProblemStats [get, set] |
Statistics of the problem after preprocessing. | |
pbc::RepeatedField< global::Google.OrTools.PDLP.FeasibilityPolishingDetails > | FeasibilityPolishingDetails [get] |
If solving with use_feasibility_polishing , details about the primal and dual feasibility polishing phases. | |
Definition at line 5336 of file SolveLog.pb.cs.
|
inline |
Definition at line 5362 of file SolveLog.pb.cs.
|
inline |
Definition at line 5370 of file SolveLog.pb.cs.
|
inline |
Definition at line 5899 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "instance_name" field.
Definition at line 5419 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "iteration_count" field.
Definition at line 5525 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "preprocessing_time_sec" field.
Definition at line 5556 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "solution_type" field.
Definition at line 5653 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "solve_time_sec" field.
Definition at line 5589 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "termination_reason" field.
Definition at line 5464 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "termination_string" field.
Definition at line 5493 of file SolveLog.pb.cs.
|
inline |
Definition at line 5390 of file SolveLog.pb.cs.
|
inline |
Definition at line 5725 of file SolveLog.pb.cs.
|
inline |
Definition at line 5731 of file SolveLog.pb.cs.
|
inline |
Definition at line 5756 of file SolveLog.pb.cs.
|
inline |
Definition at line 6000 of file SolveLog.pb.cs.
|
inline |
Definition at line 5944 of file SolveLog.pb.cs.
|
inline |
Definition at line 5779 of file SolveLog.pb.cs.
|
inline |
Definition at line 5785 of file SolveLog.pb.cs.
|
static |
Field number for the "feasibility_polishing_details" field.
Definition at line 5709 of file SolveLog.pb.cs.
|
static |
Field number for the "instance_name" field.
Definition at line 5395 of file SolveLog.pb.cs.
|
static |
Field number for the "iteration_count" field.
Definition at line 5498 of file SolveLog.pb.cs.
|
static |
Field number for the "iteration_stats" field.
Definition at line 5658 of file SolveLog.pb.cs.
|
static |
Field number for the "original_problem_stats" field.
Definition at line 5679 of file SolveLog.pb.cs.
|
static |
Field number for the "params" field.
Definition at line 5424 of file SolveLog.pb.cs.
|
static |
Field number for the "preprocessed_problem_stats" field.
Definition at line 5694 of file SolveLog.pb.cs.
|
static |
Field number for the "preprocessing_time_sec" field.
Definition at line 5530 of file SolveLog.pb.cs.
|
static |
Field number for the "solution_stats" field.
Definition at line 5594 of file SolveLog.pb.cs.
|
static |
Field number for the "solution_type" field.
Definition at line 5615 of file SolveLog.pb.cs.
|
static |
Field number for the "solve_time_sec" field.
Definition at line 5561 of file SolveLog.pb.cs.
|
static |
Field number for the "termination_reason" field.
Definition at line 5439 of file SolveLog.pb.cs.
|
static |
Field number for the "termination_string" field.
Definition at line 5469 of file SolveLog.pb.cs.
|
staticget |
Definition at line 5350 of file SolveLog.pb.cs.
|
get |
If solving with use_feasibility_polishing
, details about the primal and dual feasibility polishing phases.
Definition at line 5719 of file SolveLog.pb.cs.
|
get |
Gets whether the "instance_name" field is set.
Definition at line 5413 of file SolveLog.pb.cs.
|
get |
Gets whether the "iteration_count" field is set.
Definition at line 5519 of file SolveLog.pb.cs.
|
get |
Gets whether the "preprocessing_time_sec" field is set.
Definition at line 5550 of file SolveLog.pb.cs.
|
get |
Gets whether the "solution_type" field is set.
Definition at line 5647 of file SolveLog.pb.cs.
|
get |
Gets whether the "solve_time_sec" field is set.
Definition at line 5583 of file SolveLog.pb.cs.
|
get |
Gets whether the "termination_reason" field is set.
Definition at line 5458 of file SolveLog.pb.cs.
|
get |
Gets whether the "termination_string" field is set.
Definition at line 5487 of file SolveLog.pb.cs.
|
getset |
The name of the optimization problem.
Definition at line 5404 of file SolveLog.pb.cs.
|
getset |
The total number of iterations during the solve. For a solve with use_feasibility_polishing
this count includes the iterations from the feasibility polishing phases.
Definition at line 5509 of file SolveLog.pb.cs.
|
get |
A history of iteration stats for the solve. The iteration_number fields should be in increasing order. The frequency at which these stats should be recorded is not specified. This field is "more" optional than the others because it often significantly increases the size of the message, and because the information may not be available for third-party solvers. For a solve with use_feasibility_polishing
, these iteration stats will only reflect the work done in the main iterations (not the feasibility polishing phases).
Definition at line 5674 of file SolveLog.pb.cs.
|
getset |
Statistics of the original problem.
Definition at line 5686 of file SolveLog.pb.cs.
|
getset |
If solved with PDLP, the parameters for this solve.
Definition at line 5431 of file SolveLog.pb.cs.
|
staticget |
Definition at line 5346 of file SolveLog.pb.cs.
|
getset |
Statistics of the problem after preprocessing.
Definition at line 5701 of file SolveLog.pb.cs.
|
getset |
Time for preprocessing (everything before iteration 0). This is also included in solve_time_sec
.
Definition at line 5540 of file SolveLog.pb.cs.
|
getset |
The IterationStats
for the final iteration of the solver. For a solve with use_feasibility_polishing
, the work metrics (iteration_count, cumulative_kkt_matrix_passes, etc.) will include the work done in the feasibility polishing phases.
Definition at line 5607 of file SolveLog.pb.cs.
|
getset |
The type of the output point that the solver returned. The quality of the point is reported in the corresponding entry of solution_stats.convergence_information and/or solution_stats.infeasibility_information. If termination_reason is TERMINATION_REASON_OPTIMAL, it's guaranteed that the corresponding entry of solution_stats.convergence_information satisfies the optimality conditions. Similarly, if termination_reason is either TERMINATION_REASON_PRIMAL_INFEASIBLE or TERMINATION_REASON_DUAL_INFEASIBLE the corresponding entry of solution_stats.infeasibility_information satisifes conditions for declaring primal or dual infeasibility, respectively. If termination_reason is anything else, e.g. TERMINATION_REASON_TIME_LIMIT or TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE, the solution may not satisfy the optimality or infeasibility conditions.
Definition at line 5637 of file SolveLog.pb.cs.
|
getset |
The runtime of the solve. Note: This should not be used for comparing methods unless care is taken to control for noise in runtime measurement. For a solve with use_feasibility_polishing
this count includes the iterations from the feasibility polishing phases.
Definition at line 5573 of file SolveLog.pb.cs.
|
getset |
The reason that the solve terminated.
Definition at line 5448 of file SolveLog.pb.cs.
|
getset |
Optional extra information about the termination reason.
Definition at line 5478 of file SolveLog.pb.cs.