Uses of Class
com.google.ortools.linearsolver.MPSosConstraint.Builder
-
Packages that use MPSosConstraint.Builder Package Description com.google.ortools.linearsolver -
-
Uses of MPSosConstraint.Builder in com.google.ortools.linearsolver
Methods in com.google.ortools.linearsolver that return MPSosConstraint.Builder Modifier and Type Method Description MPSosConstraint.BuilderMPSosConstraint.Builder. addAllVarIndex(java.lang.Iterable<? extends java.lang.Integer> values)Variable index (w.r.t.MPSosConstraint.BuilderMPSosConstraint.Builder. addAllWeight(java.lang.Iterable<? extends java.lang.Double> values)Optional: SOS weights.MPSosConstraint.BuilderMPSosConstraint.Builder. addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)MPSosConstraint.BuilderMPSosConstraint.Builder. addVarIndex(int value)Variable index (w.r.t.MPSosConstraint.BuilderMPSosConstraint.Builder. addWeight(double value)Optional: SOS weights.MPSosConstraint.BuilderMPSosConstraint.Builder. clear()MPSosConstraint.BuilderMPSosConstraint.Builder. clearField(com.google.protobuf.Descriptors.FieldDescriptor field)MPSosConstraint.BuilderMPSosConstraint.Builder. clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MPSosConstraint.BuilderMPSosConstraint.Builder. clearType()optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];MPSosConstraint.BuilderMPSosConstraint.Builder. clearVarIndex()Variable index (w.r.t.MPSosConstraint.BuilderMPSosConstraint.Builder. clearWeight()Optional: SOS weights.MPSosConstraint.BuilderMPSosConstraint.Builder. clone()MPSosConstraint.BuilderMPGeneralConstraintProto.Builder. getSosConstraintBuilder().operations_research.MPSosConstraint sos_constraint = 3;MPSosConstraint.BuilderMPSosConstraint.Builder. mergeFrom(MPSosConstraint other)MPSosConstraint.BuilderMPSosConstraint.Builder. mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MPSosConstraint.BuilderMPSosConstraint.Builder. mergeFrom(com.google.protobuf.Message other)MPSosConstraint.BuilderMPSosConstraint.Builder. mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)static MPSosConstraint.BuilderMPSosConstraint. newBuilder()static MPSosConstraint.BuilderMPSosConstraint. newBuilder(MPSosConstraint prototype)MPSosConstraint.BuilderMPSosConstraint. newBuilderForType()protected MPSosConstraint.BuilderMPSosConstraint. newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)MPSosConstraint.BuilderMPSosConstraint.Builder. setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)MPSosConstraint.BuilderMPSosConstraint.Builder. setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)MPSosConstraint.BuilderMPSosConstraint.Builder. setType(MPSosConstraint.Type value)optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];MPSosConstraint.BuilderMPSosConstraint.Builder. setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MPSosConstraint.BuilderMPSosConstraint.Builder. setVarIndex(int index, int value)Variable index (w.r.t.MPSosConstraint.BuilderMPSosConstraint.Builder. setWeight(int index, double value)Optional: SOS weights.MPSosConstraint.BuilderMPSosConstraint. toBuilder()Methods in com.google.ortools.linearsolver with parameters of type MPSosConstraint.Builder Modifier and Type Method Description MPGeneralConstraintProto.BuilderMPGeneralConstraintProto.Builder. setSosConstraint(MPSosConstraint.Builder builderForValue).operations_research.MPSosConstraint sos_constraint = 3;
-