Scippy

GCG

Branch-and-Price & Column Generation for Everyone

sort_pred Struct Reference

Detailed Description

locally used macro to help with sorting, comparator

Definition at line 240 of file cons_decomp.cpp.

Public Member Functions

bool operator() (const std::pair< PARTIALDECOMP *, SCIP_Real > &left, const std::pair< PARTIALDECOMP *, SCIP_Real > &right)
 
bool operator() (const std::pair< int, int > &left, const std::pair< int, int > &right)
 
bool operator() (const std::pair< int, int > &left, const std::pair< int, int > &right)
 

Member Function Documentation

◆ operator()() [1/3]

bool sort_pred::operator() ( const std::pair< PARTIALDECOMP *, SCIP_Real > &  left,
const std::pair< PARTIALDECOMP *, SCIP_Real > &  right 
)
inline

Definition at line 241 of file cons_decomp.cpp.

◆ operator()() [2/3]

bool sort_pred::operator() ( const std::pair< int, int > &  left,
const std::pair< int, int > &  right 
)
inline

Definition at line 85 of file dec_densemasterconss.cpp.

◆ operator()() [3/3]

bool sort_pred::operator() ( const std::pair< int, int > &  left,
const std::pair< int, int > &  right 
)
inline

Definition at line 89 of file dec_neighborhoodmaster.cpp.