Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.2.0
SCIP 8.1.0
SCIP 7.0.3
SCIP 6.0.2
SCIP 5.0.1
SCIP 4.0.1
SCIP 3.2.1
SCIP
Solving Constraint Integer Programs
symmetry
compute_symmetry.h
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2
/* */
3
/* This file is part of the program and library */
4
/* SCIP --- Solving Constraint Integer Programs */
5
/* */
6
/* Copyright (C) 2002-2017 Konrad-Zuse-Zentrum */
7
/* fuer Informationstechnik Berlin */
8
/* */
9
/* SCIP is distributed under the terms of the ZIB Academic License. */
10
/* */
11
/* You should have received a copy of the ZIB Academic License */
12
/* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13
/* */
14
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15
16
/**@file compute_symmetry.h
17
* @brief interface for symmetry computations
18
* @author Marc Pfetsch
19
*/
20
21
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22
23
#ifndef __SCIP_COMPUTE_SYMMETRY_H_
24
#define __SCIP_COMPUTE_SYMMETRY_H_
25
26
#include "
scip/scip.h
"
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
#include "
symmetry/struct_symmetry.h
"
33
34
/** return whether symmetry can be computed */
35
extern
36
SCIP_Bool
SYMcanComputeSymmetry
(
void
);
37
38
/** return name of external program used to compute generators */
39
extern
40
const
char
*
SYMsymmetryGetName
(
void
);
41
42
/** return description of external program used to compute generators */
43
extern
44
const
char
*
SYMsymmetryGetDesc
(
void
);
45
46
/** compute generators of symmetry group */
47
extern
48
SCIP_RETCODE
SYMcomputeSymmetryGenerators
(
49
SCIP
*
scip
,
/**< SCIP pointer */
50
int
maxgenerators,
/**< maximal number of generators constructed (= 0 if unlimited) */
51
SYM_MATRIXDATA
* matrixdata,
/**< data for MIP matrix */
52
int
* nperms,
/**< pointer to store number of permutations */
53
int
* nmaxperms,
/**< pointer to store maximal number of permutations (needed for freeing storage) */
54
int
*** perms,
/**< pointer to store permutation generators as (nperms x npermvars) matrix */
55
SCIP_Real
* log10groupsize
/**< pointer to store log10 of size of group */
56
);
57
58
#ifdef __cplusplus
59
}
60
#endif
61
62
#endif
Scip
Definition:
struct_scip.h:58
SCIP_RETCODE
enum SCIP_Retcode SCIP_RETCODE
Definition:
type_retcode.h:53
struct_symmetry.h
structs for symmetry computations
SCIP_Bool
#define SCIP_Bool
Definition:
def.h:61
SYMcanComputeSymmetry
SCIP_Bool SYMcanComputeSymmetry(void)
Definition:
compute_symmetry_bliss.cpp:271
SYMcomputeSymmetryGenerators
SCIP_RETCODE SYMcomputeSymmetryGenerators(SCIP *scip, int maxgenerators, SYM_MATRIXDATA *matrixdata, int *nperms, int *nmaxperms, int ***perms, SCIP_Real *log10groupsize)
Definition:
compute_symmetry_bliss.cpp:297
SYMsymmetryGetName
const char * SYMsymmetryGetName(void)
Definition:
compute_symmetry_bliss.cpp:280
SCIP_Real
#define SCIP_Real
Definition:
def.h:149
SYMsymmetryGetDesc
const char * SYMsymmetryGetDesc(void)
Definition:
compute_symmetry_bliss.cpp:291
SYM_Matrixdata
Definition:
struct_symmetry.h:44
scip
Definition:
objbranchrule.h:33
scip.h
SCIP callable library.