public static final class ConvergenceInformation.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder> implements ConvergenceInformationOrBuilder
Information measuring how close a candidate is to establishing feasibility and optimality; see also TerminationCriteria.Protobuf type
operations_research.pdlp.ConvergenceInformation
Modifier and Type | Method and Description |
---|---|
ConvergenceInformation |
build() |
ConvergenceInformation |
buildPartial() |
ConvergenceInformation.Builder |
clear() |
ConvergenceInformation.Builder |
clearCandidateType()
Type of the candidate point described by this ConvergenceInformation.
|
ConvergenceInformation.Builder |
clearCorrectedDualObjective()
If possible (e.g., when all primal variables have lower and upper bounds),
a correct dual bound.
|
ConvergenceInformation.Builder |
clearDualObjective()
The dual objective.
|
ConvergenceInformation.Builder |
clearL2DualResidual()
The l_2 norm of the violations of dual constraints.
|
ConvergenceInformation.Builder |
clearL2DualVariable()
The l_2 norm of the dual variables.
|
ConvergenceInformation.Builder |
clearL2PrimalResidual()
The l_2 norm of the violations of primal constraints.
|
ConvergenceInformation.Builder |
clearL2PrimalVariable()
The l_2 norm of the primal variables.
|
ConvergenceInformation.Builder |
clearLInfComponentwiseDualResidual()
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; |
ConvergenceInformation.Builder |
clearLInfComponentwisePrimalResidual()
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.
|
ConvergenceInformation.Builder |
clearLInfDualResidual()
The maximum violation of any dual constraint, i.e., the l_∞ norm of the
violations.
|
ConvergenceInformation.Builder |
clearLInfDualVariable()
The maximum absolute value of the dual variables, i.e., the l_∞ norm.
|
ConvergenceInformation.Builder |
clearLInfPrimalResidual()
The maximum violation of any primal constraint, i.e., the l_∞ norm of the
violations.
|
ConvergenceInformation.Builder |
clearLInfPrimalVariable()
The maximum absolute value of the primal variables, i.e., the l_∞ norm.
|
ConvergenceInformation.Builder |
clearPrimalObjective()
The primal objective.
|
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.
|
ConvergenceInformation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ConvergenceInformation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConvergenceInformation.Builder |
mergeFrom(ConvergenceInformation other) |
ConvergenceInformation.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConvergenceInformation.Builder |
setCandidateType(PointType value)
Type of the candidate point described by this ConvergenceInformation.
|
ConvergenceInformation.Builder |
setCorrectedDualObjective(double value)
If possible (e.g., when all primal variables have lower and upper bounds),
a correct dual bound.
|
ConvergenceInformation.Builder |
setDualObjective(double value)
The dual objective.
|
ConvergenceInformation.Builder |
setL2DualResidual(double value)
The l_2 norm of the violations of dual constraints.
|
ConvergenceInformation.Builder |
setL2DualVariable(double value)
The l_2 norm of the dual variables.
|
ConvergenceInformation.Builder |
setL2PrimalResidual(double value)
The l_2 norm of the violations of primal constraints.
|
ConvergenceInformation.Builder |
setL2PrimalVariable(double value)
The l_2 norm of the primal variables.
|
ConvergenceInformation.Builder |
setLInfComponentwiseDualResidual(double value)
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; |
ConvergenceInformation.Builder |
setLInfComponentwisePrimalResidual(double value)
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.
|
ConvergenceInformation.Builder |
setLInfDualResidual(double value)
The maximum violation of any dual constraint, i.e., the l_∞ norm of the
violations.
|
ConvergenceInformation.Builder |
setLInfDualVariable(double value)
The maximum absolute value of the dual variables, i.e., the l_∞ norm.
|
ConvergenceInformation.Builder |
setLInfPrimalResidual(double value)
The maximum violation of any primal constraint, i.e., the l_∞ norm of the
violations.
|
ConvergenceInformation.Builder |
setLInfPrimalVariable(double value)
The maximum absolute value of the primal variables, i.e., the l_∞ norm.
|
ConvergenceInformation.Builder |
setPrimalObjective(double value)
The primal objective.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
public ConvergenceInformation.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
public ConvergenceInformation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ConvergenceInformation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ConvergenceInformation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ConvergenceInformation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ConvergenceInformation.Builder>
public ConvergenceInformation.Builder mergeFrom(ConvergenceInformation other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
public ConvergenceInformation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ConvergenceInformation.Builder>
java.io.IOException
public boolean hasCandidateType()
Type of the candidate point described by this ConvergenceInformation.
optional .operations_research.pdlp.PointType candidate_type = 1;
hasCandidateType
in interface ConvergenceInformationOrBuilder
public PointType getCandidateType()
Type of the candidate point described by this ConvergenceInformation.
optional .operations_research.pdlp.PointType candidate_type = 1;
getCandidateType
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setCandidateType(PointType value)
Type of the candidate point described by this ConvergenceInformation.
optional .operations_research.pdlp.PointType candidate_type = 1;
value
- The candidateType to set.public ConvergenceInformation.Builder clearCandidateType()
Type of the candidate point described by this ConvergenceInformation.
optional .operations_research.pdlp.PointType candidate_type = 1;
public boolean hasPrimalObjective()
The primal objective. The primal need not be feasible.
optional double primal_objective = 2;
hasPrimalObjective
in interface ConvergenceInformationOrBuilder
public double getPrimalObjective()
The primal objective. The primal need not be feasible.
optional double primal_objective = 2;
getPrimalObjective
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setPrimalObjective(double value)
The primal objective. The primal need not be feasible.
optional double primal_objective = 2;
value
- The primalObjective to set.public ConvergenceInformation.Builder clearPrimalObjective()
The primal objective. The primal need not be feasible.
optional double primal_objective = 2;
public 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;
hasDualObjective
in interface ConvergenceInformationOrBuilder
public 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;
getDualObjective
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setDualObjective(double value)
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;
value
- The dualObjective to set.public ConvergenceInformation.Builder clearDualObjective()
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;
public 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;
hasCorrectedDualObjective
in interface ConvergenceInformationOrBuilder
public 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;
getCorrectedDualObjective
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setCorrectedDualObjective(double value)
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;
value
- The correctedDualObjective to set.public ConvergenceInformation.Builder clearCorrectedDualObjective()
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;
public boolean hasLInfPrimalResidual()
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_primal_residual = 5;
hasLInfPrimalResidual
in interface ConvergenceInformationOrBuilder
public double getLInfPrimalResidual()
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_primal_residual = 5;
getLInfPrimalResidual
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setLInfPrimalResidual(double value)
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_primal_residual = 5;
value
- The lInfPrimalResidual to set.public ConvergenceInformation.Builder clearLInfPrimalResidual()
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_primal_residual = 5;
public boolean hasL2PrimalResidual()
The l_2 norm of the violations of primal constraints.
optional double l2_primal_residual = 6;
hasL2PrimalResidual
in interface ConvergenceInformationOrBuilder
public double getL2PrimalResidual()
The l_2 norm of the violations of primal constraints.
optional double l2_primal_residual = 6;
getL2PrimalResidual
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setL2PrimalResidual(double value)
The l_2 norm of the violations of primal constraints.
optional double l2_primal_residual = 6;
value
- The l2PrimalResidual to set.public ConvergenceInformation.Builder clearL2PrimalResidual()
The l_2 norm of the violations of primal constraints.
optional double l2_primal_residual = 6;
public 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;
hasLInfComponentwisePrimalResidual
in interface ConvergenceInformationOrBuilder
public 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;
getLInfComponentwisePrimalResidual
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setLInfComponentwisePrimalResidual(double value)
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;
value
- The lInfComponentwisePrimalResidual to set.public ConvergenceInformation.Builder clearLInfComponentwisePrimalResidual()
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;
public boolean hasLInfDualResidual()
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_dual_residual = 7;
hasLInfDualResidual
in interface ConvergenceInformationOrBuilder
public double getLInfDualResidual()
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_dual_residual = 7;
getLInfDualResidual
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setLInfDualResidual(double value)
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_dual_residual = 7;
value
- The lInfDualResidual to set.public ConvergenceInformation.Builder clearLInfDualResidual()
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_dual_residual = 7;
public boolean hasL2DualResidual()
The l_2 norm of the violations of dual constraints.
optional double l2_dual_residual = 8;
hasL2DualResidual
in interface ConvergenceInformationOrBuilder
public double getL2DualResidual()
The l_2 norm of the violations of dual constraints.
optional double l2_dual_residual = 8;
getL2DualResidual
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setL2DualResidual(double value)
The l_2 norm of the violations of dual constraints.
optional double l2_dual_residual = 8;
value
- The l2DualResidual to set.public ConvergenceInformation.Builder clearL2DualResidual()
The l_2 norm of the violations of dual constraints.
optional double l2_dual_residual = 8;
public 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;
hasLInfComponentwiseDualResidual
in interface ConvergenceInformationOrBuilder
public 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;
getLInfComponentwiseDualResidual
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setLInfComponentwiseDualResidual(double value)
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;
value
- The lInfComponentwiseDualResidual to set.public ConvergenceInformation.Builder clearLInfComponentwiseDualResidual()
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;
public 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;
hasLInfPrimalVariable
in interface ConvergenceInformationOrBuilder
public 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;
getLInfPrimalVariable
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setLInfPrimalVariable(double value)
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;
value
- The lInfPrimalVariable to set.public ConvergenceInformation.Builder clearLInfPrimalVariable()
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;
public boolean hasL2PrimalVariable()
The l_2 norm of the primal variables.
optional double l2_primal_variable = 15;
hasL2PrimalVariable
in interface ConvergenceInformationOrBuilder
public double getL2PrimalVariable()
The l_2 norm of the primal variables.
optional double l2_primal_variable = 15;
getL2PrimalVariable
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setL2PrimalVariable(double value)
The l_2 norm of the primal variables.
optional double l2_primal_variable = 15;
value
- The l2PrimalVariable to set.public ConvergenceInformation.Builder clearL2PrimalVariable()
The l_2 norm of the primal variables.
optional double l2_primal_variable = 15;
public 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;
hasLInfDualVariable
in interface ConvergenceInformationOrBuilder
public 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;
getLInfDualVariable
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setLInfDualVariable(double value)
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;
value
- The lInfDualVariable to set.public ConvergenceInformation.Builder clearLInfDualVariable()
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;
public boolean hasL2DualVariable()
The l_2 norm of the dual variables.
optional double l2_dual_variable = 17;
hasL2DualVariable
in interface ConvergenceInformationOrBuilder
public double getL2DualVariable()
The l_2 norm of the dual variables.
optional double l2_dual_variable = 17;
getL2DualVariable
in interface ConvergenceInformationOrBuilder
public ConvergenceInformation.Builder setL2DualVariable(double value)
The l_2 norm of the dual variables.
optional double l2_dual_variable = 17;
value
- The l2DualVariable to set.public ConvergenceInformation.Builder clearL2DualVariable()
The l_2 norm of the dual variables.
optional double l2_dual_variable = 17;
Copyright © 2025. All rights reserved.