probdata_coloring.h
Go to the documentation of this file.
22 * The problem data contains the original graph, preprocessing information, the preprocessed graph,
27 * Additionally, it also deletes nodes that have a dominated neighborhood. For further information,
30 * The deleted nodes and the relation between the nodes of the original graph and the nodes of the
34 * Each variable has a pointer of type SCIP_VARDATA* that is used in this case to store an integer
35 * representing the number of the stable set. With the aid of this, the corresponding stable set can
36 * be found in the array returned by COLORprobGetStableSets(). This array contains all stable sets
38 * done by calling COLORprobStableSetIsNew(). All sets are sorted decreasingly with respect to the
42 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
113 /** checks whether the first set is equal to the second set, both sets have to be sorted in a decreasing way */
189 /** returns the array of nodes deleted during preprocessing, length = COLORprobGetOriginalNNodes(),
196 /** returns the array in which for every node in the preprocessed graph, the related node in the original graph is saved */
201 /** returns the node in the preprocessed graph, that belongs to the given node, returns -1 if node was deleted */
Definition: struct_scip.h:59
int * COLORprobGetOriginalNodesForNewNodes(SCIP *scip)
Definition: probdata_coloring.c:1138
SCIP_RETCODE COLORprobSetUpArrayOfCons(SCIP *scip)
Definition: probdata_coloring.c:1296
Definition: struct_var.h:198
int COLORprobGetNewNodeForOriginalNode(SCIP *scip, int node)
Definition: probdata_coloring.c:1154
TCLIQUE_GRAPH * COLORprobGetOriginalGraph(SCIP *scip)
Definition: probdata_coloring.c:1108
file reader for vertex coloring instances
SCIP_CONS * COLORprobGetConstraint(SCIP *scip, int node)
Definition: probdata_coloring.c:1196
tclique user interface
Constraint handler for the set partitioning / packing / covering constraints .
void COLORprobGetStableSet(SCIP *scip, int setindex, int **stableset, int *nelements)
Definition: probdata_coloring.c:1023
SCIP_Bool COLORprobStableSetIsNew(SCIP *scip, int *stablesetnodes, int nstablesetnodes)
Definition: probdata_coloring.c:936
Definition: struct_cons.h:37
SCIP_CONS ** COLORprobGetConstraints(SCIP *scip)
Definition: probdata_coloring.c:1181
SCIP_RETCODE COLORprobAddNewStableSet(SCIP *scip, int *cliquenodes, int ncliquenodes, int *setindex)
Definition: probdata_coloring.c:969
int * COLORprobGetDeletedNodes(SCIP *scip)
Definition: probdata_coloring.c:1123
void COLORprobPrintStableSet(SCIP *scip, int setnumber)
Definition: probdata_coloring.c:795
SCIP_Bool COLORprobIsNodeInArray(int node, int *arrayNodes, int narraynodes)
Definition: probdata_coloring.c:1325
SCIP_RETCODE COLORprobAddVarForStableSet(SCIP *scip, int setindex, SCIP_VAR *var)
Definition: probdata_coloring.c:823
SCIP_Bool COLORprobEqualSortedArrays(int *array1nodes, int narray1nodes, int *array2nodes, int narray2nodes)
Definition: probdata_coloring.c:1346
SCIP_Bool COLORprobStableSetsAreEqual(SCIP *scip, int *set1, int nset1nodes, int *set2, int nset2nodes)
Definition: probdata_coloring.c:902
SCIP_RETCODE COLORprobGetComplementaryGraph(SCIP *scip, TCLIQUE_GRAPH *graph, TCLIQUE_GRAPH *cgraph)
Definition: probdata_coloring.c:1213
SCIP_VAR * COLORprobGetVarForStableSet(SCIP *scip, int setindex)
Definition: probdata_coloring.c:847
int COLORprobGetOriginalNNodes(SCIP *scip)
Definition: probdata_coloring.c:1077
SCIP_Bool COLORprobIsNodeInStableSet(SCIP *scip, int setindex, int node)
Definition: probdata_coloring.c:864
Definition: objbenders.h:33
SCIP_RETCODE SCIPcreateProbColoring(SCIP *scip, const char *name, int nnodes, int nedges, int **edges)
Definition: probdata_coloring.c:671
void COLORprobPrintStableSets(SCIP *scip)
Definition: probdata_coloring.c:768
void COLORprobGetStableSets(SCIP *scip, int ***stablesets, int **nelements, int *nstablesets)
Definition: probdata_coloring.c:1042
SCIP callable library.