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.doubleIf possible (e.g., when all primal variables have lower and upper bounds), a correct dual bound.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoubleThe dual objective.doubleThe l_2 norm of the violations of dual constraints.doubleThe l_2 norm of the dual variables.doubleThe l_2 norm of the violations of primal constraints.doubleThe l_2 norm of the primal variables.doubleThe 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_relativedoubleThe 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.doubleThe maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.doubleThe maximum absolute value of the dual variables, i.e., the l_∞ norm.doubleThe maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.doubleThe maximum absolute value of the primal variables, i.e., the l_∞ norm.doubleThe primal objective.booleanType of the candidate point described by this ConvergenceInformation.booleanIf possible (e.g., when all primal variables have lower and upper bounds), a correct dual bound.booleanThe dual objective.booleanThe l_2 norm of the violations of dual constraints.booleanThe l_2 norm of the dual variables.booleanThe l_2 norm of the violations of primal constraints.booleanThe l_2 norm of the primal variables.booleanThe 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_relativebooleanThe 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.booleanThe maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.booleanThe maximum absolute value of the dual variables, i.e., the l_∞ norm.booleanThe maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.booleanThe maximum absolute value of the primal variables, i.e., the l_∞ norm.booleanThe primal objective.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConvergenceInformation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConvergenceInformation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasCandidateTypein 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:
getCandidateTypein 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:
hasPrimalObjectivein 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:
getPrimalObjectivein 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:
hasDualObjectivein 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:
getDualObjectivein 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:
hasCorrectedDualObjectivein 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:
getCorrectedDualObjectivein 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:
hasLInfPrimalResidualin 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:
getLInfPrimalResidualin 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:
hasL2PrimalResidualin 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:
getL2PrimalResidualin 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:
hasLInfComponentwisePrimalResidualin 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:
getLInfComponentwisePrimalResidualin 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:
hasLInfDualResidualin 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:
getLInfDualResidualin 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:
hasL2DualResidualin 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:
getL2DualResidualin 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:
hasLInfComponentwiseDualResidualin 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:
getLInfComponentwiseDualResidualin 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:
hasLInfPrimalVariablein 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:
getLInfPrimalVariablein 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:
hasL2PrimalVariablein 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:
getL2PrimalVariablein 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:
hasLInfDualVariablein 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:
getLInfDualVariablein 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:
hasL2DualVariablein 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:
getL2DualVariablein 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.
-