Detailed Description
#include <assert.h>#include "scip/clock.h"#include "gcg/gcg.h"#include "gcg/pub_gcgcol.h"#include "gcg/colpool.h"#include "gcg/struct_colpool.h"#include "gcg/pricestore_gcg.h"#include "gcg/struct_pricestore_gcg.h"#include "gcg/pricer_gcg.h"#include "gcg/struct_gcgcol.h"Go to the source code of this file.
Macros | |
| #define | GCG_USESMALLTABLES FALSE |
| #define | GCG_HASHSIZE_COLPOOLS_SMALL 100 |
| #define | GCG_HASHSIZE_COLPOOLS 500 |
Macro Definition Documentation
◆ GCG_USESMALLTABLES
| #define GCG_USESMALLTABLES FALSE |
Definition at line 50 of file colpool.c.
Referenced by GCGcolpoolCreate().
◆ GCG_HASHSIZE_COLPOOLS_SMALL
| #define GCG_HASHSIZE_COLPOOLS_SMALL 100 |
size of hash table in col pools for small problems
Definition at line 51 of file colpool.c.
Referenced by GCGcolpoolCreate().
◆ GCG_HASHSIZE_COLPOOLS
| #define GCG_HASHSIZE_COLPOOLS 500 |
size of hash table in col pools
Definition at line 52 of file colpool.c.
Referenced by GCGcolpoolCreate().
Function Documentation
◆ colpoolEnsureColsMem()
|
static |
resizes cols array to be able to store at least num entries
- Parameters
-
colpool col pool num minimal number of slots in array
Definition at line 60 of file colpool.c.
References assert(), colpoolEnsureColsMem(), GCG_Colpool::cols, GCG_Colpool::colssize, GCG_Colpool::scip, and SCIP_CALL().
Referenced by colpoolEnsureColsMem(), and GCGcolpoolAddNewCol().
◆ colpoolDelCol()
|
static |
removes the col from the col pool
- Parameters
-
colpool col pool col col to remove freecol should the col be freed?
Definition at line 156 of file colpool.c.
References assert(), colpoolDelCol(), GCG_Colpool::cols, GCG_Colpool::firstunprocessed, GCG_Colpool::firstunprocessedsol, GCGfreeGcgCol(), GCG_Colpool::hashtable, GCG_Colpool::ncols, GCG_Col::pos, and SCIP_CALL().
Referenced by colpoolDelCol(), GCGcolpoolClear(), GCGcolpoolDelCol(), GCGcolpoolPrice(), and GCGcolpoolPropagateGlobalBounds().