Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::SecondOrderConeConstraintData Struct Reference

#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< LinearExpressionDataarguments_to_norm
 
std::string name
 

Detailed Description

Internal storage representation for a single second-order cone constraint.

Implements the interface specified for the ConstraintData parameter of AtomicConstraintStorage.

Definition at line 33 of file storage.h.

Member Typedef Documentation

◆ IdType

Definition at line 34 of file storage.h.

◆ ProtoType

Definition at line 35 of file storage.h.

◆ UpdatesProtoType

Definition at line 36 of file storage.h.

Member Function Documentation

◆ DeleteVariable()

void operations_research::math_opt::SecondOrderConeConstraintData::DeleteVariable ( VariableId var)

Definition at line 67 of file storage.cc.

◆ FromProto()

SecondOrderConeConstraintData operations_research::math_opt::SecondOrderConeConstraintData::FromProto ( const ProtoType & in_proto)
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.

◆ Proto()

SecondOrderConeConstraintData::ProtoType operations_research::math_opt::SecondOrderConeConstraintData::Proto ( ) const

Definition at line 43 of file storage.cc.

◆ RelatedVariables()

std::vector< VariableId > operations_research::math_opt::SecondOrderConeConstraintData::RelatedVariables ( ) const

Definition at line 53 of file storage.cc.

Member Data Documentation

◆ arguments_to_norm

std::vector<LinearExpressionData> operations_research::math_opt::SecondOrderConeConstraintData::arguments_to_norm

Definition at line 46 of file storage.h.

◆ name

std::string operations_research::math_opt::SecondOrderConeConstraintData::name

Definition at line 47 of file storage.h.

◆ upper_bound

LinearExpressionData operations_research::math_opt::SecondOrderConeConstraintData::upper_bound

Definition at line 45 of file storage.h.


The documentation for this struct was generated from the following files: