Class ConvergenceInformation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ConvergenceInformation.Builder>
com.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
com.google.ortools.pdlp.ConvergenceInformation.Builder
- All Implemented Interfaces:
ConvergenceInformationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
ConvergenceInformation
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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
Type of the candidate point described by this ConvergenceInformation.If possible (e.g., when all primal variables have lower and upper bounds), a correct dual bound.The dual objective.The l_2 norm of the violations of dual constraints.The l_2 norm of the dual variables.The l_2 norm of the violations of primal constraints.The l_2 norm of the primal variables.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_relativeThe 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.The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.The maximum absolute value of the dual variables, i.e., the l_∞ norm.The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.The maximum absolute value of the primal variables, i.e., the l_∞ norm.The primal objective.Type of the candidate point described by this ConvergenceInformation.double
If possible (e.g., when all primal variables have lower and upper bounds), a correct dual bound.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
The dual objective.double
The l_2 norm of the violations of dual constraints.double
The l_2 norm of the dual variables.double
The l_2 norm of the violations of primal constraints.double
The l_2 norm of the primal variables.double
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_relativedouble
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
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.double
The maximum absolute value of the dual variables, i.e., the l_∞ norm.double
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.double
The maximum absolute value of the primal variables, i.e., the l_∞ norm.double
The primal objective.boolean
Type of the candidate point described by this ConvergenceInformation.boolean
If possible (e.g., when all primal variables have lower and upper bounds), a correct dual bound.boolean
The dual objective.boolean
The l_2 norm of the violations of dual constraints.boolean
The l_2 norm of the dual variables.boolean
The l_2 norm of the violations of primal constraints.boolean
The l_2 norm of the primal variables.boolean
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_relativeboolean
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
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.boolean
The maximum absolute value of the dual variables, i.e., the l_∞ norm.boolean
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.boolean
The maximum absolute value of the primal variables, i.e., the l_∞ norm.boolean
The primal objective.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(ConvergenceInformation other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setCandidateType
(PointType value) Type of the candidate point described by this ConvergenceInformation.setCorrectedDualObjective
(double value) If possible (e.g., when all primal variables have lower and upper bounds), a correct dual bound.setDualObjective
(double value) The dual objective.setL2DualResidual
(double value) The l_2 norm of the violations of dual constraints.setL2DualVariable
(double value) The l_2 norm of the dual variables.setL2PrimalResidual
(double value) The l_2 norm of the violations of primal constraints.setL2PrimalVariable
(double value) The l_2 norm of the primal variables.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_relativesetLInfComponentwisePrimalResidual
(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.setLInfDualResidual
(double value) The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.setLInfDualVariable
(double value) The maximum absolute value of the dual variables, i.e., the l_∞ norm.setLInfPrimalResidual
(double value) The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.setLInfPrimalVariable
(double value) The maximum absolute value of the primal variables, i.e., the l_∞ norm.setPrimalObjective
(double value) The primal objective.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConvergenceInformation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
-
mergeFrom
public ConvergenceInformation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConvergenceInformation.Builder>
- Throws:
IOException
-
hasCandidateType
public boolean hasCandidateType()Type of the candidate point described by this ConvergenceInformation.
optional .operations_research.pdlp.PointType candidate_type = 1;
- Specified by:
hasCandidateType
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the candidateType field is set.
-
getCandidateType
Type of the candidate point described by this ConvergenceInformation.
optional .operations_research.pdlp.PointType candidate_type = 1;
- Specified by:
getCandidateType
in interfaceConvergenceInformationOrBuilder
- Returns:
- The candidateType.
-
setCandidateType
Type of the candidate point described by this ConvergenceInformation.
optional .operations_research.pdlp.PointType candidate_type = 1;
- Parameters:
value
- The candidateType to set.- Returns:
- This builder for chaining.
-
clearCandidateType
Type of the candidate point described by this ConvergenceInformation.
optional .operations_research.pdlp.PointType candidate_type = 1;
- Returns:
- This builder for chaining.
-
hasPrimalObjective
public boolean hasPrimalObjective()The primal objective. The primal need not be feasible.
optional double primal_objective = 2;
- Specified by:
hasPrimalObjective
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the primalObjective field is set.
-
getPrimalObjective
public double getPrimalObjective()The primal objective. The primal need not be feasible.
optional double primal_objective = 2;
- Specified by:
getPrimalObjective
in interfaceConvergenceInformationOrBuilder
- Returns:
- The primalObjective.
-
setPrimalObjective
The primal objective. The primal need not be feasible.
optional double primal_objective = 2;
- Parameters:
value
- The primalObjective to set.- Returns:
- This builder for chaining.
-
clearPrimalObjective
The primal objective. The primal need not be feasible.
optional double primal_objective = 2;
- Returns:
- This builder for chaining.
-
hasDualObjective
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;
- Specified by:
hasDualObjective
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the dualObjective field is set.
-
getDualObjective
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;
- Specified by:
getDualObjective
in interfaceConvergenceInformationOrBuilder
- Returns:
- The dualObjective.
-
setDualObjective
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;
- Parameters:
value
- The dualObjective to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
hasCorrectedDualObjective
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;
- Specified by:
hasCorrectedDualObjective
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the correctedDualObjective field is set.
-
getCorrectedDualObjective
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;
- Specified by:
getCorrectedDualObjective
in interfaceConvergenceInformationOrBuilder
- Returns:
- The correctedDualObjective.
-
setCorrectedDualObjective
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;
- Parameters:
value
- The correctedDualObjective to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
hasLInfPrimalResidual
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;
- Specified by:
hasLInfPrimalResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the lInfPrimalResidual field is set.
-
getLInfPrimalResidual
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;
- Specified by:
getLInfPrimalResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- The lInfPrimalResidual.
-
setLInfPrimalResidual
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_primal_residual = 5;
- Parameters:
value
- The lInfPrimalResidual to set.- Returns:
- This builder for chaining.
-
clearLInfPrimalResidual
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_primal_residual = 5;
- Returns:
- This builder for chaining.
-
hasL2PrimalResidual
public boolean hasL2PrimalResidual()The l_2 norm of the violations of primal constraints.
optional double l2_primal_residual = 6;
- Specified by:
hasL2PrimalResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the l2PrimalResidual field is set.
-
getL2PrimalResidual
public double getL2PrimalResidual()The l_2 norm of the violations of primal constraints.
optional double l2_primal_residual = 6;
- Specified by:
getL2PrimalResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- The l2PrimalResidual.
-
setL2PrimalResidual
The l_2 norm of the violations of primal constraints.
optional double l2_primal_residual = 6;
- Parameters:
value
- The l2PrimalResidual to set.- Returns:
- This builder for chaining.
-
clearL2PrimalResidual
The l_2 norm of the violations of primal constraints.
optional double l2_primal_residual = 6;
- Returns:
- This builder for chaining.
-
hasLInfComponentwisePrimalResidual
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;
- Specified by:
hasLInfComponentwisePrimalResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the lInfComponentwisePrimalResidual field is set.
-
getLInfComponentwisePrimalResidual
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;
- Specified by:
getLInfComponentwisePrimalResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- The lInfComponentwisePrimalResidual.
-
setLInfComponentwisePrimalResidual
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;
- Parameters:
value
- The lInfComponentwisePrimalResidual to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
hasLInfDualResidual
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;
- Specified by:
hasLInfDualResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the lInfDualResidual field is set.
-
getLInfDualResidual
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;
- Specified by:
getLInfDualResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- The lInfDualResidual.
-
setLInfDualResidual
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_dual_residual = 7;
- Parameters:
value
- The lInfDualResidual to set.- Returns:
- This builder for chaining.
-
clearLInfDualResidual
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.
optional double l_inf_dual_residual = 7;
- Returns:
- This builder for chaining.
-
hasL2DualResidual
public boolean hasL2DualResidual()The l_2 norm of the violations of dual constraints.
optional double l2_dual_residual = 8;
- Specified by:
hasL2DualResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the l2DualResidual field is set.
-
getL2DualResidual
public double getL2DualResidual()The l_2 norm of the violations of dual constraints.
optional double l2_dual_residual = 8;
- Specified by:
getL2DualResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- The l2DualResidual.
-
setL2DualResidual
The l_2 norm of the violations of dual constraints.
optional double l2_dual_residual = 8;
- Parameters:
value
- The l2DualResidual to set.- Returns:
- This builder for chaining.
-
clearL2DualResidual
The l_2 norm of the violations of dual constraints.
optional double l2_dual_residual = 8;
- Returns:
- This builder for chaining.
-
hasLInfComponentwiseDualResidual
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;
- Specified by:
hasLInfComponentwiseDualResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the lInfComponentwiseDualResidual field is set.
-
getLInfComponentwiseDualResidual
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;
- Specified by:
getLInfComponentwiseDualResidual
in interfaceConvergenceInformationOrBuilder
- Returns:
- The lInfComponentwiseDualResidual.
-
setLInfComponentwiseDualResidual
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;
- Parameters:
value
- The lInfComponentwiseDualResidual to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
hasLInfPrimalVariable
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;
- Specified by:
hasLInfPrimalVariable
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the lInfPrimalVariable field is set.
-
getLInfPrimalVariable
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;
- Specified by:
getLInfPrimalVariable
in interfaceConvergenceInformationOrBuilder
- Returns:
- The lInfPrimalVariable.
-
setLInfPrimalVariable
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;
- Parameters:
value
- The lInfPrimalVariable to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
hasL2PrimalVariable
public boolean hasL2PrimalVariable()The l_2 norm of the primal variables.
optional double l2_primal_variable = 15;
- Specified by:
hasL2PrimalVariable
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the l2PrimalVariable field is set.
-
getL2PrimalVariable
public double getL2PrimalVariable()The l_2 norm of the primal variables.
optional double l2_primal_variable = 15;
- Specified by:
getL2PrimalVariable
in interfaceConvergenceInformationOrBuilder
- Returns:
- The l2PrimalVariable.
-
setL2PrimalVariable
The l_2 norm of the primal variables.
optional double l2_primal_variable = 15;
- Parameters:
value
- The l2PrimalVariable to set.- Returns:
- This builder for chaining.
-
clearL2PrimalVariable
The l_2 norm of the primal variables.
optional double l2_primal_variable = 15;
- Returns:
- This builder for chaining.
-
hasLInfDualVariable
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;
- Specified by:
hasLInfDualVariable
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the lInfDualVariable field is set.
-
getLInfDualVariable
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;
- Specified by:
getLInfDualVariable
in interfaceConvergenceInformationOrBuilder
- Returns:
- The lInfDualVariable.
-
setLInfDualVariable
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;
- Parameters:
value
- The lInfDualVariable to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
hasL2DualVariable
public boolean hasL2DualVariable()The l_2 norm of the dual variables.
optional double l2_dual_variable = 17;
- Specified by:
hasL2DualVariable
in interfaceConvergenceInformationOrBuilder
- Returns:
- Whether the l2DualVariable field is set.
-
getL2DualVariable
public double getL2DualVariable()The l_2 norm of the dual variables.
optional double l2_dual_variable = 17;
- Specified by:
getL2DualVariable
in interfaceConvergenceInformationOrBuilder
- Returns:
- The l2DualVariable.
-
setL2DualVariable
The l_2 norm of the dual variables.
optional double l2_dual_variable = 17;
- Parameters:
value
- The l2DualVariable to set.- Returns:
- This builder for chaining.
-
clearL2DualVariable
The l_2 norm of the dual variables.
optional double l2_dual_variable = 17;
- Returns:
- This builder for chaining.
-