columngraph_def.h
Go to the documentation of this file.
30 * @brief A row graph where each column is a node and columns are adjacent if they appear in one row
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
92 /* first, make sure that there are constraints in every block, otherwise the hole thing is useless */
171 /** @todo skip all variables that have a zero coeffient or where all coefficients add to zero */
static SCIP_RETCODE partition(SCIP *scip, SCIP_VAR **J, int *Jsize, SCIP_Longint *priority, SCIP_VAR **F, int Fsize, SCIP_VAR **origvar, SCIP_Real *median)
Definition: branch_generic.c:910
SCIP_VAR * w
virtual SCIP_RETCODE createFromMatrix(SCIP_CONS **conss, SCIP_VAR **vars, int nconss_, int nvars_)
Definition: columngraph_def.h:118
virtual SCIP_RETCODE createDecompFromPartition(GCG_DECOMP **decomp)
Definition: columngraph_def.h:64
Definition: matrixgraph.h:55
Definition: weights.h:43
A row graph where each column is a node and columns are adjacent if they appear in a row.
SCIP_RETCODE GCGfilloutDecompFromConstoblock(GCG *gcg, GCG_DECOMP *decomp, SCIP_HASHMAP *constoblock, int nblocks, SCIP_Bool staircase)
Definition: decomp.c:1479
SCIP_RETCODE GCGdecompCreate(GCG *gcg, GCG_DECOMP **decdecomp)
Definition: decomp.c:480
#define SCIP_Bool
#define MIN(x, y)
#define MAX(x, y)
#define SCIP_CALL(x)
#define TRUE
#define FALSE
SCIP_STAGE SCIPgetStage(SCIP *scip)
SCIP_CONS ** SCIPgetConss(SCIP *scip)
void SCIPhashmapFree(SCIP_HASHMAP **hashmap)
SCIP_RETCODE SCIPhashmapInsert(SCIP_HASHMAP *hashmap, void *origin, void *image)
SCIP_RETCODE SCIPhashmapCreate(SCIP_HASHMAP **hashmap, BMS_BLKMEM *blkmem, int mapsize)
SCIP_RETCODE SCIPgetConsNVars(SCIP *scip, SCIP_CONS *cons, int *nvars, SCIP_Bool *success)
SCIP_RETCODE SCIPgetConsVars(SCIP *scip, SCIP_CONS *cons, SCIP_VAR **vars, int varssize, SCIP_Bool *success)
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
#define SCIPallocBufferArray(scip, ptr, num)
#define SCIPfreeBufferArray(scip, ptr)
SCIP_VAR * SCIPvarGetProbvar(SCIP_VAR *var)
int SCIPvarGetProbindex(SCIP_VAR *var)
#define NULL
#define BMSclearMemoryArray(ptr, num)
Definition: class_conspartition.cpp:44
#define SCIPdebugMessage
Definition: struct_decomp.h:53
Definition: struct_gcg.h:55
int TCLIQUE_WEIGHT
SCIP_OKAY
enum SCIP_Retcode SCIP_RETCODE
SCIP_STAGE_TRANSFORMED