Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research.pdlp.SolveLogOuterClass.IterationStatsOrBuilder Interface Reference
Inheritance diagram for operations_research.pdlp.SolveLogOuterClass.IterationStatsOrBuilder:
operations_research.pdlp.SolveLogOuterClass.IterationStats operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder

Public Member Functions

boolean hasIterationNumber ()
 
int getIterationNumber ()
 
java.util.List< operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationgetConvergenceInformationList ()
 
operations_research.pdlp.SolveLogOuterClass.ConvergenceInformation getConvergenceInformation (int index)
 
int getConvergenceInformationCount ()
 
java.util.List<? extends operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuildergetConvergenceInformationOrBuilderList ()
 
operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder getConvergenceInformationOrBuilder (int index)
 
java.util.List< operations_research.pdlp.SolveLogOuterClass.InfeasibilityInformationgetInfeasibilityInformationList ()
 
operations_research.pdlp.SolveLogOuterClass.InfeasibilityInformation getInfeasibilityInformation (int index)
 
int getInfeasibilityInformationCount ()
 
java.util.List<? extends operations_research.pdlp.SolveLogOuterClass.InfeasibilityInformationOrBuildergetInfeasibilityInformationOrBuilderList ()
 
operations_research.pdlp.SolveLogOuterClass.InfeasibilityInformationOrBuilder getInfeasibilityInformationOrBuilder (int index)
 
java.util.List< operations_research.pdlp.SolveLogOuterClass.PointMetadatagetPointMetadataList ()
 
operations_research.pdlp.SolveLogOuterClass.PointMetadata getPointMetadata (int index)
 
int getPointMetadataCount ()
 
java.util.List<? extends operations_research.pdlp.SolveLogOuterClass.PointMetadataOrBuildergetPointMetadataOrBuilderList ()
 
operations_research.pdlp.SolveLogOuterClass.PointMetadataOrBuilder getPointMetadataOrBuilder (int index)
 
boolean hasCumulativeKktMatrixPasses ()
 
double getCumulativeKktMatrixPasses ()
 
boolean hasCumulativeRejectedSteps ()
 
int getCumulativeRejectedSteps ()
 
boolean hasCumulativeTimeSec ()
 
double getCumulativeTimeSec ()
 
boolean hasRestartUsed ()
 
operations_research.pdlp.SolveLogOuterClass.RestartChoice getRestartUsed ()
 
boolean hasStepSize ()
 
double getStepSize ()
 
boolean hasPrimalWeight ()
 
double getPrimalWeight ()
 

Detailed Description

Definition at line 10165 of file SolveLogOuterClass.java.

Member Function Documentation

◆ getConvergenceInformation()

operations_research.pdlp.SolveLogOuterClass.ConvergenceInformation operations_research.pdlp.SolveLogOuterClass.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 operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getConvergenceInformationCount()

int operations_research.pdlp.SolveLogOuterClass.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 operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getConvergenceInformationList()

java.util.List< operations_research.pdlp.SolveLogOuterClass.ConvergenceInformation > operations_research.pdlp.SolveLogOuterClass.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 operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getConvergenceInformationOrBuilder()

operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder operations_research.pdlp.SolveLogOuterClass.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 operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getConvergenceInformationOrBuilderList()

java.util.List<? extends operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder > operations_research.pdlp.SolveLogOuterClass.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 operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getCumulativeKktMatrixPasses()

double operations_research.pdlp.SolveLogOuterClass.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;

Returns
The cumulativeKktMatrixPasses.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getCumulativeRejectedSteps()

int operations_research.pdlp.SolveLogOuterClass.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;

Returns
The cumulativeRejectedSteps.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getCumulativeTimeSec()

double operations_research.pdlp.SolveLogOuterClass.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;

Returns
The cumulativeTimeSec.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getInfeasibilityInformation()

operations_research.pdlp.SolveLogOuterClass.InfeasibilityInformation operations_research.pdlp.SolveLogOuterClass.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 operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getInfeasibilityInformationCount()

int operations_research.pdlp.SolveLogOuterClass.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 operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getInfeasibilityInformationList()

java.util.List< operations_research.pdlp.SolveLogOuterClass.InfeasibilityInformation > operations_research.pdlp.SolveLogOuterClass.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 operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getInfeasibilityInformationOrBuilder()

operations_research.pdlp.SolveLogOuterClass.InfeasibilityInformationOrBuilder operations_research.pdlp.SolveLogOuterClass.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 operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getInfeasibilityInformationOrBuilderList()

java.util.List<? extends operations_research.pdlp.SolveLogOuterClass.InfeasibilityInformationOrBuilder > operations_research.pdlp.SolveLogOuterClass.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 operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getIterationNumber()

int operations_research.pdlp.SolveLogOuterClass.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;

Returns
The iterationNumber.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getPointMetadata()

operations_research.pdlp.SolveLogOuterClass.PointMetadata operations_research.pdlp.SolveLogOuterClass.IterationStatsOrBuilder.getPointMetadata ( int index)
Auxiliary statistics for each type of point.

repeated .operations_research.pdlp.PointMetadata point_metadata = 11;

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getPointMetadataCount()

int operations_research.pdlp.SolveLogOuterClass.IterationStatsOrBuilder.getPointMetadataCount ( )
Auxiliary statistics for each type of point.

repeated .operations_research.pdlp.PointMetadata point_metadata = 11;

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getPointMetadataList()

java.util.List< operations_research.pdlp.SolveLogOuterClass.PointMetadata > operations_research.pdlp.SolveLogOuterClass.IterationStatsOrBuilder.getPointMetadataList ( )
Auxiliary statistics for each type of point.

repeated .operations_research.pdlp.PointMetadata point_metadata = 11;

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getPointMetadataOrBuilder()

operations_research.pdlp.SolveLogOuterClass.PointMetadataOrBuilder operations_research.pdlp.SolveLogOuterClass.IterationStatsOrBuilder.getPointMetadataOrBuilder ( int index)
Auxiliary statistics for each type of point.

repeated .operations_research.pdlp.PointMetadata point_metadata = 11;

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getPointMetadataOrBuilderList()

java.util.List<? extends operations_research.pdlp.SolveLogOuterClass.PointMetadataOrBuilder > operations_research.pdlp.SolveLogOuterClass.IterationStatsOrBuilder.getPointMetadataOrBuilderList ( )
Auxiliary statistics for each type of point.

repeated .operations_research.pdlp.PointMetadata point_metadata = 11;

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getPrimalWeight()

double operations_research.pdlp.SolveLogOuterClass.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;

Returns
The primalWeight.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getRestartUsed()

operations_research.pdlp.SolveLogOuterClass.RestartChoice operations_research.pdlp.SolveLogOuterClass.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;

Returns
The restartUsed.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ getStepSize()

double operations_research.pdlp.SolveLogOuterClass.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;

Returns
The stepSize.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ hasCumulativeKktMatrixPasses()

boolean operations_research.pdlp.SolveLogOuterClass.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;

Returns
Whether the cumulativeKktMatrixPasses field is set.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ hasCumulativeRejectedSteps()

boolean operations_research.pdlp.SolveLogOuterClass.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;

Returns
Whether the cumulativeRejectedSteps field is set.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ hasCumulativeTimeSec()

boolean operations_research.pdlp.SolveLogOuterClass.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;

Returns
Whether the cumulativeTimeSec field is set.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ hasIterationNumber()

boolean operations_research.pdlp.SolveLogOuterClass.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;

Returns
Whether the iterationNumber field is set.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ hasPrimalWeight()

boolean operations_research.pdlp.SolveLogOuterClass.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;

Returns
Whether the primalWeight field is set.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ hasRestartUsed()

boolean operations_research.pdlp.SolveLogOuterClass.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;

Returns
Whether the restartUsed field is set.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.

◆ hasStepSize()

boolean operations_research.pdlp.SolveLogOuterClass.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;

Returns
Whether the stepSize field is set.

Implemented in operations_research.pdlp.SolveLogOuterClass.IterationStats, and operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder.


The documentation for this interface was generated from the following file: