Google OR-Tools v9.11
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 5288 of file SolveLog.pb.cs.
|
inline |
Definition at line 5314 of file SolveLog.pb.cs.
|
inline |
Definition at line 5322 of file SolveLog.pb.cs.
|
inline |
Definition at line 5851 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "instance_name" field.
Definition at line 5371 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "iteration_count" field.
Definition at line 5477 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "preprocessing_time_sec" field.
Definition at line 5508 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "solution_type" field.
Definition at line 5605 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "solve_time_sec" field.
Definition at line 5541 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "termination_reason" field.
Definition at line 5416 of file SolveLog.pb.cs.
|
inline |
Clears the value of the "termination_string" field.
Definition at line 5445 of file SolveLog.pb.cs.
|
inline |
Definition at line 5342 of file SolveLog.pb.cs.
|
inline |
Definition at line 5677 of file SolveLog.pb.cs.
|
inline |
Definition at line 5683 of file SolveLog.pb.cs.
|
inline |
Definition at line 5708 of file SolveLog.pb.cs.
|
inline |
Definition at line 5952 of file SolveLog.pb.cs.
|
inline |
Definition at line 5896 of file SolveLog.pb.cs.
|
inline |
Definition at line 5731 of file SolveLog.pb.cs.
|
inline |
Definition at line 5737 of file SolveLog.pb.cs.
|
static |
Field number for the "feasibility_polishing_details" field.
Definition at line 5661 of file SolveLog.pb.cs.
|
static |
Field number for the "instance_name" field.
Definition at line 5347 of file SolveLog.pb.cs.
|
static |
Field number for the "iteration_count" field.
Definition at line 5450 of file SolveLog.pb.cs.
|
static |
Field number for the "iteration_stats" field.
Definition at line 5610 of file SolveLog.pb.cs.
|
static |
Field number for the "original_problem_stats" field.
Definition at line 5631 of file SolveLog.pb.cs.
|
static |
Field number for the "params" field.
Definition at line 5376 of file SolveLog.pb.cs.
|
static |
Field number for the "preprocessed_problem_stats" field.
Definition at line 5646 of file SolveLog.pb.cs.
|
static |
Field number for the "preprocessing_time_sec" field.
Definition at line 5482 of file SolveLog.pb.cs.
|
static |
Field number for the "solution_stats" field.
Definition at line 5546 of file SolveLog.pb.cs.
|
static |
Field number for the "solution_type" field.
Definition at line 5567 of file SolveLog.pb.cs.
|
static |
Field number for the "solve_time_sec" field.
Definition at line 5513 of file SolveLog.pb.cs.
|
static |
Field number for the "termination_reason" field.
Definition at line 5391 of file SolveLog.pb.cs.
|
static |
Field number for the "termination_string" field.
Definition at line 5421 of file SolveLog.pb.cs.
|
staticget |
Definition at line 5302 of file SolveLog.pb.cs.
|
get |
If solving with use_feasibility_polishing
, details about the primal and dual feasibility polishing phases.
Definition at line 5671 of file SolveLog.pb.cs.
|
get |
Gets whether the "instance_name" field is set.
Definition at line 5365 of file SolveLog.pb.cs.
|
get |
Gets whether the "iteration_count" field is set.
Definition at line 5471 of file SolveLog.pb.cs.
|
get |
Gets whether the "preprocessing_time_sec" field is set.
Definition at line 5502 of file SolveLog.pb.cs.
|
get |
Gets whether the "solution_type" field is set.
Definition at line 5599 of file SolveLog.pb.cs.
|
get |
Gets whether the "solve_time_sec" field is set.
Definition at line 5535 of file SolveLog.pb.cs.
|
get |
Gets whether the "termination_reason" field is set.
Definition at line 5410 of file SolveLog.pb.cs.
|
get |
Gets whether the "termination_string" field is set.
Definition at line 5439 of file SolveLog.pb.cs.
|
getset |
The name of the optimization problem.
Definition at line 5356 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 5461 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 5626 of file SolveLog.pb.cs.
|
getset |
Statistics of the original problem.
Definition at line 5638 of file SolveLog.pb.cs.
|
getset |
If solved with PDLP, the parameters for this solve.
Definition at line 5383 of file SolveLog.pb.cs.
|
staticget |
Definition at line 5298 of file SolveLog.pb.cs.
|
getset |
Statistics of the problem after preprocessing.
Definition at line 5653 of file SolveLog.pb.cs.
|
getset |
Time for preprocessing (everything before iteration 0). This is also included in solve_time_sec
.
Definition at line 5492 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 5559 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 5589 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 5525 of file SolveLog.pb.cs.
|
getset |
The reason that the solve terminated.
Definition at line 5400 of file SolveLog.pb.cs.
|
getset |
Optional extra information about the termination reason.
Definition at line 5430 of file SolveLog.pb.cs.