Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Some constraints supports linear expression instead of just using a reference to a variable. This is especially useful during presolve to reduce the model size. More...
Public Member Functions | |
LinearExpressionProto () | |
LinearExpressionProto (LinearExpressionProto other) | |
LinearExpressionProto | Clone () |
override bool | Equals (object other) |
bool | Equals (LinearExpressionProto other) |
override int | GetHashCode () |
override string | ToString () |
void | WriteTo (pb::CodedOutputStream output) |
int | CalculateSize () |
void | MergeFrom (LinearExpressionProto other) |
void | MergeFrom (pb::CodedInputStream input) |
Static Public Attributes | |
const int | VarsFieldNumber = 1 |
Field number for the "vars" field. | |
const int | CoeffsFieldNumber = 2 |
Field number for the "coeffs" field. | |
const int | OffsetFieldNumber = 3 |
Field number for the "offset" field. | |
Properties | |
static pb::MessageParser< LinearExpressionProto > | Parser [get] |
static pbr::MessageDescriptor | Descriptor [get] |
pbc::RepeatedField< int > | Vars [get] |
pbc::RepeatedField< long > | Coeffs [get] |
long | Offset [get, set] |
Some constraints supports linear expression instead of just using a reference to a variable. This is especially useful during presolve to reduce the model size.
Definition at line 705 of file CpModel.pb.cs.
|
inline |
Definition at line 730 of file CpModel.pb.cs.
|
inline |
Definition at line 738 of file CpModel.pb.cs.
|
inline |
Definition at line 861 of file CpModel.pb.cs.
|
inline |
Definition at line 747 of file CpModel.pb.cs.
|
inline |
Definition at line 793 of file CpModel.pb.cs.
|
inline |
Definition at line 787 of file CpModel.pb.cs.
|
inline |
Definition at line 808 of file CpModel.pb.cs.
|
inline |
Definition at line 876 of file CpModel.pb.cs.
|
inline |
Definition at line 890 of file CpModel.pb.cs.
|
inline |
Definition at line 821 of file CpModel.pb.cs.
|
inline |
Definition at line 827 of file CpModel.pb.cs.
|
static |
Field number for the "coeffs" field.
Definition at line 763 of file CpModel.pb.cs.
|
static |
Field number for the "offset" field.
Definition at line 774 of file CpModel.pb.cs.
|
static |
Field number for the "vars" field.
Definition at line 752 of file CpModel.pb.cs.
|
get |
Definition at line 769 of file CpModel.pb.cs.
|
staticget |
Definition at line 718 of file CpModel.pb.cs.
|
getset |
Definition at line 778 of file CpModel.pb.cs.
|
staticget |
Definition at line 714 of file CpModel.pb.cs.
|
get |
Definition at line 758 of file CpModel.pb.cs.