Google OR-Tools v9.11
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 1367 of file CpModel.pb.cs.
|
inline |
Definition at line 1392 of file CpModel.pb.cs.
|
inline |
Definition at line 1400 of file CpModel.pb.cs.
|
inline |
Definition at line 1519 of file CpModel.pb.cs.
|
inline |
Definition at line 1409 of file CpModel.pb.cs.
|
inline |
Definition at line 1457 of file CpModel.pb.cs.
|
inline |
Definition at line 1451 of file CpModel.pb.cs.
|
inline |
Definition at line 1472 of file CpModel.pb.cs.
|
inline |
Definition at line 1532 of file CpModel.pb.cs.
|
inline |
Definition at line 1544 of file CpModel.pb.cs.
|
inline |
Definition at line 1485 of file CpModel.pb.cs.
|
inline |
Definition at line 1491 of file CpModel.pb.cs.
|
static |
Field number for the "coeffs" field.
Definition at line 1425 of file CpModel.pb.cs.
|
static |
Field number for the "domain" field.
Definition at line 1439 of file CpModel.pb.cs.
|
static |
Field number for the "vars" field.
Definition at line 1414 of file CpModel.pb.cs.
|
get |
Same size as vars.
Definition at line 1434 of file CpModel.pb.cs.
|
staticget |
Definition at line 1380 of file CpModel.pb.cs.
|
get |
Definition at line 1445 of file CpModel.pb.cs.
|
staticget |
Definition at line 1376 of file CpModel.pb.cs.
|
get |
Definition at line 1420 of file CpModel.pb.cs.