![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
The linear sum vars[i] * coeffs[i] must fall in the given domain. The domain has the same format as the one in IntegerVariableProto. More...
Public Member Functions | |
LinearConstraintProto () | |
LinearConstraintProto (LinearConstraintProto other) | |
LinearConstraintProto | Clone () |
override bool | Equals (object other) |
bool | Equals (LinearConstraintProto other) |
override int | GetHashCode () |
override string | ToString () |
void | WriteTo (pb::CodedOutputStream output) |
int | CalculateSize () |
void | MergeFrom (LinearConstraintProto 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 | DomainFieldNumber = 3 |
Field number for the "domain" field. | |
Properties | |
static pb::MessageParser< LinearConstraintProto > | Parser [get] |
static pbr::MessageDescriptor | Descriptor [get] |
pbc::RepeatedField< int > | Vars [get] |
pbc::RepeatedField< long > | Coeffs [get] |
Same size as vars. | |
pbc::RepeatedField< long > | Domain [get] |
The linear sum vars[i] * coeffs[i] must fall in the given domain. The domain has the same format as the one in IntegerVariableProto.
Definition at line 1417 of file CpModel.pb.cs.
|
inline |
Definition at line 1442 of file CpModel.pb.cs.
|
inline |
Definition at line 1450 of file CpModel.pb.cs.
|
inline |
Definition at line 1569 of file CpModel.pb.cs.
|
inline |
Definition at line 1459 of file CpModel.pb.cs.
|
inline |
Definition at line 1507 of file CpModel.pb.cs.
|
inline |
Definition at line 1501 of file CpModel.pb.cs.
|
inline |
Definition at line 1522 of file CpModel.pb.cs.
|
inline |
Definition at line 1582 of file CpModel.pb.cs.
|
inline |
Definition at line 1594 of file CpModel.pb.cs.
|
inline |
Definition at line 1535 of file CpModel.pb.cs.
|
inline |
Definition at line 1541 of file CpModel.pb.cs.
|
static |
Field number for the "coeffs" field.
Definition at line 1475 of file CpModel.pb.cs.
|
static |
Field number for the "domain" field.
Definition at line 1489 of file CpModel.pb.cs.
|
static |
Field number for the "vars" field.
Definition at line 1464 of file CpModel.pb.cs.
|
get |
Same size as vars.
Definition at line 1484 of file CpModel.pb.cs.
|
staticget |
Definition at line 1430 of file CpModel.pb.cs.
|
get |
Definition at line 1495 of file CpModel.pb.cs.
|
staticget |
Definition at line 1426 of file CpModel.pb.cs.
|
get |
Definition at line 1470 of file CpModel.pb.cs.