public interface MPIndicatorConstraintOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
MPConstraintProto |
getConstraint()
The constraint activated by the indicator variable.
|
MPConstraintProtoOrBuilder |
getConstraintOrBuilder()
The constraint activated by the indicator variable.
|
int |
getVarIndex()
Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean
variable used as indicator.
|
int |
getVarValue()
Value the above variable should take.
|
boolean |
hasConstraint()
The constraint activated by the indicator variable.
|
boolean |
hasVarIndex()
Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean
variable used as indicator.
|
boolean |
hasVarValue()
Value the above variable should take.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasVarIndex()
Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean variable used as indicator.
optional int32 var_index = 1;
int getVarIndex()
Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean variable used as indicator.
optional int32 var_index = 1;
boolean hasVarValue()
Value the above variable should take. Must be 0 or 1.
optional int32 var_value = 2;
int getVarValue()
Value the above variable should take. Must be 0 or 1.
optional int32 var_value = 2;
boolean hasConstraint()
The constraint activated by the indicator variable.
optional .operations_research.MPConstraintProto constraint = 3;
MPConstraintProto getConstraint()
The constraint activated by the indicator variable.
optional .operations_research.MPConstraintProto constraint = 3;
MPConstraintProtoOrBuilder getConstraintOrBuilder()
The constraint activated by the indicator variable.
optional .operations_research.MPConstraintProto constraint = 3;
Copyright © 2025. All rights reserved.