![]() |
Google OR-Tools v9.15
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...
A variable is always constrained in the form: lower_bound <= x <= upper_bound where lower_bound and upper_bound:
Definition at line 307 of file LinearSolver.pb.cs.
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. | |
|
inline |
Definition at line 333 of file LinearSolver.pb.cs.
|
inline |
Definition at line 341 of file LinearSolver.pb.cs.
|
inline |
Definition at line 650 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "branching_priority" field.
Definition at line 528 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "is_integer" field.
Definition at line 472 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "lower_bound" field.
Definition at line 384 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "name" field.
Definition at line 501 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "objective_coefficient" field.
Definition at line 441 of file LinearSolver.pb.cs.
|
inline |
Clears the value of the "upper_bound" field.
Definition at line 411 of file LinearSolver.pb.cs.
|
inline |
Definition at line 354 of file LinearSolver.pb.cs.
|
inline |
Definition at line 540 of file LinearSolver.pb.cs.
|
inline |
Definition at line 534 of file LinearSolver.pb.cs.
|
inline |
Definition at line 558 of file LinearSolver.pb.cs.
|
inline |
Definition at line 678 of file LinearSolver.pb.cs.
|
inline |
Definition at line 705 of file LinearSolver.pb.cs.
|
inline |
Definition at line 574 of file LinearSolver.pb.cs.
|
inline |
Definition at line 580 of file LinearSolver.pb.cs.
|
static |
Field number for the "branching_priority" field.
Definition at line 506 of file LinearSolver.pb.cs.
|
static |
Field number for the "is_integer" field.
Definition at line 446 of file LinearSolver.pb.cs.
|
static |
Field number for the "lower_bound" field.
Definition at line 359 of file LinearSolver.pb.cs.
|
static |
Field number for the "name" field.
Definition at line 477 of file LinearSolver.pb.cs.
|
static |
Field number for the "objective_coefficient" field.
Definition at line 416 of file LinearSolver.pb.cs.
|
static |
Field number for the "upper_bound" field.
Definition at line 389 of file LinearSolver.pb.cs.
|
getset |
Definition at line 512 of file LinearSolver.pb.cs.
|
staticget |
Definition at line 321 of file LinearSolver.pb.cs.
|
get |
Gets whether the "branching_priority" field is set.
Definition at line 522 of file LinearSolver.pb.cs.
|
get |
Gets whether the "is_integer" field is set.
Definition at line 466 of file LinearSolver.pb.cs.
|
get |
Gets whether the "lower_bound" field is set.
Definition at line 378 of file LinearSolver.pb.cs.
|
get |
Gets whether the "name" field is set.
Definition at line 495 of file LinearSolver.pb.cs.
|
get |
Gets whether the "objective_coefficient" field is set.
Definition at line 435 of file LinearSolver.pb.cs.
|
get |
Gets whether the "upper_bound" field is set.
Definition at line 405 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 456 of file LinearSolver.pb.cs.
|
getset |
lower_bound must be <= upper_bound.
Definition at line 368 of file LinearSolver.pb.cs.
|
getset |
The name of the variable.
Definition at line 486 of file LinearSolver.pb.cs.
|
getset |
The coefficient of the variable in the objective. Must be finite.
Definition at line 425 of file LinearSolver.pb.cs.
|
staticget |
Definition at line 317 of file LinearSolver.pb.cs.
|
getset |
Definition at line 395 of file LinearSolver.pb.cs.