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

Public Member Functions

boolean hasCandidateType ()
 
operations_research.pdlp.SolveLogOuterClass.PointType getCandidateType ()
 
boolean hasPrimalObjective ()
 
double getPrimalObjective ()
 
boolean hasDualObjective ()
 
double getDualObjective ()
 
boolean hasCorrectedDualObjective ()
 
double getCorrectedDualObjective ()
 
boolean hasLInfPrimalResidual ()
 
double getLInfPrimalResidual ()
 
boolean hasL2PrimalResidual ()
 
double getL2PrimalResidual ()
 
boolean hasLInfComponentwisePrimalResidual ()
 
double getLInfComponentwisePrimalResidual ()
 
boolean hasLInfDualResidual ()
 
double getLInfDualResidual ()
 
boolean hasL2DualResidual ()
 
double getL2DualResidual ()
 
boolean hasLInfComponentwiseDualResidual ()
 
double getLInfComponentwiseDualResidual ()
 
boolean hasLInfPrimalVariable ()
 
double getLInfPrimalVariable ()
 
boolean hasL2PrimalVariable ()
 
double getL2PrimalVariable ()
 
boolean hasLInfDualVariable ()
 
double getLInfDualVariable ()
 
boolean hasL2DualVariable ()
 
double getL2DualVariable ()
 

Detailed Description

Definition at line 4738 of file SolveLogOuterClass.java.

Member Function Documentation

◆ getCandidateType()

operations_research.pdlp.SolveLogOuterClass.PointType operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getCandidateType ( )
Type of the candidate point described by this ConvergenceInformation.

optional .operations_research.pdlp.PointType candidate_type = 1;

Returns
The candidateType.

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

◆ getCorrectedDualObjective()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getCorrectedDualObjective ( )
If possible (e.g., when all primal variables have lower and upper bounds),
a correct dual bound. The value is negative infinity if no corrected dual
bound is available.

optional double corrected_dual_objective = 4;

Returns
The correctedDualObjective.

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

◆ getDualObjective()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getDualObjective ( )
The dual objective. The dual need not be feasible. The dual objective
includes the contributions from reduced costs.
NOTE: The definition of dual_objective changed in OR-tools version 9.8.
See
https://developers.google.com/optimization/lp/pdlp_math#reduced_costs_dual_residuals_and_the_corrected_dual_objective
for details.

optional double dual_objective = 3;

Returns
The dualObjective.

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

◆ getL2DualResidual()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getL2DualResidual ( )
The l_2 norm of the violations of dual constraints.

optional double l2_dual_residual = 8;

Returns
The l2DualResidual.

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

◆ getL2DualVariable()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getL2DualVariable ( )
The l_2 norm of the dual variables.

optional double l2_dual_variable = 17;

Returns
The l2DualVariable.

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

◆ getL2PrimalResidual()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getL2PrimalResidual ( )
The l_2 norm of the violations of primal constraints.

optional double l2_primal_residual = 6;

Returns
The l2PrimalResidual.

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

◆ getL2PrimalVariable()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getL2PrimalVariable ( )
The l_2 norm of the primal variables.

optional double l2_primal_variable = 15;

Returns
The l2PrimalVariable.

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

◆ getLInfComponentwiseDualResidual()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getLInfComponentwiseDualResidual ( )
The maximum relative violation of any dual constraint, with an absolute
offset, i.e., the l_∞ norm of [violation / (eps_ratio + |objective|)] where
eps_ratio = eps_optimal_dual_residual_absolute
          / eps_optimal_dual_residual_relative

optional double l_inf_componentwise_dual_residual = 25;

Returns
The lInfComponentwiseDualResidual.

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

◆ getLInfComponentwisePrimalResidual()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getLInfComponentwisePrimalResidual ( )
The maximum relative violation of any primal constraint, with an absolute
offset, i.e., the l_∞ norm of [violation / (eps_ratio + |bound|)] where
eps_ratio = eps_optimal_primal_residual_absolute
          / eps_optimal_primal_residual_relative
and bound is the violated bound.

optional double l_inf_componentwise_primal_residual = 24;

Returns
The lInfComponentwisePrimalResidual.

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

◆ getLInfDualResidual()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getLInfDualResidual ( )
The maximum violation of any dual constraint, i.e., the l_∞ norm of the
violations.

optional double l_inf_dual_residual = 7;

Returns
The lInfDualResidual.

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

◆ getLInfDualVariable()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getLInfDualVariable ( )
The maximum absolute value of the dual variables, i.e., the l_∞ norm. This
is useful to detect when the dual iterates are diverging. Divergence of the
dual variables could be an algorithmic issue, or indicate the primal is
infeasible.

optional double l_inf_dual_variable = 16;

Returns
The lInfDualVariable.

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

◆ getLInfPrimalResidual()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getLInfPrimalResidual ( )
The maximum violation of any primal constraint, i.e., the l_∞ norm of the
violations.

optional double l_inf_primal_residual = 5;

Returns
The lInfPrimalResidual.

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

◆ getLInfPrimalVariable()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getLInfPrimalVariable ( )
The maximum absolute value of the primal variables, i.e., the l_∞ norm.
This is useful to detect when the primal iterates are diverging. Divergence
of the primal variables could be an algorithmic issue, or indicate that the
dual is infeasible.

optional double l_inf_primal_variable = 14;

Returns
The lInfPrimalVariable.

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

◆ getPrimalObjective()

double operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.getPrimalObjective ( )
The primal objective. The primal need not be feasible.

optional double primal_objective = 2;

Returns
The primalObjective.

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

◆ hasCandidateType()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasCandidateType ( )
Type of the candidate point described by this ConvergenceInformation.

optional .operations_research.pdlp.PointType candidate_type = 1;

Returns
Whether the candidateType field is set.

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

◆ hasCorrectedDualObjective()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasCorrectedDualObjective ( )
If possible (e.g., when all primal variables have lower and upper bounds),
a correct dual bound. The value is negative infinity if no corrected dual
bound is available.

optional double corrected_dual_objective = 4;

Returns
Whether the correctedDualObjective field is set.

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

◆ hasDualObjective()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasDualObjective ( )
The dual objective. The dual need not be feasible. The dual objective
includes the contributions from reduced costs.
NOTE: The definition of dual_objective changed in OR-tools version 9.8.
See
https://developers.google.com/optimization/lp/pdlp_math#reduced_costs_dual_residuals_and_the_corrected_dual_objective
for details.

optional double dual_objective = 3;

Returns
Whether the dualObjective field is set.

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

◆ hasL2DualResidual()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasL2DualResidual ( )
The l_2 norm of the violations of dual constraints.

optional double l2_dual_residual = 8;

Returns
Whether the l2DualResidual field is set.

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

◆ hasL2DualVariable()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasL2DualVariable ( )
The l_2 norm of the dual variables.

optional double l2_dual_variable = 17;

Returns
Whether the l2DualVariable field is set.

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

◆ hasL2PrimalResidual()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasL2PrimalResidual ( )
The l_2 norm of the violations of primal constraints.

optional double l2_primal_residual = 6;

Returns
Whether the l2PrimalResidual field is set.

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

◆ hasL2PrimalVariable()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasL2PrimalVariable ( )
The l_2 norm of the primal variables.

optional double l2_primal_variable = 15;

Returns
Whether the l2PrimalVariable field is set.

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

◆ hasLInfComponentwiseDualResidual()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasLInfComponentwiseDualResidual ( )
The maximum relative violation of any dual constraint, with an absolute
offset, i.e., the l_∞ norm of [violation / (eps_ratio + |objective|)] where
eps_ratio = eps_optimal_dual_residual_absolute
          / eps_optimal_dual_residual_relative

optional double l_inf_componentwise_dual_residual = 25;

Returns
Whether the lInfComponentwiseDualResidual field is set.

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

◆ hasLInfComponentwisePrimalResidual()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasLInfComponentwisePrimalResidual ( )
The maximum relative violation of any primal constraint, with an absolute
offset, i.e., the l_∞ norm of [violation / (eps_ratio + |bound|)] where
eps_ratio = eps_optimal_primal_residual_absolute
          / eps_optimal_primal_residual_relative
and bound is the violated bound.

optional double l_inf_componentwise_primal_residual = 24;

Returns
Whether the lInfComponentwisePrimalResidual field is set.

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

◆ hasLInfDualResidual()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasLInfDualResidual ( )
The maximum violation of any dual constraint, i.e., the l_∞ norm of the
violations.

optional double l_inf_dual_residual = 7;

Returns
Whether the lInfDualResidual field is set.

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

◆ hasLInfDualVariable()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasLInfDualVariable ( )
The maximum absolute value of the dual variables, i.e., the l_∞ norm. This
is useful to detect when the dual iterates are diverging. Divergence of the
dual variables could be an algorithmic issue, or indicate the primal is
infeasible.

optional double l_inf_dual_variable = 16;

Returns
Whether the lInfDualVariable field is set.

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

◆ hasLInfPrimalResidual()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasLInfPrimalResidual ( )
The maximum violation of any primal constraint, i.e., the l_∞ norm of the
violations.

optional double l_inf_primal_residual = 5;

Returns
Whether the lInfPrimalResidual field is set.

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

◆ hasLInfPrimalVariable()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasLInfPrimalVariable ( )
The maximum absolute value of the primal variables, i.e., the l_∞ norm.
This is useful to detect when the primal iterates are diverging. Divergence
of the primal variables could be an algorithmic issue, or indicate that the
dual is infeasible.

optional double l_inf_primal_variable = 14;

Returns
Whether the lInfPrimalVariable field is set.

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

◆ hasPrimalObjective()

boolean operations_research.pdlp.SolveLogOuterClass.ConvergenceInformationOrBuilder.hasPrimalObjective ( )
The primal objective. The primal need not be feasible.

optional double primal_objective = 2;

Returns
Whether the primalObjective field is set.

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


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