Uses of Class
com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder
Packages that use MPArrayWithConstantConstraint.Builder
-
Uses of MPArrayWithConstantConstraint.Builder in com.google.ortools.linearsolver
Subclasses with type arguments of type MPArrayWithConstantConstraint.Builder in com.google.ortools.linearsolverModifier and TypeClassDescriptionstatic final classSets a variable's value equal to a function on a set of variables and, optionally, a constant.Methods in com.google.ortools.linearsolver that return MPArrayWithConstantConstraint.BuilderModifier and TypeMethodDescriptionMPArrayWithConstantConstraint.Builder.addAllVarIndex(Iterable<? extends Integer> values) Variable indices are relative to the "variable" field in MPModelProto.MPArrayWithConstantConstraint.Builder.addVarIndex(int value) Variable indices are relative to the "variable" field in MPModelProto.MPArrayWithConstantConstraint.Builder.clear()MPArrayWithConstantConstraint.Builder.clearConstant()optional double constant = 2;MPArrayWithConstantConstraint.Builder.clearResultantVarIndex()optional int32 resultant_var_index = 3;MPArrayWithConstantConstraint.Builder.clearVarIndex()Variable indices are relative to the "variable" field in MPModelProto.MPGeneralConstraintProto.Builder.getMaxConstraintBuilder()resultant_var = max(var_1, var_2, ..., constant)MPGeneralConstraintProto.Builder.getMinConstraintBuilder()resultant_var = min(var_1, var_2, ..., constant)MPArrayWithConstantConstraint.Builder.mergeFrom(MPArrayWithConstantConstraint other) MPArrayWithConstantConstraint.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) MPArrayWithConstantConstraint.Builder.mergeFrom(com.google.protobuf.Message other) MPArrayWithConstantConstraint.newBuilder()MPArrayWithConstantConstraint.newBuilder(MPArrayWithConstantConstraint prototype) MPArrayWithConstantConstraint.newBuilderForType()protected MPArrayWithConstantConstraint.BuilderMPArrayWithConstantConstraint.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) MPArrayWithConstantConstraint.Builder.setConstant(double value) optional double constant = 2;MPArrayWithConstantConstraint.Builder.setResultantVarIndex(int value) optional int32 resultant_var_index = 3;MPArrayWithConstantConstraint.Builder.setVarIndex(int index, int value) Variable indices are relative to the "variable" field in MPModelProto.MPArrayWithConstantConstraint.toBuilder()Methods in com.google.ortools.linearsolver with parameters of type MPArrayWithConstantConstraint.BuilderModifier and TypeMethodDescriptionMPGeneralConstraintProto.Builder.setMaxConstraint(MPArrayWithConstantConstraint.Builder builderForValue) resultant_var = max(var_1, var_2, ..., constant)MPGeneralConstraintProto.Builder.setMinConstraint(MPArrayWithConstantConstraint.Builder builderForValue) resultant_var = min(var_1, var_2, ..., constant)