Interface MPIndicatorConstraintOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MPIndicatorConstraint, MPIndicatorConstraint.Builder

@Generated public interface MPIndicatorConstraintOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The constraint activated by the indicator variable.
    The constraint activated by the indicator variable.
    int
    Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean variable used as indicator.
    int
    Value the above variable should take.
    boolean
    The constraint activated by the indicator variable.
    boolean
    Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean variable used as indicator.
    boolean
    Value the above variable should take.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasVarIndex

      boolean hasVarIndex()
       Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean
       variable used as indicator.
       
      optional int32 var_index = 1;
      Returns:
      Whether the varIndex field is set.
    • getVarIndex

      int getVarIndex()
       Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean
       variable used as indicator.
       
      optional int32 var_index = 1;
      Returns:
      The varIndex.
    • hasVarValue

      boolean hasVarValue()
       Value the above variable should take. Must be 0 or 1.
       
      optional int32 var_value = 2;
      Returns:
      Whether the varValue field is set.
    • getVarValue

      int getVarValue()
       Value the above variable should take. Must be 0 or 1.
       
      optional int32 var_value = 2;
      Returns:
      The varValue.
    • hasConstraint

      boolean hasConstraint()
       The constraint activated by the indicator variable.
       
      optional .operations_research.MPConstraintProto constraint = 3;
      Returns:
      Whether the constraint field is set.
    • getConstraint

      MPConstraintProto getConstraint()
       The constraint activated by the indicator variable.
       
      optional .operations_research.MPConstraintProto constraint = 3;
      Returns:
      The constraint.
    • getConstraintOrBuilder

      MPConstraintProtoOrBuilder getConstraintOrBuilder()
       The constraint activated by the indicator variable.
       
      optional .operations_research.MPConstraintProto constraint = 3;