public interface ConvergenceInformationOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
PointType |
getCandidateType()
Type of the candidate point described by this ConvergenceInformation.
|
double |
getCorrectedDualObjective()
If possible (e.g., when all primal variables have lower and upper bounds),
a correct dual bound.
|
double |
getDualObjective()
The dual objective.
|
double |
getL2DualResidual()
The l_2 norm of the violations of dual constraints.
|
double |
getL2DualVariable()
The l_2 norm of the dual variables.
|
double |
getL2PrimalResidual()
The l_2 norm of the violations of primal constraints.
|
double |
getL2PrimalVariable()
The l_2 norm of the primal variables.
|
double |
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; |
double |
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.
|
double |
getLInfDualResidual()
The maximum violation of any dual constraint, i.e., the l_∞ norm of the
violations.
|
double |
getLInfDualVariable()
The maximum absolute value of the dual variables, i.e., the l_∞ norm.
|
double |
getLInfPrimalResidual()
The maximum violation of any primal constraint, i.e., the l_∞ norm of the
violations.
|
double |
getLInfPrimalVariable()
The maximum absolute value of the primal variables, i.e., the l_∞ norm.
|
double |
getPrimalObjective()
The primal objective.
|
boolean |
hasCandidateType()
Type of the candidate point described by this ConvergenceInformation.
|
boolean |
hasCorrectedDualObjective()
If possible (e.g., when all primal variables have lower and upper bounds),
a correct dual bound.
|
boolean |
hasDualObjective()
The dual objective.
|
boolean |
hasL2DualResidual()
The l_2 norm of the violations of dual constraints.
|
boolean |
hasL2DualVariable()
The l_2 norm of the dual variables.
|
boolean |
hasL2PrimalResidual()
The l_2 norm of the violations of primal constraints.
|
boolean |
hasL2PrimalVariable()
The l_2 norm of the primal variables.
|
boolean |
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; |
boolean |
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.
|
boolean |
hasLInfDualResidual()
The maximum violation of any dual constraint, i.e., the l_∞ norm of the
violations.
|
boolean |
hasLInfDualVariable()
The maximum absolute value of the dual variables, i.e., the l_∞ norm.
|
boolean |
hasLInfPrimalResidual()
The maximum violation of any primal constraint, i.e., the l_∞ norm of the
violations.
|
boolean |
hasLInfPrimalVariable()
The maximum absolute value of the primal variables, i.e., the l_∞ norm.
|
boolean |
hasPrimalObjective()
The primal objective.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasCandidateType()
Type of the candidate point described by this ConvergenceInformation.
optional .operations_research.pdlp.PointType candidate_type = 1;
PointType getCandidateType()
Type of the candidate point described by this ConvergenceInformation.
optional .operations_research.pdlp.PointType candidate_type = 1;
boolean hasPrimalObjective()
The primal objective. The primal need not be feasible.
optional double primal_objective = 2;
double getPrimalObjective()
The primal objective. The primal need not be feasible.
optional double primal_objective = 2;
boolean 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;
double 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;
boolean 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;
double 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;
boolean hasLInfPrimalResidual()
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_primal_residual = 5;
double getLInfPrimalResidual()
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_primal_residual = 5;
boolean hasL2PrimalResidual()
The l_2 norm of the violations of primal constraints.
optional double l2_primal_residual = 6;
double getL2PrimalResidual()
The l_2 norm of the violations of primal constraints.
optional double l2_primal_residual = 6;
boolean 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;
double 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;
boolean hasLInfDualResidual()
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_dual_residual = 7;
double getLInfDualResidual()
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_dual_residual = 7;
boolean hasL2DualResidual()
The l_2 norm of the violations of dual constraints.
optional double l2_dual_residual = 8;
double getL2DualResidual()
The l_2 norm of the violations of dual constraints.
optional double l2_dual_residual = 8;
boolean 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;
double 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;
boolean 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;
double 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;
boolean hasL2PrimalVariable()
The l_2 norm of the primal variables.
optional double l2_primal_variable = 15;
double getL2PrimalVariable()
The l_2 norm of the primal variables.
optional double l2_primal_variable = 15;
boolean 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;
double 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;
boolean hasL2DualVariable()
The l_2 norm of the dual variables.
optional double l2_dual_variable = 17;
double getL2DualVariable()
The l_2 norm of the dual variables.
optional double l2_dual_variable = 17;
Copyright © 2025. All rights reserved.