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