![]() |
Google OR-Tools v9.14
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...
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 1421 of file CpModel.pb.cs.
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] |
|
inline |
Definition at line 1446 of file CpModel.pb.cs.
|
inline |
Definition at line 1454 of file CpModel.pb.cs.
|
inline |
Definition at line 1573 of file CpModel.pb.cs.
|
inline |
Definition at line 1463 of file CpModel.pb.cs.
|
inline |
Definition at line 1511 of file CpModel.pb.cs.
|
inline |
Definition at line 1505 of file CpModel.pb.cs.
|
inline |
Definition at line 1526 of file CpModel.pb.cs.
|
inline |
Definition at line 1586 of file CpModel.pb.cs.
|
inline |
Definition at line 1598 of file CpModel.pb.cs.
|
inline |
Definition at line 1539 of file CpModel.pb.cs.
|
inline |
Definition at line 1545 of file CpModel.pb.cs.
|
static |
Field number for the "coeffs" field.
Definition at line 1479 of file CpModel.pb.cs.
|
static |
Field number for the "domain" field.
Definition at line 1493 of file CpModel.pb.cs.
|
static |
Field number for the "vars" field.
Definition at line 1468 of file CpModel.pb.cs.
|
get |
Same size as vars.
Definition at line 1488 of file CpModel.pb.cs.
|
staticget |
Definition at line 1434 of file CpModel.pb.cs.
|
get |
Definition at line 1499 of file CpModel.pb.cs.
|
staticget |
Definition at line 1430 of file CpModel.pb.cs.
|
get |
Definition at line 1474 of file CpModel.pb.cs.