GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
automorphism.hpp
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the program and library */
4/* GCG --- Generic Column Generation */
5/* a Dantzig-Wolfe decomposition based extension */
6/* of the branch-cut-and-price framework */
7/* SCIP --- Solving Constraint Integer Programs */
8/* */
9/* Copyright (C) 2010-2026 Operations Research, RWTH Aachen University */
10/* Zuse Institute Berlin (ZIB) */
11/* */
12/* Licensed under the Apache License, Version 2.0 (the "License"); */
13/* you may not use this file except in compliance with the License. */
14/* You may obtain a copy of the License at */
15/* */
16/* http://www.apache.org/licenses/LICENSE-2.0 */
17/* */
18/* Unless required by applicable law or agreed to in writing, software */
19/* distributed under the License is distributed on an "AS IS" BASIS, */
20/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
21/* See the License for the specific language governing permissions and */
22/* limitations under the License. */
23/* */
24/* You should have received a copy of the Apache-2.0 license */
25/* along with GCG; see the file LICENSE. If not visit gcg.or.rwth-aachen.de.*/
26/* */
27/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
28
29/**@file automorphism.hpp
30 * @brief automorphism recognition (C++ interface)
31 *
32 * @author Erik Muehmer
33 */
34
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
36
37#ifndef GCG_AUTOMORPHISM_HPP__
38#define GCG_AUTOMORPHISM_HPP__
39
41
42
43/** compare two graphs w.r.t. automorphism */
45 SCIP* scip, /**< SCIP data structure */
46 gcg::PARTIALDECOMP* partialdec, /**< partialdec the graphs should be compared for */
47 int block1, /**< index of first pricing prob */
48 int block2, /**< index of second pricing prob */
49 SCIP_RESULT* result, /**< result pointer to indicate success or failure */
50 SCIP_HASHMAP* varmap, /**< hashmap to save permutation of variables */
51 SCIP_HASHMAP* consmap, /**< hashmap to save permutation of constraints */
52 unsigned int searchnodelimit, /**< search node limit */
53 unsigned int generatorlimit /**< generator limit */
54);
55
56#endif //GCG_AUTOMORPHISM_HPP__
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)
class storing (potentially incomplete) decompositions
class to manage partial decompositions
* result
struct SCIP_HashMap SCIP_HASHMAP
enum SCIP_Result SCIP_RESULT
enum SCIP_Retcode SCIP_RETCODE
struct Scip SCIP