Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <storage.h>
Public Types | |
using | IdType = SecondOrderConeConstraintId |
using | ProtoType = SecondOrderConeConstraintProto |
using | UpdatesProtoType = SecondOrderConeConstraintUpdatesProto |
Public Member Functions | |
ProtoType | Proto () const |
std::vector< VariableId > | RelatedVariables () const |
void | DeleteVariable (VariableId var) |
Static Public Member Functions | |
static SecondOrderConeConstraintData | FromProto (const ProtoType &in_proto) |
Public Attributes | |
LinearExpressionData | upper_bound |
std::vector< LinearExpressionData > | arguments_to_norm |
std::string | name |
Internal storage representation for a single second-order cone constraint.
Implements the interface specified for the ConstraintData
parameter of AtomicConstraintStorage
.
using operations_research::math_opt::SecondOrderConeConstraintData::IdType = SecondOrderConeConstraintId |
using operations_research::math_opt::SecondOrderConeConstraintData::ProtoType = SecondOrderConeConstraintProto |
using operations_research::math_opt::SecondOrderConeConstraintData::UpdatesProtoType = SecondOrderConeConstraintUpdatesProto |
void operations_research::math_opt::SecondOrderConeConstraintData::DeleteVariable | ( | VariableId | var | ) |
Definition at line 67 of file storage.cc.
|
static |
The in_proto
must be in a valid state; see the inline comments on SecondOrderConeConstraintProto
for details.
Definition at line 29 of file storage.cc.
SecondOrderConeConstraintData::ProtoType operations_research::math_opt::SecondOrderConeConstraintData::Proto | ( | ) | const |
Definition at line 43 of file storage.cc.
std::vector< VariableId > operations_research::math_opt::SecondOrderConeConstraintData::RelatedVariables | ( | ) | const |
Definition at line 53 of file storage.cc.
std::vector<LinearExpressionData> operations_research::math_opt::SecondOrderConeConstraintData::arguments_to_norm |
std::string operations_research::math_opt::SecondOrderConeConstraintData::name |
LinearExpressionData operations_research::math_opt::SecondOrderConeConstraintData::upper_bound |