![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
All values in IterationStats assume that the primal quadratic program is a minimization problem and the dual is a maximization problem. Problems should be transformed to this form if they are not already in this form. The dual vector is defined to be the vector of multipliers on the linear constraints, that is, excluding dual multipliers on variable bounds (reduced costs).
Protobuf type operations_research.pdlp.IterationStats
Definition at line 799 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addAllConvergenceInformation | ( | java.lang.Iterable<? extends com.google.ortools.pdlp.ConvergenceInformation > | values | ) |
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;
Definition at line 1454 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addAllInfeasibilityInformation | ( | java.lang.Iterable<? extends com.google.ortools.pdlp.InfeasibilityInformation > | values | ) |
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;
Definition at line 1802 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addAllPointMetadata | ( | java.lang.Iterable<? extends com.google.ortools.pdlp.PointMetadata > | values | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2130 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addConvergenceInformation | ( | com.google.ortools.pdlp.ConvergenceInformation | value | ) |
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;
Definition at line 1369 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addConvergenceInformation | ( | com.google.ortools.pdlp.ConvergenceInformation.Builder | builderForValue | ) |
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;
Definition at line 1414 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addConvergenceInformation | ( | int | index, |
com.google.ortools.pdlp.ConvergenceInformation | value ) |
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;
Definition at line 1391 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addConvergenceInformation | ( | int | index, |
com.google.ortools.pdlp.ConvergenceInformation.Builder | builderForValue ) |
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;
Definition at line 1434 of file IterationStats.java.
com.google.ortools.pdlp.ConvergenceInformation.Builder com.google.ortools.pdlp.IterationStats.Builder.addConvergenceInformationBuilder | ( | ) |
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;
Definition at line 1559 of file IterationStats.java.
com.google.ortools.pdlp.ConvergenceInformation.Builder com.google.ortools.pdlp.IterationStats.Builder.addConvergenceInformationBuilder | ( | 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;
Definition at line 1572 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addInfeasibilityInformation | ( | com.google.ortools.pdlp.InfeasibilityInformation | value | ) |
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;
Definition at line 1717 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addInfeasibilityInformation | ( | com.google.ortools.pdlp.InfeasibilityInformation.Builder | builderForValue | ) |
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;
Definition at line 1762 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addInfeasibilityInformation | ( | int | index, |
com.google.ortools.pdlp.InfeasibilityInformation | value ) |
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;
Definition at line 1739 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addInfeasibilityInformation | ( | int | index, |
com.google.ortools.pdlp.InfeasibilityInformation.Builder | builderForValue ) |
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;
Definition at line 1782 of file IterationStats.java.
com.google.ortools.pdlp.InfeasibilityInformation.Builder com.google.ortools.pdlp.IterationStats.Builder.addInfeasibilityInformationBuilder | ( | ) |
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;
Definition at line 1907 of file IterationStats.java.
com.google.ortools.pdlp.InfeasibilityInformation.Builder com.google.ortools.pdlp.IterationStats.Builder.addInfeasibilityInformationBuilder | ( | 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;
Definition at line 1920 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addPointMetadata | ( | com.google.ortools.pdlp.PointMetadata | value | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2053 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addPointMetadata | ( | com.google.ortools.pdlp.PointMetadata.Builder | builderForValue | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2094 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addPointMetadata | ( | int | index, |
com.google.ortools.pdlp.PointMetadata | value ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2073 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.addPointMetadata | ( | int | index, |
com.google.ortools.pdlp.PointMetadata.Builder | builderForValue ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2112 of file IterationStats.java.
com.google.ortools.pdlp.PointMetadata.Builder com.google.ortools.pdlp.IterationStats.Builder.addPointMetadataBuilder | ( | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2223 of file IterationStats.java.
com.google.ortools.pdlp.PointMetadata.Builder com.google.ortools.pdlp.IterationStats.Builder.addPointMetadataBuilder | ( | int | index | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2234 of file IterationStats.java.
com.google.ortools.pdlp.IterationStats com.google.ortools.pdlp.IterationStats.Builder.build | ( | ) |
Definition at line 873 of file IterationStats.java.
com.google.ortools.pdlp.IterationStats com.google.ortools.pdlp.IterationStats.Builder.buildPartial | ( | ) |
Definition at line 882 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clear | ( | ) |
Definition at line 827 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clearConvergenceInformation | ( | ) |
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;
Definition at line 1475 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clearCumulativeKktMatrixPasses | ( | ) |
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;
Definition at line 2346 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clearCumulativeRejectedSteps | ( | ) |
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;
Definition at line 2406 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clearCumulativeTimeSec | ( | ) |
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;
Definition at line 2466 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clearInfeasibilityInformation | ( | ) |
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;
Definition at line 1823 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clearIterationNumber | ( | ) |
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;
Definition at line 1250 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clearPointMetadata | ( | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2149 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clearPrimalWeight | ( | ) |
Primal weight controlling the relation between primal and dual step sizes. See field 'step_size' for a detailed description.
optional double primal_weight = 9;
Definition at line 2650 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clearRestartUsed | ( | ) |
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;
Definition at line 2526 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clearStepSize | ( | ) |
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;
Definition at line 2590 of file IterationStats.java.
com.google.ortools.pdlp.ConvergenceInformation com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1310 of file IterationStats.java.
com.google.ortools.pdlp.ConvergenceInformation.Builder com.google.ortools.pdlp.IterationStats.Builder.getConvergenceInformationBuilder | ( | 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;
Definition at line 1513 of file IterationStats.java.
java.util.List< com.google.ortools.pdlp.ConvergenceInformation.Builder > com.google.ortools.pdlp.IterationStats.Builder.getConvergenceInformationBuilderList | ( | ) |
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;
Definition at line 1587 of file IterationStats.java.
int com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1294 of file IterationStats.java.
java.util.List< com.google.ortools.pdlp.ConvergenceInformation > com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1278 of file IterationStats.java.
com.google.ortools.pdlp.ConvergenceInformationOrBuilder com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1526 of file IterationStats.java.
java.util.List<? extends com.google.ortools.pdlp.ConvergenceInformationOrBuilder > com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1543 of file IterationStats.java.
double com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2303 of file IterationStats.java.
int com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2377 of file IterationStats.java.
double com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2437 of file IterationStats.java.
com.google.ortools.pdlp.IterationStats com.google.ortools.pdlp.IterationStats.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 868 of file IterationStats.java.
|
static |
Definition at line 804 of file IterationStats.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.pdlp.IterationStats.Builder.getDescriptorForType | ( | ) |
Definition at line 863 of file IterationStats.java.
com.google.ortools.pdlp.InfeasibilityInformation com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1658 of file IterationStats.java.
com.google.ortools.pdlp.InfeasibilityInformation.Builder com.google.ortools.pdlp.IterationStats.Builder.getInfeasibilityInformationBuilder | ( | 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;
Definition at line 1861 of file IterationStats.java.
java.util.List< com.google.ortools.pdlp.InfeasibilityInformation.Builder > com.google.ortools.pdlp.IterationStats.Builder.getInfeasibilityInformationBuilderList | ( | ) |
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;
Definition at line 1935 of file IterationStats.java.
int com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1642 of file IterationStats.java.
java.util.List< com.google.ortools.pdlp.InfeasibilityInformation > com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1626 of file IterationStats.java.
com.google.ortools.pdlp.InfeasibilityInformationOrBuilder com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1874 of file IterationStats.java.
java.util.List<? extends com.google.ortools.pdlp.InfeasibilityInformationOrBuilder > com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1891 of file IterationStats.java.
int com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1217 of file IterationStats.java.
com.google.ortools.pdlp.PointMetadata com.google.ortools.pdlp.IterationStats.Builder.getPointMetadata | ( | int | index | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2000 of file IterationStats.java.
com.google.ortools.pdlp.PointMetadata.Builder com.google.ortools.pdlp.IterationStats.Builder.getPointMetadataBuilder | ( | int | index | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2183 of file IterationStats.java.
java.util.List< com.google.ortools.pdlp.PointMetadata.Builder > com.google.ortools.pdlp.IterationStats.Builder.getPointMetadataBuilderList | ( | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2247 of file IterationStats.java.
int com.google.ortools.pdlp.IterationStats.Builder.getPointMetadataCount | ( | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1986 of file IterationStats.java.
java.util.List< com.google.ortools.pdlp.PointMetadata > com.google.ortools.pdlp.IterationStats.Builder.getPointMetadataList | ( | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1972 of file IterationStats.java.
com.google.ortools.pdlp.PointMetadataOrBuilder com.google.ortools.pdlp.IterationStats.Builder.getPointMetadataOrBuilder | ( | int | index | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2194 of file IterationStats.java.
java.util.List<? extends com.google.ortools.pdlp.PointMetadataOrBuilder > com.google.ortools.pdlp.IterationStats.Builder.getPointMetadataOrBuilderList | ( | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2209 of file IterationStats.java.
double com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2621 of file IterationStats.java.
com.google.ortools.pdlp.RestartChoice com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2496 of file IterationStats.java.
double com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2559 of file IterationStats.java.
boolean com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2283 of file IterationStats.java.
boolean com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2364 of file IterationStats.java.
boolean com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2424 of file IterationStats.java.
boolean com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 1202 of file IterationStats.java.
boolean com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2608 of file IterationStats.java.
boolean com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2483 of file IterationStats.java.
boolean com.google.ortools.pdlp.IterationStats.Builder.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;
Implements com.google.ortools.pdlp.IterationStatsOrBuilder.
Definition at line 2545 of file IterationStats.java.
|
protected |
Definition at line 810 of file IterationStats.java.
final boolean com.google.ortools.pdlp.IterationStats.Builder.isInitialized | ( | ) |
Definition at line 1071 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.mergeFrom | ( | com.google.ortools.pdlp.IterationStats | other | ) |
Definition at line 964 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 1076 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 955 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.removeConvergenceInformation | ( | 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;
Definition at line 1494 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.removeInfeasibilityInformation | ( | 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;
Definition at line 1842 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.removePointMetadata | ( | int | index | ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2166 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setConvergenceInformation | ( | int | index, |
com.google.ortools.pdlp.ConvergenceInformation | value ) |
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;
Definition at line 1326 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setConvergenceInformation | ( | int | index, |
com.google.ortools.pdlp.ConvergenceInformation.Builder | builderForValue ) |
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;
Definition at line 1349 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setCumulativeKktMatrixPasses | ( | double | value | ) |
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;
value | The cumulativeKktMatrixPasses to set. |
Definition at line 2323 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setCumulativeRejectedSteps | ( | int | value | ) |
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;
value | The cumulativeRejectedSteps to set. |
Definition at line 2390 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setCumulativeTimeSec | ( | double | value | ) |
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;
value | The cumulativeTimeSec to set. |
Definition at line 2450 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setInfeasibilityInformation | ( | int | index, |
com.google.ortools.pdlp.InfeasibilityInformation | value ) |
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;
Definition at line 1674 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setInfeasibilityInformation | ( | int | index, |
com.google.ortools.pdlp.InfeasibilityInformation.Builder | builderForValue ) |
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;
Definition at line 1697 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setIterationNumber | ( | int | value | ) |
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;
value | The iterationNumber to set. |
Definition at line 1232 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setPointMetadata | ( | int | index, |
com.google.ortools.pdlp.PointMetadata | value ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2014 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setPointMetadata | ( | int | index, |
com.google.ortools.pdlp.PointMetadata.Builder | builderForValue ) |
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
Definition at line 2035 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setPrimalWeight | ( | double | value | ) |
Primal weight controlling the relation between primal and dual step sizes. See field 'step_size' for a detailed description.
optional double primal_weight = 9;
value | The primalWeight to set. |
Definition at line 2634 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setRestartUsed | ( | com.google.ortools.pdlp.RestartChoice | value | ) |
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;
value | The restartUsed to set. |
Definition at line 2510 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.setStepSize | ( | double | value | ) |
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;
value | The stepSize to set. |
Definition at line 2573 of file IterationStats.java.