Uses of Class
com.google.ortools.linearsolver.MPIndicatorConstraint.Builder
Packages that use MPIndicatorConstraint.Builder
-
Uses of MPIndicatorConstraint.Builder in com.google.ortools.linearsolver
Subclasses with type arguments of type MPIndicatorConstraint.Builder in com.google.ortools.linearsolverModifier and TypeClassDescriptionstatic final class
Indicator constraints encode the activation or deactivation of linear constraints given the value of one Boolean variable in the model.Methods in com.google.ortools.linearsolver that return MPIndicatorConstraint.BuilderModifier and TypeMethodDescriptionMPIndicatorConstraint.Builder.clear()
MPIndicatorConstraint.Builder.clearConstraint()
The constraint activated by the indicator variable.MPIndicatorConstraint.Builder.clearVarIndex()
Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean variable used as indicator.MPIndicatorConstraint.Builder.clearVarValue()
Value the above variable should take.MPGeneralConstraintProto.Builder.getIndicatorConstraintBuilder()
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
MPIndicatorConstraint.Builder.mergeConstraint
(MPConstraintProto value) The constraint activated by the indicator variable.MPIndicatorConstraint.Builder.mergeFrom
(MPIndicatorConstraint other) MPIndicatorConstraint.Builder.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) MPIndicatorConstraint.Builder.mergeFrom
(com.google.protobuf.Message other) MPIndicatorConstraint.newBuilder()
MPIndicatorConstraint.newBuilder
(MPIndicatorConstraint prototype) MPIndicatorConstraint.newBuilderForType()
protected MPIndicatorConstraint.Builder
MPIndicatorConstraint.newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) MPIndicatorConstraint.Builder.setConstraint
(MPConstraintProto value) The constraint activated by the indicator variable.MPIndicatorConstraint.Builder.setConstraint
(MPConstraintProto.Builder builderForValue) The constraint activated by the indicator variable.MPIndicatorConstraint.Builder.setVarIndex
(int value) Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean variable used as indicator.MPIndicatorConstraint.Builder.setVarValue
(int value) Value the above variable should take.MPIndicatorConstraint.toBuilder()
Methods in com.google.ortools.linearsolver with parameters of type MPIndicatorConstraint.BuilderModifier and TypeMethodDescriptionMPGeneralConstraintProto.Builder.setIndicatorConstraint
(MPIndicatorConstraint.Builder builderForValue) .operations_research.MPIndicatorConstraint indicator_constraint = 2;