Uses of Class
com.google.ortools.linearsolver.MPModelProto
Packages that use MPModelProto
-
Uses of MPModelProto in com.google.ortools.linearsolver
Methods in com.google.ortools.linearsolver that return MPModelProtoModifier and TypeMethodDescriptionMPModelProto.Builder.build()
MPModelProto.Builder.buildPartial()
MPSolver.exportModelToProto()
Export the loaded model to proto and returns it.static MPModelProto
MPModelProto.getDefaultInstance()
MPModelProto.Builder.getDefaultInstanceForType()
MPModelProto.getDefaultInstanceForType()
MPModelRequest.Builder.getModel()
The model to be optimized by the server.MPModelRequest.getModel()
The model to be optimized by the server.MPModelRequestOrBuilder.getModel()
The model to be optimized by the server.static MPModelProto
MPModelProto.parseDelimitedFrom
(InputStream input) static MPModelProto
MPModelProto.parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MPModelProto
MPModelProto.parseFrom
(byte[] data) static MPModelProto
MPModelProto.parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MPModelProto
MPModelProto.parseFrom
(com.google.protobuf.ByteString data) static MPModelProto
MPModelProto.parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MPModelProto
MPModelProto.parseFrom
(com.google.protobuf.CodedInputStream input) static MPModelProto
MPModelProto.parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MPModelProto
MPModelProto.parseFrom
(InputStream input) static MPModelProto
MPModelProto.parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MPModelProto
MPModelProto.parseFrom
(ByteBuffer data) static MPModelProto
MPModelProto.parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Methods in com.google.ortools.linearsolver that return types with arguments of type MPModelProtoModifier and TypeMethodDescriptioncom.google.protobuf.Parser
<MPModelProto> MPModelProto.getParserForType()
static com.google.protobuf.Parser
<MPModelProto> MPModelProto.parser()
Methods in com.google.ortools.linearsolver with parameters of type MPModelProtoModifier and TypeMethodDescriptionMPSolver.loadModelFromProto
(MPModelProto input_model) Loads a model and returns the error message, which will be empty iff the
model is valid.MPSolver.loadModelFromProtoKeepNames
(MPModelProto input_model) Like loadModelFromProto(), but keeps the names and returns an error if
there are duplicate names.MPSolver.loadModelFromProtoWithUniqueNamesOrDie
(MPModelProto input_model) MPModelProto.Builder.mergeFrom
(MPModelProto other) MPModelRequest.Builder.mergeModel
(MPModelProto value) The model to be optimized by the server.static MPModelProto.Builder
MPModelProto.newBuilder
(MPModelProto prototype) MPModelRequest.Builder.setModel
(MPModelProto value) The model to be optimized by the server.