Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
A variable is always constrained in the form: lower_bound <= x <= upper_bound where lower_bound and upper_bound: More...
Public Member Functions | |
MPVariableProto () | |
MPVariableProto (MPVariableProto other) | |
MPVariableProto | Clone () |
void | ClearLowerBound () |
Clears the value of the "lower_bound" field. | |
void | ClearUpperBound () |
Clears the value of the "upper_bound" field. | |
void | ClearObjectiveCoefficient () |
Clears the value of the "objective_coefficient" field. | |
void | ClearIsInteger () |
Clears the value of the "is_integer" field. | |
void | ClearName () |
Clears the value of the "name" field. | |
void | ClearBranchingPriority () |
Clears the value of the "branching_priority" field. | |
override bool | Equals (object other) |
bool | Equals (MPVariableProto other) |
override int | GetHashCode () |
override string | ToString () |
void | WriteTo (pb::CodedOutputStream output) |
int | CalculateSize () |
void | MergeFrom (MPVariableProto other) |
void | MergeFrom (pb::CodedInputStream input) |
Static Public Attributes | |
const int | LowerBoundFieldNumber = 1 |
Field number for the "lower_bound" field. | |
const int | UpperBoundFieldNumber = 2 |
Field number for the "upper_bound" field. | |
const int | ObjectiveCoefficientFieldNumber = 3 |
Field number for the "objective_coefficient" field. | |
const int | IsIntegerFieldNumber = 4 |
Field number for the "is_integer" field. | |
const int | NameFieldNumber = 5 |
Field number for the "name" field. | |
const int | BranchingPriorityFieldNumber = 6 |
Field number for the "branching_priority" field. | |
Properties | |
static pb::MessageParser< MPVariableProto > | Parser [get] |
static pbr::MessageDescriptor | Descriptor [get] |
double | LowerBound [get, set] |
lower_bound must be <= upper_bound. | |
bool | HasLowerBound [get] |
Gets whether the "lower_bound" field is set. | |
double | UpperBound [get, set] |
bool | HasUpperBound [get] |
Gets whether the "upper_bound" field is set. | |
double | ObjectiveCoefficient [get, set] |
The coefficient of the variable in the objective. Must be finite. | |
bool | HasObjectiveCoefficient [get] |
Gets whether the "objective_coefficient" field is set. | |
bool | IsInteger [get, set] |
True if the variable is constrained to be integer. Ignored if MPModelProto::solver_type is LINEAR_PROGRAMMING. | |
bool | HasIsInteger [get] |
Gets whether the "is_integer" field is set. | |
string | Name [get, set] |
The name of the variable. | |
bool | HasName [get] |
Gets whether the "name" field is set. | |
int | BranchingPriority [get, set] |
bool | HasBranchingPriority [get] |
Gets whether the "branching_priority" field is set. | |
A variable is always constrained in the form: lower_bound <= x <= upper_bound where lower_bound and upper_bound:
Definition at line 308 of file LinearSolver.pb.cs.
|
inline |
Definition at line 334 of file LinearSolver.pb.cs.
|
inline |
Definition at line 342 of file LinearSolver.pb.cs.
|
inline |
Definition at line 651 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "branching_priority" field.
Definition at line 529 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "is_integer" field.
Definition at line 473 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "lower_bound" field.
Definition at line 385 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "name" field.
Definition at line 502 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "objective_coefficient" field.
Definition at line 442 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "upper_bound" field.
Definition at line 412 of file LinearSolver.pb.cs.
|
inline |
Definition at line 355 of file LinearSolver.pb.cs.
|
inline |
Definition at line 541 of file LinearSolver.pb.cs.
|
inline |
Definition at line 535 of file LinearSolver.pb.cs.
|
inline |
Definition at line 559 of file LinearSolver.pb.cs.
|
inline |
Definition at line 679 of file LinearSolver.pb.cs.
|
inline |
Definition at line 706 of file LinearSolver.pb.cs.
|
inline |
Definition at line 575 of file LinearSolver.pb.cs.
|
inline |
Definition at line 581 of file LinearSolver.pb.cs.
|
static |
Field number for the "branching_priority" field.
Definition at line 507 of file LinearSolver.pb.cs.
|
static |
Field number for the "is_integer" field.
Definition at line 447 of file LinearSolver.pb.cs.
|
static |
Field number for the "lower_bound" field.
Definition at line 360 of file LinearSolver.pb.cs.
|
static |
Field number for the "name" field.
Definition at line 478 of file LinearSolver.pb.cs.
|
static |
Field number for the "objective_coefficient" field.
Definition at line 417 of file LinearSolver.pb.cs.
|
static |
Field number for the "upper_bound" field.
Definition at line 390 of file LinearSolver.pb.cs.
|
getset |
Definition at line 513 of file LinearSolver.pb.cs.
|
staticget |
Definition at line 322 of file LinearSolver.pb.cs.
|
get |
Gets whether the "branching_priority" field is set.
Definition at line 523 of file LinearSolver.pb.cs.
|
get |
Gets whether the "is_integer" field is set.
Definition at line 467 of file LinearSolver.pb.cs.
|
get |
Gets whether the "lower_bound" field is set.
Definition at line 379 of file LinearSolver.pb.cs.
|
get |
Gets whether the "name" field is set.
Definition at line 496 of file LinearSolver.pb.cs.
|
get |
Gets whether the "objective_coefficient" field is set.
Definition at line 436 of file LinearSolver.pb.cs.
|
get |
Gets whether the "upper_bound" field is set.
Definition at line 406 of file LinearSolver.pb.cs.
|
getset |
True if the variable is constrained to be integer. Ignored if MPModelProto::solver_type is LINEAR_PROGRAMMING.
Definition at line 457 of file LinearSolver.pb.cs.
|
getset |
lower_bound must be <= upper_bound.
Definition at line 369 of file LinearSolver.pb.cs.
|
getset |
The name of the variable.
Definition at line 487 of file LinearSolver.pb.cs.
|
getset |
The coefficient of the variable in the objective. Must be finite.
Definition at line 426 of file LinearSolver.pb.cs.
|
staticget |
Definition at line 318 of file LinearSolver.pb.cs.
|
getset |
Definition at line 396 of file LinearSolver.pb.cs.