Google OR-Tools v9.11
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 797 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 1452 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 1800 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 2128 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 1367 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 1412 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 1389 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 1432 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 1557 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 1570 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 1715 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 1760 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 1737 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 1780 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 1905 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 1918 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 2051 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 2092 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 2071 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 2110 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 2221 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 2232 of file IterationStats.java.
com.google.ortools.pdlp.IterationStats com.google.ortools.pdlp.IterationStats.Builder.build | ( | ) |
Definition at line 871 of file IterationStats.java.
com.google.ortools.pdlp.IterationStats com.google.ortools.pdlp.IterationStats.Builder.buildPartial | ( | ) |
Definition at line 880 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.clear | ( | ) |
Definition at line 825 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 1473 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 2344 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 2404 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 2464 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 1821 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 1248 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 2147 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 1308 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 1511 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 1585 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 1292 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 1276 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 1524 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 1541 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 2301 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 2375 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 2435 of file IterationStats.java.
com.google.ortools.pdlp.IterationStats com.google.ortools.pdlp.IterationStats.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 866 of file IterationStats.java.
|
static |
Definition at line 802 of file IterationStats.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.pdlp.IterationStats.Builder.getDescriptorForType | ( | ) |
Definition at line 861 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 1656 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 1859 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 1933 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 1640 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 1624 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 1872 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 1889 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 1215 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 1998 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 2181 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 2245 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 1984 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 1970 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 2192 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 2207 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 2494 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 2281 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 2362 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 2422 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 1200 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 2481 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 808 of file IterationStats.java.
final boolean com.google.ortools.pdlp.IterationStats.Builder.isInitialized | ( | ) |
Definition at line 1069 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.mergeFrom | ( | com.google.ortools.pdlp.IterationStats | other | ) |
Definition at line 962 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 1074 of file IterationStats.java.
Builder com.google.ortools.pdlp.IterationStats.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 953 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 1492 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 1840 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 2164 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 1324 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 1347 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 2321 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 2388 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 2448 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 1672 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 1695 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 1230 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 2012 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 2033 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 2508 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.