Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.linearsolver.MPSolveInfo Class Reference
Inheritance diagram for com.google.ortools.linearsolver.MPSolveInfo:
com.google.ortools.linearsolver.MPSolveInfoOrBuilder

Classes

class  Builder
 

Public Member Functions

boolean hasSolveWallTimeSeconds ()
 
double getSolveWallTimeSeconds ()
 
boolean hasSolveUserTimeSeconds ()
 
double getSolveUserTimeSeconds ()
 
final boolean isInitialized ()
 
void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
 
int getSerializedSize ()
 
boolean equals (final java.lang.Object obj)
 
int hashCode ()
 
Builder newBuilderForType ()
 
Builder toBuilder ()
 
com.google.protobuf.Parser< MPSolveInfogetParserForType ()
 
com.google.ortools.linearsolver.MPSolveInfo getDefaultInstanceForType ()
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.linearsolver.MPSolveInfo parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPSolveInfo parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPSolveInfo parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPSolveInfo parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPSolveInfo parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPSolveInfo parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPSolveInfo parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.linearsolver.MPSolveInfo parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.linearsolver.MPSolveInfo parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.linearsolver.MPSolveInfo parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.linearsolver.MPSolveInfo parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.linearsolver.MPSolveInfo parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static Builder newBuilder ()
 
static Builder newBuilder (com.google.ortools.linearsolver.MPSolveInfo prototype)
 
static com.google.ortools.linearsolver.MPSolveInfo getDefaultInstance ()
 
static com.google.protobuf.Parser< MPSolveInfoparser ()
 

Static Public Attributes

static final int SOLVE_WALL_TIME_SECONDS_FIELD_NUMBER = 1
 
static final int SOLVE_USER_TIME_SECONDS_FIELD_NUMBER = 2
 
static final com.google.protobuf.Parser< MPSolveInfoPARSER
 

Protected Member Functions

java.lang.Object newInstance (UnusedPrivateParameter unused)
 
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
 

Detailed Description

Protobuf type operations_research.MPSolveInfo

Definition at line 10 of file MPSolveInfo.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.linearsolver.MPSolveInfo.equals ( final java.lang.Object obj)

Definition at line 140 of file MPSolveInfo.java.

◆ getDefaultInstance()

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.getDefaultInstance ( )
static

Definition at line 596 of file MPSolveInfo.java.

◆ getDefaultInstanceForType()

com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.getDefaultInstanceForType ( )

Definition at line 632 of file MPSolveInfo.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPSolveInfo.getDescriptor ( )
static

Definition at line 30 of file MPSolveInfo.java.

◆ getParserForType()

com.google.protobuf.Parser< MPSolveInfo > com.google.ortools.linearsolver.MPSolveInfo.getParserForType ( )

Definition at line 627 of file MPSolveInfo.java.

◆ getSerializedSize()

int com.google.ortools.linearsolver.MPSolveInfo.getSerializedSize ( )

Definition at line 121 of file MPSolveInfo.java.

◆ getSolveUserTimeSeconds()

double com.google.ortools.linearsolver.MPSolveInfo.getSolveUserTimeSeconds ( )

optional double solve_user_time_seconds = 2;

Returns
The solveUserTimeSeconds.

Implements com.google.ortools.linearsolver.MPSolveInfoOrBuilder.

Definition at line 93 of file MPSolveInfo.java.

◆ getSolveWallTimeSeconds()

double com.google.ortools.linearsolver.MPSolveInfo.getSolveWallTimeSeconds ( )
How much wall time (resp. user time) elapsed during the Solve() of the
underlying solver library. "wall" time and "user" time are to be
interpreted like for the "time" command in bash (see "help time").
In particular, "user time" is CPU time and can be greater than wall time
when using several threads.

optional double solve_wall_time_seconds = 1;

Returns
The solveWallTimeSeconds.

Implements com.google.ortools.linearsolver.MPSolveInfoOrBuilder.

Definition at line 74 of file MPSolveInfo.java.

◆ hashCode()

int com.google.ortools.linearsolver.MPSolveInfo.hashCode ( )

Definition at line 166 of file MPSolveInfo.java.

◆ hasSolveUserTimeSeconds()

boolean com.google.ortools.linearsolver.MPSolveInfo.hasSolveUserTimeSeconds ( )

optional double solve_user_time_seconds = 2;

Returns
Whether the solveUserTimeSeconds field is set.

Implements com.google.ortools.linearsolver.MPSolveInfoOrBuilder.

Definition at line 85 of file MPSolveInfo.java.

◆ hasSolveWallTimeSeconds()

boolean com.google.ortools.linearsolver.MPSolveInfo.hasSolveWallTimeSeconds ( )
How much wall time (resp. user time) elapsed during the Solve() of the
underlying solver library. "wall" time and "user" time are to be
interpreted like for the "time" command in bash (see "help time").
In particular, "user time" is CPU time and can be greater than wall time
when using several threads.

optional double solve_wall_time_seconds = 1;

Returns
Whether the solveWallTimeSeconds field is set.

Implements com.google.ortools.linearsolver.MPSolveInfoOrBuilder.

Definition at line 58 of file MPSolveInfo.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessageV3.FieldAccessorTable com.google.ortools.linearsolver.MPSolveInfo.internalGetFieldAccessorTable ( )
protected

Definition at line 36 of file MPSolveInfo.java.

◆ isInitialized()

final boolean com.google.ortools.linearsolver.MPSolveInfo.isInitialized ( )

Definition at line 99 of file MPSolveInfo.java.

◆ newBuilder() [1/2]

static Builder com.google.ortools.linearsolver.MPSolveInfo.newBuilder ( )
static

Definition at line 261 of file MPSolveInfo.java.

◆ newBuilder() [2/2]

static Builder com.google.ortools.linearsolver.MPSolveInfo.newBuilder ( com.google.ortools.linearsolver.MPSolveInfo prototype)
static

Definition at line 264 of file MPSolveInfo.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.linearsolver.MPSolveInfo.newBuilderForType ( )

Definition at line 260 of file MPSolveInfo.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.linearsolver.MPSolveInfo.newBuilderForType ( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected

Definition at line 274 of file MPSolveInfo.java.

◆ newInstance()

java.lang.Object com.google.ortools.linearsolver.MPSolveInfo.newInstance ( UnusedPrivateParameter unused)
protected

Definition at line 24 of file MPSolveInfo.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 232 of file MPSolveInfo.java.

◆ parseDelimitedFrom() [2/2]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 238 of file MPSolveInfo.java.

◆ parseFrom() [1/10]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 209 of file MPSolveInfo.java.

◆ parseFrom() [2/10]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 213 of file MPSolveInfo.java.

◆ parseFrom() [3/10]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 198 of file MPSolveInfo.java.

◆ parseFrom() [4/10]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 203 of file MPSolveInfo.java.

◆ parseFrom() [5/10]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 245 of file MPSolveInfo.java.

◆ parseFrom() [6/10]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 251 of file MPSolveInfo.java.

◆ parseFrom() [7/10]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 219 of file MPSolveInfo.java.

◆ parseFrom() [8/10]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 224 of file MPSolveInfo.java.

◆ parseFrom() [9/10]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 187 of file MPSolveInfo.java.

◆ parseFrom() [10/10]

static com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolveInfo.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 192 of file MPSolveInfo.java.

◆ parser()

static com.google.protobuf.Parser< MPSolveInfo > com.google.ortools.linearsolver.MPSolveInfo.parser ( )
static

Definition at line 622 of file MPSolveInfo.java.

◆ toBuilder()

Builder com.google.ortools.linearsolver.MPSolveInfo.toBuilder ( )

Definition at line 268 of file MPSolveInfo.java.

◆ writeTo()

void com.google.ortools.linearsolver.MPSolveInfo.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 109 of file MPSolveInfo.java.

Member Data Documentation

◆ PARSER

final com.google.protobuf.Parser<MPSolveInfo> com.google.ortools.linearsolver.MPSolveInfo.PARSER
static
Initial value:
= new com.google.protobuf.AbstractParser<MPSolveInfo>() {
@java.lang.Override
public MPSolveInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
}

Definition at line 601 of file MPSolveInfo.java.

◆ SOLVE_USER_TIME_SECONDS_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolveInfo.SOLVE_USER_TIME_SECONDS_FIELD_NUMBER = 2
static

Definition at line 78 of file MPSolveInfo.java.

◆ SOLVE_WALL_TIME_SECONDS_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolveInfo.SOLVE_WALL_TIME_SECONDS_FIELD_NUMBER = 1
static

Definition at line 43 of file MPSolveInfo.java.


The documentation for this class was generated from the following file: