Interface MPAbsConstraintOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MPAbsConstraint, MPAbsConstraint.Builder
@Generated
public interface MPAbsConstraintOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintoptional int32 resultant_var_index = 2;intVariable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)booleanoptional int32 resultant_var_index = 2;booleanVariable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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 indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)
optional int32 var_index = 1;- Returns:
- Whether the varIndex field is set.
-
getVarIndex
int getVarIndex()Variable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)
optional int32 var_index = 1;- Returns:
- The varIndex.
-
hasResultantVarIndex
boolean hasResultantVarIndex()optional int32 resultant_var_index = 2;- Returns:
- Whether the resultantVarIndex field is set.
-
getResultantVarIndex
int getResultantVarIndex()optional int32 resultant_var_index = 2;- Returns:
- The resultantVarIndex.
-