Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Definition at line 7 of file IterationStatsOrBuilder.java.
com.google.ortools.pdlp.ConvergenceInformation com.google.ortools.pdlp.IterationStatsOrBuilder.getConvergenceInformation | ( | int | index | ) |
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
int com.google.ortools.pdlp.IterationStatsOrBuilder.getConvergenceInformationCount | ( | ) |
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
java.util.List< com.google.ortools.pdlp.ConvergenceInformation > com.google.ortools.pdlp.IterationStatsOrBuilder.getConvergenceInformationList | ( | ) |
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
com.google.ortools.pdlp.ConvergenceInformationOrBuilder com.google.ortools.pdlp.IterationStatsOrBuilder.getConvergenceInformationOrBuilder | ( | int | index | ) |
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
java.util.List<? extends com.google.ortools.pdlp.ConvergenceInformationOrBuilder > com.google.ortools.pdlp.IterationStatsOrBuilder.getConvergenceInformationOrBuilderList | ( | ) |
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
double com.google.ortools.pdlp.IterationStatsOrBuilder.getCumulativeKktMatrixPasses | ( | ) |
The cumulative number of passes through the KKT matrix since the start of the solve. One pass is a multply by the constraint matrix, its transpose and the matrix that defines the quadratic part of the objective. For example, each iteration of mirror saddle prox contributes 2.0 to this sum. This is a float because it can include fractional passes through the data. For example, in an active set method we may only use a submatrix with 20% of the nonzeros of the KKT matrix at each iteration in which case 0.2 would be added to the total.
optional double cumulative_kkt_matrix_passes = 4;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
int com.google.ortools.pdlp.IterationStatsOrBuilder.getCumulativeRejectedSteps | ( | ) |
The total number of rejected steps (e.g., within a line search procedure) since the start of the solve.
optional int32 cumulative_rejected_steps = 5;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
double com.google.ortools.pdlp.IterationStatsOrBuilder.getCumulativeTimeSec | ( | ) |
The amount of time passed since we started solving the problem (see solver log `solve_time_sec` which records total time).
optional double cumulative_time_sec = 6;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
com.google.ortools.pdlp.InfeasibilityInformation com.google.ortools.pdlp.IterationStatsOrBuilder.getInfeasibilityInformation | ( | int | index | ) |
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
int com.google.ortools.pdlp.IterationStatsOrBuilder.getInfeasibilityInformationCount | ( | ) |
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
java.util.List< com.google.ortools.pdlp.InfeasibilityInformation > com.google.ortools.pdlp.IterationStatsOrBuilder.getInfeasibilityInformationList | ( | ) |
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
com.google.ortools.pdlp.InfeasibilityInformationOrBuilder com.google.ortools.pdlp.IterationStatsOrBuilder.getInfeasibilityInformationOrBuilder | ( | int | index | ) |
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
java.util.List<? extends com.google.ortools.pdlp.InfeasibilityInformationOrBuilder > com.google.ortools.pdlp.IterationStatsOrBuilder.getInfeasibilityInformationOrBuilderList | ( | ) |
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
int com.google.ortools.pdlp.IterationStatsOrBuilder.getIterationNumber | ( | ) |
The iteration number at which these stats were recorded. By convention, iteration counts start at 1, and the stats correspond to the solution *after* the iteration. Therefore stats from iteration 0 are the stats at the starting point.
optional int32 iteration_number = 1;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
com.google.ortools.pdlp.PointMetadata com.google.ortools.pdlp.IterationStatsOrBuilder.getPointMetadata | ( | int | index | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
int com.google.ortools.pdlp.IterationStatsOrBuilder.getPointMetadataCount | ( | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
java.util.List< com.google.ortools.pdlp.PointMetadata > com.google.ortools.pdlp.IterationStatsOrBuilder.getPointMetadataList | ( | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
com.google.ortools.pdlp.PointMetadataOrBuilder com.google.ortools.pdlp.IterationStatsOrBuilder.getPointMetadataOrBuilder | ( | int | index | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
java.util.List<? extends com.google.ortools.pdlp.PointMetadataOrBuilder > com.google.ortools.pdlp.IterationStatsOrBuilder.getPointMetadataOrBuilderList | ( | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
double com.google.ortools.pdlp.IterationStatsOrBuilder.getPrimalWeight | ( | ) |
Primal weight controlling the relation between primal and dual step sizes. See field 'step_size' for a detailed description.
optional double primal_weight = 9;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
com.google.ortools.pdlp.RestartChoice com.google.ortools.pdlp.IterationStatsOrBuilder.getRestartUsed | ( | ) |
The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.
optional .operations_research.pdlp.RestartChoice restart_used = 7;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
double com.google.ortools.pdlp.IterationStatsOrBuilder.getStepSize | ( | ) |
Step size used at this iteration. Note that the step size used for the primal update is step_size / primal_weight, while the one used for the dual update is step_size * primal_weight.
optional double step_size = 8;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
boolean com.google.ortools.pdlp.IterationStatsOrBuilder.hasCumulativeKktMatrixPasses | ( | ) |
The cumulative number of passes through the KKT matrix since the start of the solve. One pass is a multply by the constraint matrix, its transpose and the matrix that defines the quadratic part of the objective. For example, each iteration of mirror saddle prox contributes 2.0 to this sum. This is a float because it can include fractional passes through the data. For example, in an active set method we may only use a submatrix with 20% of the nonzeros of the KKT matrix at each iteration in which case 0.2 would be added to the total.
optional double cumulative_kkt_matrix_passes = 4;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
boolean com.google.ortools.pdlp.IterationStatsOrBuilder.hasCumulativeRejectedSteps | ( | ) |
The total number of rejected steps (e.g., within a line search procedure) since the start of the solve.
optional int32 cumulative_rejected_steps = 5;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
boolean com.google.ortools.pdlp.IterationStatsOrBuilder.hasCumulativeTimeSec | ( | ) |
The amount of time passed since we started solving the problem (see solver log `solve_time_sec` which records total time).
optional double cumulative_time_sec = 6;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
boolean com.google.ortools.pdlp.IterationStatsOrBuilder.hasIterationNumber | ( | ) |
The iteration number at which these stats were recorded. By convention, iteration counts start at 1, and the stats correspond to the solution *after* the iteration. Therefore stats from iteration 0 are the stats at the starting point.
optional int32 iteration_number = 1;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
boolean com.google.ortools.pdlp.IterationStatsOrBuilder.hasPrimalWeight | ( | ) |
Primal weight controlling the relation between primal and dual step sizes. See field 'step_size' for a detailed description.
optional double primal_weight = 9;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
boolean com.google.ortools.pdlp.IterationStatsOrBuilder.hasRestartUsed | ( | ) |
The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.
optional .operations_research.pdlp.RestartChoice restart_used = 7;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.
boolean com.google.ortools.pdlp.IterationStatsOrBuilder.hasStepSize | ( | ) |
Step size used at this iteration. Note that the step size used for the primal update is step_size / primal_weight, while the one used for the dual update is step_size * primal_weight.
optional double step_size = 8;
Implemented in com.google.ortools.pdlp.IterationStats.Builder, and com.google.ortools.pdlp.IterationStats.