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

This message encodes a partial (or full) assignment of the variables of a MPModelProto problem. The indices in var_index should be unique and valid variable indices of the associated problem. More...

Inheritance diagram for OperationsResearch.PartialVariableAssignment:

Public Member Functions

 PartialVariableAssignment ()
 
 PartialVariableAssignment (PartialVariableAssignment other)
 
PartialVariableAssignment Clone ()
 
override bool Equals (object other)
 
bool Equals (PartialVariableAssignment other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (PartialVariableAssignment other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int VarIndexFieldNumber = 1
 Field number for the "var_index" field.
 
const int VarValueFieldNumber = 2
 Field number for the "var_value" field.
 

Properties

static pb::MessageParser< PartialVariableAssignmentParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbc::RepeatedField< int > VarIndex [get]
 
pbc::RepeatedField< double > VarValue [get]
 

Detailed Description

This message encodes a partial (or full) assignment of the variables of a MPModelProto problem. The indices in var_index should be unique and valid variable indices of the associated problem.

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

Constructor & Destructor Documentation

◆ PartialVariableAssignment() [1/2]

OperationsResearch.PartialVariableAssignment.PartialVariableAssignment ( )
inline

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

◆ PartialVariableAssignment() [2/2]

OperationsResearch.PartialVariableAssignment.PartialVariableAssignment ( PartialVariableAssignment other)
inline

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

Member Function Documentation

◆ CalculateSize()

int OperationsResearch.PartialVariableAssignment.CalculateSize ( )
inline

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

◆ Clone()

PartialVariableAssignment OperationsResearch.PartialVariableAssignment.Clone ( )
inline

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

bool OperationsResearch.PartialVariableAssignment.Equals ( PartialVariableAssignment other)
inline

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

◆ GetHashCode()

override int OperationsResearch.PartialVariableAssignment.GetHashCode ( )
inline

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

◆ MergeFrom() [1/2]

void OperationsResearch.PartialVariableAssignment.MergeFrom ( PartialVariableAssignment other)
inline

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

override string OperationsResearch.PartialVariableAssignment.ToString ( )
inline

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

◆ WriteTo()

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

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

Member Data Documentation

◆ VarIndexFieldNumber

const int OperationsResearch.PartialVariableAssignment.VarIndexFieldNumber = 1
static

Field number for the "var_index" field.

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

◆ VarValueFieldNumber

const int OperationsResearch.PartialVariableAssignment.VarValueFieldNumber = 2
static

Field number for the "var_value" field.

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

Property Documentation

◆ Descriptor

pbr.MessageDescriptor OperationsResearch.PartialVariableAssignment.Descriptor
staticget

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

◆ Parser

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

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

◆ VarIndex

pbc.RepeatedField<int> OperationsResearch.PartialVariableAssignment.VarIndex
get

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

◆ VarValue

pbc.RepeatedField<double> OperationsResearch.PartialVariableAssignment.VarValue
get

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


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