Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
OperationsResearch.MPSolution Class Referencesealed
Inheritance diagram for OperationsResearch.MPSolution:

Public Member Functions

 MPSolution ()
 
 MPSolution (MPSolution other)
 
MPSolution Clone ()
 
void ClearObjectiveValue ()
 Clears the value of the "objective_value" field.
 
override bool Equals (object other)
 
bool Equals (MPSolution other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (MPSolution other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int ObjectiveValueFieldNumber = 1
 Field number for the "objective_value" field.
 
const int VariableValueFieldNumber = 2
 Field number for the "variable_value" field.
 

Properties

static pb::MessageParser< MPSolutionParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
double ObjectiveValue [get, set]
 
bool HasObjectiveValue [get]
 Gets whether the "objective_value" field is set.
 
pbc::RepeatedField< double > VariableValue [get]
 

Detailed Description

Definition at line 6947 of file LinearSolver.pb.cs.

Constructor & Destructor Documentation

◆ MPSolution() [1/2]

OperationsResearch.MPSolution.MPSolution ( )
inline

Definition at line 6973 of file LinearSolver.pb.cs.

◆ MPSolution() [2/2]

OperationsResearch.MPSolution.MPSolution ( MPSolution other)
inline

Definition at line 6981 of file LinearSolver.pb.cs.

Member Function Documentation

◆ CalculateSize()

int OperationsResearch.MPSolution.CalculateSize ( )
inline

Definition at line 7104 of file LinearSolver.pb.cs.

◆ ClearObjectiveValue()

void OperationsResearch.MPSolution.ClearObjectiveValue ( )
inline

Clears the value of the "objective_value" field.

Definition at line 7017 of file LinearSolver.pb.cs.

◆ Clone()

MPSolution OperationsResearch.MPSolution.Clone ( )
inline

Definition at line 6990 of file LinearSolver.pb.cs.

◆ Equals() [1/2]

bool OperationsResearch.MPSolution.Equals ( MPSolution other)
inline

Definition at line 7040 of file LinearSolver.pb.cs.

◆ Equals() [2/2]

override bool OperationsResearch.MPSolution.Equals ( object other)
inline

Definition at line 7034 of file LinearSolver.pb.cs.

◆ GetHashCode()

override int OperationsResearch.MPSolution.GetHashCode ( )
inline

Definition at line 7054 of file LinearSolver.pb.cs.

◆ MergeFrom() [1/2]

void OperationsResearch.MPSolution.MergeFrom ( MPSolution other)
inline

Definition at line 7118 of file LinearSolver.pb.cs.

◆ MergeFrom() [2/2]

void OperationsResearch.MPSolution.MergeFrom ( pb.CodedInputStream input)
inline

Definition at line 7131 of file LinearSolver.pb.cs.

◆ ToString()

override string OperationsResearch.MPSolution.ToString ( )
inline

Definition at line 7066 of file LinearSolver.pb.cs.

◆ WriteTo()

void OperationsResearch.MPSolution.WriteTo ( pb.CodedOutputStream output)
inline

Definition at line 7072 of file LinearSolver.pb.cs.

Member Data Documentation

◆ ObjectiveValueFieldNumber

const int OperationsResearch.MPSolution.ObjectiveValueFieldNumber = 1
static

Field number for the "objective_value" field.

Definition at line 6995 of file LinearSolver.pb.cs.

◆ VariableValueFieldNumber

const int OperationsResearch.MPSolution.VariableValueFieldNumber = 2
static

Field number for the "variable_value" field.

Definition at line 7022 of file LinearSolver.pb.cs.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor OperationsResearch.MPSolution.Descriptor
staticget

Definition at line 6961 of file LinearSolver.pb.cs.

◆ HasObjectiveValue

bool OperationsResearch.MPSolution.HasObjectiveValue
get

Gets whether the "objective_value" field is set.

Definition at line 7011 of file LinearSolver.pb.cs.

◆ ObjectiveValue

double OperationsResearch.MPSolution.ObjectiveValue
getset

Definition at line 7001 of file LinearSolver.pb.cs.

◆ Parser

pb.MessageParser<MPSolution> OperationsResearch.MPSolution.Parser
staticget

Definition at line 6957 of file LinearSolver.pb.cs.

◆ VariableValue

pbc.RepeatedField<double> OperationsResearch.MPSolution.VariableValue
get

Definition at line 7028 of file LinearSolver.pb.cs.


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