Scippy

SCIP

Solving Constraint Integer Programs

tclique_coloring.h File Reference

Detailed Description

coloring part of algorithm for maximum cliques

Author
Tobias Achterberg
Ralf Borndoerfer
Zoltan Kormos
Kati Wolter

Definition in file tclique_coloring.h.

#include "blockmemshell/memory.h"
#include "tclique/tclique.h"

Go to the source code of this file.

Typedefs

typedef struct _ITV ITV
 
typedef struct _LIST_ITV LIST_ITV
 
typedef struct _NBC NBC
 

Functions

TCLIQUE_WEIGHT tcliqueColoring (TCLIQUE_GETNNODES((*getnnodes)), TCLIQUE_GETWEIGHTS((*getweights)), TCLIQUE_SELECTADJNODES((*selectadjnodes)), TCLIQUE_GRAPH *tcliquegraph, BMS_CHKMEM *mem, int *buffer, int *V, int nV, NBC *gsd, TCLIQUE_Bool *iscolored, TCLIQUE_WEIGHT *apbound, int *clique, int *nclique, TCLIQUE_WEIGHT *weightclique)
 

Typedef Documentation

typedef struct _ITV ITV
typedef struct _LIST_ITV LIST_ITV
typedef struct _NBC NBC

Function Documentation

TCLIQUE_WEIGHT tcliqueColoring ( TCLIQUE_GETNNODES((*getnnodes))  ,
TCLIQUE_GETWEIGHTS((*getweights))  ,
TCLIQUE_SELECTADJNODES((*selectadjnodes))  ,
TCLIQUE_GRAPH *  tcliquegraph,
BMS_CHKMEM *  mem,
int *  buffer,
int *  V,
int  nV,
NBC gsd,
TCLIQUE_Bool *  iscolored,
TCLIQUE_WEIGHT *  apbound,
int *  clique,
int *  nclique,
TCLIQUE_WEIGHT *  weightclique 
)

colors the positive weighted nodes of a given set of nodes V with the lowest possible number of colors and finds a clique in the graph induced by V, an upper bound and an apriori bound for further branching steps

Parameters
tcliquegraphpointer to graph data structure
memblock memory
bufferbuffer of size nnodes
Vnon-zero weighted nodes for branching
nVnumber of non-zero weighted nodes for branching
gsdneighbour color information of all nodes
iscoloredcoloring status of all nodes
apboundpointer to store apriori bound of nodes for branching
cliquebuffer for storing the clique
ncliquepointer to store number of nodes in the clique
weightcliquepointer to store the weight of the clique