Uses of Class
com.google.ortools.linearsolver.MPQuadraticObjective.Builder
Packages that use MPQuadraticObjective.Builder
-
Uses of MPQuadraticObjective.Builder in com.google.ortools.linearsolver
Subclasses with type arguments of type MPQuadraticObjective.Builder in com.google.ortools.linearsolverModifier and TypeClassDescriptionstatic final class
Quadratic part of a model's objective.Methods in com.google.ortools.linearsolver that return MPQuadraticObjective.BuilderModifier and TypeMethodDescriptionMPQuadraticObjective.Builder.addAllCoefficient
(Iterable<? extends Double> values) Must be finite.MPQuadraticObjective.Builder.addAllQvar1Index
(Iterable<? extends Integer> values) Sparse representation of quadratic terms in the objective function, where term i is qvar1_index[i] * qvar2_index[i] * coefficient[i].MPQuadraticObjective.Builder.addAllQvar2Index
(Iterable<? extends Integer> values) repeated int32 qvar2_index = 2;
MPQuadraticObjective.Builder.addCoefficient
(double value) Must be finite.MPQuadraticObjective.Builder.addQvar1Index
(int value) Sparse representation of quadratic terms in the objective function, where term i is qvar1_index[i] * qvar2_index[i] * coefficient[i].MPQuadraticObjective.Builder.addQvar2Index
(int value) repeated int32 qvar2_index = 2;
MPQuadraticObjective.Builder.clear()
MPQuadraticObjective.Builder.clearCoefficient()
Must be finite.MPQuadraticObjective.Builder.clearQvar1Index()
Sparse representation of quadratic terms in the objective function, where term i is qvar1_index[i] * qvar2_index[i] * coefficient[i].MPQuadraticObjective.Builder.clearQvar2Index()
repeated int32 qvar2_index = 2;
MPModelProto.Builder.getQuadraticObjectiveBuilder()
Optionally, a quadratic objective.MPQuadraticObjective.Builder.mergeFrom
(MPQuadraticObjective other) MPQuadraticObjective.Builder.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) MPQuadraticObjective.Builder.mergeFrom
(com.google.protobuf.Message other) static MPQuadraticObjective.Builder
MPQuadraticObjective.newBuilder()
static MPQuadraticObjective.Builder
MPQuadraticObjective.newBuilder
(MPQuadraticObjective prototype) MPQuadraticObjective.newBuilderForType()
protected MPQuadraticObjective.Builder
MPQuadraticObjective.newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) MPQuadraticObjective.Builder.setCoefficient
(int index, double value) Must be finite.MPQuadraticObjective.Builder.setQvar1Index
(int index, int value) Sparse representation of quadratic terms in the objective function, where term i is qvar1_index[i] * qvar2_index[i] * coefficient[i].MPQuadraticObjective.Builder.setQvar2Index
(int index, int value) repeated int32 qvar2_index = 2;
MPQuadraticObjective.toBuilder()
Methods in com.google.ortools.linearsolver with parameters of type MPQuadraticObjective.BuilderModifier and TypeMethodDescriptionMPModelProto.Builder.setQuadraticObjective
(MPQuadraticObjective.Builder builderForValue) Optionally, a quadratic objective.