General constraints. See each individual proto type for more information.
More...
General constraints. See each individual proto type for more information.
Definition at line 1258 of file LinearSolver.pb.cs.
|
| static pb::MessageParser< MPGeneralConstraintProto > | Parser [get] |
| static pbr::MessageDescriptor | Descriptor [get] |
| string | Name [get, set] |
| | The name of the constraint.
|
| bool | HasName [get] |
| | Gets whether the "name" field is set.
|
| global::OperationsResearch.MPIndicatorConstraint | IndicatorConstraint [get, set] |
| global::OperationsResearch.MPSosConstraint | SosConstraint [get, set] |
| global::OperationsResearch.MPQuadraticConstraint | QuadraticConstraint [get, set] |
| global::OperationsResearch.MPAbsConstraint | AbsConstraint [get, set] |
| global::OperationsResearch.MPArrayConstraint | AndConstraint [get, set] |
| | All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
|
| global::OperationsResearch.MPArrayConstraint | OrConstraint [get, set] |
| | All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
|
| global::OperationsResearch.MPArrayWithConstantConstraint | MinConstraint [get, set] |
| | resultant_var = min(var_1, var_2, ..., constant)
|
| global::OperationsResearch.MPArrayWithConstantConstraint | MaxConstraint [get, set] |
| | resultant_var = max(var_1, var_2, ..., constant)
|
| GeneralConstraintOneofCase | GeneralConstraintCase [get] |
◆ GeneralConstraintOneofCase
Enum of possible cases for the "general_constraint" oneof.
| Enumerator |
|---|
| None | |
| IndicatorConstraint | |
| SosConstraint | |
| QuadraticConstraint | |
| AbsConstraint | |
| AndConstraint | |
| OrConstraint | |
| MinConstraint | |
| MaxConstraint | |
Definition at line 1470 of file LinearSolver.pb.cs.
◆ MPGeneralConstraintProto() [1/2]
| OperationsResearch.MPGeneralConstraintProto.MPGeneralConstraintProto |
( |
| ) |
|
|
inline |
◆ MPGeneralConstraintProto() [2/2]
◆ CalculateSize()
| int OperationsResearch.MPGeneralConstraintProto.CalculateSize |
( |
| ) |
|
|
inline |
◆ ClearGeneralConstraint()
| void OperationsResearch.MPGeneralConstraintProto.ClearGeneralConstraint |
( |
| ) |
|
|
inline |
◆ ClearName()
| void OperationsResearch.MPGeneralConstraintProto.ClearName |
( |
| ) |
|
|
inline |
◆ Clone()
◆ Equals() [1/2]
◆ Equals() [2/2]
| override bool OperationsResearch.MPGeneralConstraintProto.Equals |
( |
object | other | ) |
|
|
inline |
◆ GetHashCode()
| override int OperationsResearch.MPGeneralConstraintProto.GetHashCode |
( |
| ) |
|
|
inline |
◆ MergeFrom() [1/2]
◆ MergeFrom() [2/2]
| void OperationsResearch.MPGeneralConstraintProto.MergeFrom |
( |
pb.CodedInputStream | input | ) |
|
|
inline |
◆ ToString()
| override string OperationsResearch.MPGeneralConstraintProto.ToString |
( |
| ) |
|
|
inline |
◆ WriteTo()
| void OperationsResearch.MPGeneralConstraintProto.WriteTo |
( |
pb.CodedOutputStream | output | ) |
|
|
inline |
◆ AbsConstraintFieldNumber
| const int OperationsResearch.MPGeneralConstraintProto.AbsConstraintFieldNumber = 5 |
|
static |
◆ AndConstraintFieldNumber
| const int OperationsResearch.MPGeneralConstraintProto.AndConstraintFieldNumber = 6 |
|
static |
◆ IndicatorConstraintFieldNumber
| const int OperationsResearch.MPGeneralConstraintProto.IndicatorConstraintFieldNumber = 2 |
|
static |
◆ MaxConstraintFieldNumber
| const int OperationsResearch.MPGeneralConstraintProto.MaxConstraintFieldNumber = 9 |
|
static |
◆ MinConstraintFieldNumber
| const int OperationsResearch.MPGeneralConstraintProto.MinConstraintFieldNumber = 8 |
|
static |
◆ NameFieldNumber
| const int OperationsResearch.MPGeneralConstraintProto.NameFieldNumber = 1 |
|
static |
◆ OrConstraintFieldNumber
| const int OperationsResearch.MPGeneralConstraintProto.OrConstraintFieldNumber = 7 |
|
static |
◆ QuadraticConstraintFieldNumber
| const int OperationsResearch.MPGeneralConstraintProto.QuadraticConstraintFieldNumber = 4 |
|
static |
◆ SosConstraintFieldNumber
| const int OperationsResearch.MPGeneralConstraintProto.SosConstraintFieldNumber = 3 |
|
static |
◆ AbsConstraint
| global.OperationsResearch.MPAbsConstraint OperationsResearch.MPGeneralConstraintProto.AbsConstraint |
|
getset |
◆ AndConstraint
| global.OperationsResearch.MPArrayConstraint OperationsResearch.MPGeneralConstraintProto.AndConstraint |
|
getset |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
Definition at line 1414 of file LinearSolver.pb.cs.
◆ Descriptor
| pbr.MessageDescriptor OperationsResearch.MPGeneralConstraintProto.Descriptor |
|
staticget |
◆ GeneralConstraintCase
◆ HasName
| bool OperationsResearch.MPGeneralConstraintProto.HasName |
|
get |
◆ IndicatorConstraint
| global.OperationsResearch.MPIndicatorConstraint OperationsResearch.MPGeneralConstraintProto.IndicatorConstraint |
|
getset |
◆ MaxConstraint
| global.OperationsResearch.MPArrayWithConstantConstraint OperationsResearch.MPGeneralConstraintProto.MaxConstraint |
|
getset |
◆ MinConstraint
| global.OperationsResearch.MPArrayWithConstantConstraint OperationsResearch.MPGeneralConstraintProto.MinConstraint |
|
getset |
◆ Name
| string OperationsResearch.MPGeneralConstraintProto.Name |
|
getset |
◆ OrConstraint
| global.OperationsResearch.MPArrayConstraint OperationsResearch.MPGeneralConstraintProto.OrConstraint |
|
getset |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
Definition at line 1430 of file LinearSolver.pb.cs.
◆ Parser
◆ QuadraticConstraint
| global.OperationsResearch.MPQuadraticConstraint OperationsResearch.MPGeneralConstraintProto.QuadraticConstraint |
|
getset |
◆ SosConstraint
| global.OperationsResearch.MPSosConstraint OperationsResearch.MPGeneralConstraintProto.SosConstraint |
|
getset |
The documentation for this class was generated from the following file: