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.
|
int |
getVarValue()
Value the above variable should take.
|
boolean |
hasConstraint()
The constraint activated by the indicator variable.
|
boolean |
hasVarIndex()
Variable index (w.r.t.
|
boolean |
hasVarValue()
Value the above variable should take.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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 © 2024. All rights reserved.