Scippy

GCG

Branch-and-Price & Column Generation for Everyone

automorphism.hpp File Reference

Detailed Description

automorphism recognition (C++ interface)

Author
Erik Muehmer

Definition in file automorphism.hpp.

Go to the source code of this file.

Functions

SCIP_RETCODE cmpGraphPair (SCIP *scip, gcg::PARTIALDECOMP *partialdec, int block1, int block2, SCIP_RESULT *result, SCIP_HASHMAP *varmap, SCIP_HASHMAP *consmap, unsigned int searchnodelimit, unsigned int generatorlimit)
 

Function Documentation

◆ cmpGraphPair()

SCIP_RETCODE cmpGraphPair ( SCIP *  scip,
gcg::PARTIALDECOMP *  partialdec,
int  block1,
int  block2,
SCIP_RESULT *  result,
SCIP_HASHMAP *  varmap,
SCIP_HASHMAP *  consmap,
unsigned int  searchnodelimit,
unsigned int  generatorlimit 
)

compare two graphs w.r.t. automorphism

Parameters
scipSCIP data structure
partialdecpartialdec the graphs should be compared for
block1index of first pricing prob
block2index of second pricing prob
resultresult pointer to indicate success or failure
varmaphashmap to save permutation of variables
consmaphashmap to save permutation of constraints
searchnodelimitsearch node limit
generatorlimitgenerator limit

Definition at line 845 of file automorphism.cpp.

References allocMemoryNewDetection(), createGraphNewDetection(), fhook(), freeMemory(), AUT_HOOK2::generatorlimit, AUT_HOOK2::getBool(), gcg::PARTIALDECOMP::getDetprobdata(), gcg::PARTIALDECOMP::getNCoeffsForBlock(), gcg::PARTIALDECOMP::getNCoeffsForMaster(), gcg::PARTIALDECOMP::getNConssForBlock(), gcg::PARTIALDECOMP::getNMasterconss(), gcg::PARTIALDECOMP::getNVarsForBlock(), AUT_HOOK2::ncalls, NULL, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_OKAY, SCIP_SUCCESS, SCIP_VERBLEVEL_FULL, SCIPdebugMessage, SCIPverbMessage(), and setuparraysnewdetection().