|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed Descriptionmethods for implications, variable bounds, and clique tables Definition in file implics.c. #include <stdlib.h>#include <assert.h>#include "scip/def.h"#include "scip/set.h"#include "scip/stat.h"#include "scip/event.h"#include "scip/var.h"#include "scip/implics.h"#include "scip/pub_message.h"#include "scip/pub_misc.h"#include "scip/debug.h"#include "scip/struct_implics.h"Go to the source code of this file.
Macro Definition Documentation
Definition at line 1773 of file implics.c. Referenced by SCIPcliquetableCreate().
Definition at line 2765 of file implics.c. Referenced by SCIPcliquetableCleanup(). Function Documentation
creates a variable bounds data structure
Definition at line 48 of file implics.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by vboundsEnsureSize().
frees a variable bounds data structure
Definition at line 66 of file implics.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArrayNull, and NULL. Referenced by SCIPvarAggregate(), SCIPvarRemove(), SCIPvboundsDel(), SCIPvboundsShrink(), and varFree().
ensures, that variable bounds arrays can store at least num entries
Definition at line 84 of file implics.c. References BMSreallocBlockMemoryArray, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPsetCalcMemGrowSize(), and vboundsCreate(). Referenced by SCIPvboundsAdd().
binary searches the insertion position of the given variable in the vbounds data structure
Definition at line 118 of file implics.c. References SCIP_VBounds::coefs, FALSE, SCIP_VBounds::len, NULL, SCIP_Bool, SCIP_OKAY, SCIPsortedvecFindPtr(), TRUE, and SCIP_VBounds::vars. Referenced by SCIPvboundsAdd(), and SCIPvboundsDel().
adds a variable bound to the variable bounds data structure
Definition at line 199 of file implics.c. References FALSE, MAX, MIN, NULL, SCIP_Bool, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIP_VARTYPE_CONTINUOUS, SCIPsetIsZero(), SCIPvarGetStatus(), SCIPvarGetType(), TRUE, vboundsEnsureSize(), and vboundsSearchPos(). Referenced by varAddVbound().
removes from variable x a variable bound x >=/<= b*z + d with binary or integer z
Definition at line 281 of file implics.c. References NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPvboundsFree(), and vboundsSearchPos(). Referenced by SCIPvarRemoveCliquesImplicsVbs().
reduces the number of variable bounds stored in the given variable bounds data structure
Definition at line 326 of file implics.c. References NULL, and SCIPvboundsFree(). Referenced by SCIPvarRemoveCliquesImplicsVbs().
comparator function for implication variables in the implication data structure Definition at line 352 of file implics.c. References NULL, and SCIPvarGetIndex().
performs integrity check on implications data structure
Definition at line 376 of file implics.c. References FALSE, SCIP_Implics::nimpls, NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, TRUE, SCIP_Implics::types, and SCIP_Implics::vars. Referenced by SCIPimplicsAdd(), and SCIPimplicsDel().
creates an implications data structure
Definition at line 418 of file implics.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by implicsEnsureSize().
frees an implications data structure
Definition at line 444 of file implics.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArrayNull, and NULL. Referenced by SCIPimplicsDel(), SCIPvarAggregate(), SCIPvarRemove(), SCIPvarRemoveCliquesImplicsVbs(), and varFree().
ensures, that arrays for x == 0 or x == 1 in implications data structure can store at least num entries
Definition at line 467 of file implics.c. References BMSreallocBlockMemoryArray, implicsCreate(), NULL, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, and SCIPsetCalcMemGrowSize(). Referenced by SCIPimplicsAdd().
gets the positions of the implications y >= l and y <= u in the implications data structure; if no lower or upper bound implication for y was found, -1 is returned
Definition at line 509 of file implics.c. References SCIP_Implics::nimpls, NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIPsortedvecFindPtr(), SCIP_Implics::types, and SCIP_Implics::vars. Referenced by implicsSearchImplic(), and SCIPimplicsGetVarImplics().
returns whether variable y is already contained in implications for x == 0 or x == 1 with the given impltype y can be contained in structure with y >= b (y_lower) and y <= b (y_upper)
Definition at line 593 of file implics.c. References implicsSearchVar(), NULL, and SCIP_BOUNDTYPE_LOWER. Referenced by SCIPimplicsAdd(), SCIPimplicsContainsImpl(), and SCIPimplicsDel().
adds an implication x == 0/1 -> y <= b or y >= b to the implications data structure; the implication must be non-redundant
Definition at line 630 of file implics.c. References BMSmoveMemoryArray, checkImplics(), FALSE, implicsEnsureSize(), implicsSearchImplic(), SCIP_Stat::nimplications, NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIPdebugMessage, SCIPsetIsFeasGE(), SCIPsetIsFeasGT(), SCIPsetIsFeasLE(), SCIPsetIsFeasLT(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetStatus(), SCIPvarGetUbGlobal(), SCIPvarIsActive(), and TRUE. Referenced by varAddImplic().
removes the implication x <= 0 or x >= 1 ==> y <= b or y >= b from the implications data structure
Definition at line 837 of file implics.c. References BMSmoveMemoryArray, checkImplics(), implicsSearchImplic(), NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_OKAY, SCIPdebugMessage, SCIPimplicsFree(), and SCIPvarGetName(). Referenced by SCIPvarRemoveCliquesImplicsVbs().
returns which implications on given variable y are contained in implications for x == 0 or x == 1
Definition at line 895 of file implics.c. References implicsSearchVar(), and NULL.
returns whether an implication y <= b or y >= b is contained in implications for x == 0 or x == 1
Definition at line 917 of file implics.c. References implicsSearchImplic(). Referenced by SCIPvarHasImplic().
Definition at line 940 of file implics.c. References SCIP_CliqueTable::cliques, and SCIP_Clique::index. Referenced by cliquetableMarkCliqueForCleanup(), and SCIPcliquetableCleanup().
Definition at line 966 of file implics.c. References SCIP_CliqueTable::cliques, cliquetableSwapCliques(), SCIP_Clique::index, SCIP_CliqueTable::ncliques, SCIP_CliqueTable::ndirtycliques, and SCIPcliqueIsCleanedUp(). Referenced by SCIPcliqueDelVar().
creates a clique data structure with already created variables and values arrays in the size of 'size'
Definition at line 988 of file implics.c. References BMSallocBlockMemory, FALSE, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by SCIPcliquetableAdd().
frees a clique data structure
Definition at line 1022 of file implics.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArrayNull, and NULL. Referenced by SCIPcliquetableAdd(), SCIPcliquetableCleanup(), and SCIPcliquetableFree().
ensures, that clique arrays can store at least num entries
Definition at line 1039 of file implics.c. References BMSreallocBlockMemoryArray, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPsetCalcMemGrowSize(), SCIP_Clique::size, SCIP_Clique::values, and SCIP_Clique::vars. Referenced by SCIPcliqueAddVar().
returns the position of the given variable/value pair in the clique; returns -1 if variable/value pair is not member of the clique
Definition at line 1065 of file implics.c. References NULL, SCIP_Clique::nvars, SCIPvarGetIndex(), SCIP_Clique::values, and SCIP_Clique::vars. Referenced by SCIPcliqueDelVar(), SCIPcliqueHasVar(), and SCIPcliquelistCheck().
returns whether the given variable/value pair is member of the given clique
Definition at line 1125 of file implics.c. References SCIPcliqueSearchVar().
adds a single variable to the given clique
Definition at line 1135 of file implics.c. References BMSmoveMemoryArray, cliqueEnsureSize(), SCIP_Clique::eventsissued, FALSE, SCIP_Clique::id, NULL, SCIP_Clique::nvars, SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIPdebugMessage, SCIPsortedvecFindPtr(), SCIPvarGetName(), SCIPvarGetStatus(), SCIPvarIsBinary(), TRUE, SCIP_Clique::values, and SCIP_Clique::vars. Referenced by SCIPvarAddClique().
removes a single variable from the given clique
Definition at line 1269 of file implics.c. References cliquetableMarkCliqueForCleanup(), SCIP_Clique::id, SCIP_CliqueTable::incleanup, SCIP_Clique::index, NULL, SCIPcliqueSearchVar(), SCIPdebugMessage, SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetUbGlobal(), SCIPvarIsBinary(), SCIP_Clique::startcleanup, SCIP_Clique::values, and SCIP_Clique::vars. Referenced by SCIPcliquelistRemoveFromCliques(), and SCIPvarDelClique().
gets the position of the given clique in the cliques array; returns -1 if clique is not member of cliques array
Definition at line 1317 of file implics.c. References SCIP_Clique::id, and NULL. Referenced by cliqueCheck(), and SCIPcliquelistDel().
checks whether clique appears in all clique lists of the involved variables
Definition at line 1358 of file implics.c. References cliquesSearchClique(), SCIP_Clique::index, NULL, SCIP_Clique::nvars, SCIPvarGetCliques(), SCIPvarGetIndex(), SCIPvarGetLbGlobal(), SCIPvarGetNCliques(), SCIPvarGetUbGlobal(), SCIPvarIsActive(), SCIP_Clique::startcleanup, SCIP_Clique::values, and SCIP_Clique::vars. Referenced by SCIPcliquelistRemoveFromCliques(), SCIPcliquetableAdd(), and SCIPcliquetableCleanup().
creates a clique list data structure
Definition at line 1406 of file implics.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by SCIPcliquelistAdd().
frees a clique list data structure
Definition at line 1425 of file implics.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArrayNull, and NULL. Referenced by SCIPcliquelistDel(), SCIPvarRemoveCliquesImplicsVbs(), and varFree().
ensures, that clique list arrays can store at least num entries
Definition at line 1442 of file implics.c. References BMSreallocBlockMemoryArray, SCIP_CliqueList::cliques, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPsetCalcMemGrowSize(), and SCIP_CliqueList::size. Referenced by SCIPcliquelistAdd().
adds a clique to the clique list
Definition at line 1466 of file implics.c. References BMSmoveMemoryArray, cliquelistCreate(), cliquelistEnsureSize(), SCIP_Clique::id, SCIP_CliqueList::ncliques, NULL, SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPvarAddClique(), SCIPvarAddCliqueToList(), and SCIPvarsAddClique().
removes a clique from the clique list
Definition at line 1511 of file implics.c. References BMSduplicateBlockMemoryArray, BMSfreeBlockMemoryArray, BMSmoveMemoryArray, cliquesSearchClique(), SCIP_Clique::id, SCIP_CliqueList::ncliques, NULL, SCIP_ALLOC, SCIP_Bool, SCIP_OKAY, SCIPcliqueGetNVars(), SCIPcliqueGetValues(), SCIPcliqueGetVars(), SCIPcliquelistFree(), SCIPdebugMessage, and SCIPsortPtrBool(). Referenced by SCIPvarDelClique(), and SCIPvarDelCliqueFromList().
returns whether the given clique lists have a non-empty intersection, i.e. whether there is a clique that appears in both lists
Definition at line 1589 of file implics.c. References SCIP_CliqueList::cliques, FALSE, SCIP_CliqueList::ncliques, NULL, SCIPcliqueGetId(), and TRUE. Referenced by SCIPvarsHaveCommonClique().
removes all listed entries from the cliques
Definition at line 1667 of file implics.c. References cliqueCheck(), SCIP_CliqueList::cliques, SCIP_Clique::equation, FALSE, SCIP_Clique::id, SCIP_CliqueTable::incleanup, SCIP_Clique::index, SCIP_CliqueList::ncliques, NULL, SCIP_Clique::nvars, SCIP_Bool, SCIPcliqueDelVar(), SCIPdebugMessage, SCIPvarGetCliques(), SCIPvarGetName(), SCIPvarGetNCliques(), and SCIPvarIsBinary(). Referenced by SCIPvarRemoveCliquesImplicsVbs().
returns TRUE iff both keys are equal Definition at line 1730 of file implics.c. References FALSE, NULL, SCIP_Clique::nvars, TRUE, SCIP_Clique::values, and SCIP_Clique::vars.
returns the hash value of the key Definition at line 1756 of file implics.c. References SCIP_Clique::nvars, SCIP_Clique::values, and SCIP_Clique::vars.
creates a clique table data structure
Definition at line 1776 of file implics.c. References BMSallocMemory, FALSE, HASHTABLE_CLIQUETABLE_SIZE, MAX, SCIP_Set::misc_usesmalltables, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_HASHSIZE_CLIQUES, SCIP_HASHSIZE_CLIQUES_SMALL, SCIP_OKAY, SCIPcalcHashtableSize(), and SCIPhashtableCreate(). Referenced by SCIPtransformProb().
frees a clique table data structure
Definition at line 1808 of file implics.c. References BMSfreeMemory, BMSfreeMemoryArrayNull, cliqueFree(), NULL, SCIP_OKAY, and SCIPhashtableFree(). Referenced by freeTransform().
ensures, that clique table arrays can store at least num entries
Definition at line 1837 of file implics.c. References BMSreallocMemoryArray, SCIP_CliqueTable::cliques, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPsetCalcMemGrowSize(), and SCIP_CliqueTable::size. Referenced by SCIPcliquetableAdd().
sort variables regarding their index and remove multiple entries of the same variable
Definition at line 1860 of file implics.c. References FALSE, SCIP_Clique::id, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIPdebugMessage, SCIPsortPtrBool(), SCIPvarDelCliqueFromList(), SCIPvarFixBinary(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetStatus(), SCIPvarGetUbGlobal(), SCIPvarIsBinary(), and TRUE. Referenced by cliqueCleanup(), and SCIPcliquetableAdd().
adds a clique to the clique table, using the given values for the given variables; performs implications if the clique contains the same variable twice
Definition at line 2237 of file implics.c. References BMSallocBlockMemoryArray, BMSduplicateBlockMemoryArray, BMSfreeBlockMemoryArray, cliqueCheck(), cliqueCreateWithData(), cliqueFree(), SCIP_CliqueTable::cliques, cliquetableEnsureSize(), SCIP_Clique::equation, FALSE, SCIP_CliqueTable::hashtable, SCIP_Clique::id, SCIP_Clique::index, SCIP_CliqueTable::ncliques, SCIP_CliqueTable::ncreatedcliques, SCIP_CliqueTable::nentries, NULL, SCIP_ALLOC, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIPdebugCheckClique, SCIPdebugMessage, SCIPhashtableInsert(), SCIPhashtableRetrieve(), SCIPvarFixBinary(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetStatus(), SCIPvarGetUbGlobal(), SCIPvarIsBinary(), SCIPvarIsMarkedDeleteGlobalStructures(), SCIPvarsAddClique(), SCIPvarsGetProbvarBinary(), sortAndMergeClique(), and TRUE. Referenced by SCIPaddClique(), and varAddImplic().
clean up given clique by removing fixed variables
Definition at line 2507 of file implics.c. References SCIP_Clique::equation, FALSE, SCIP_Clique::id, NULL, SCIP_Clique::nvars, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIPcliqueIsCleanedUp(), SCIPdebugMessage, SCIPvarAddCliqueToList(), SCIPvarDelCliqueFromList(), SCIPvarFixBinary(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetNegationVar(), SCIPvarGetProbvarBinary(), SCIPvarGetStatus(), SCIPvarGetUbGlobal(), SCIPvarIsMarkedDeleteGlobalStructures(), sortAndMergeClique(), SCIP_Clique::startcleanup, TRUE, SCIP_Clique::values, and SCIP_Clique::vars. Referenced by SCIPcliquetableCleanup().
removes all empty and single variable cliques from the clique table; removes double entries from the clique table
Definition at line 2774 of file implics.c. References checkNEntries, cliqueCheck(), cliqueCleanup(), cliqueFree(), SCIP_CliqueTable::cliques, cliquetableSwapCliques(), SCIP_Clique::equation, SCIP_Clique::eventsissued, FALSE, SCIP_CliqueTable::hashtable, SCIP_Clique::id, SCIP_CliqueTable::incleanup, SCIP_Clique::index, SCIP_CliqueTable::ncleanupaggrvars, SCIP_CliqueTable::ncleanupfixedvars, SCIP_CliqueTable::ncliques, SCIP_CliqueTable::ndirtycliques, SCIP_CliqueTable::nentries, SCIP_Stat::npresolaggrvars, SCIP_Stat::npresolfixedvars, NULL, SCIP_Clique::nvars, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIPcliqueIsCleanedUp(), SCIPdebugMessage, SCIPeventCreateImplAdded(), SCIPeventqueueAdd(), SCIPeventqueueDelay(), SCIPeventqueueProcess(), SCIPhashtableInsert(), SCIPhashtableRemove(), SCIPhashtableRetrieve(), SCIPsetGetStage(), SCIPvarDelCliqueFromList(), SCIPvarGetStatus(), SCIPvarGetType(), SCIPvarTryAggregateVars(), TRUE, SCIP_Clique::values, and SCIP_Clique::vars. Referenced by exitPresolve(), presolveRound(), and SCIPcleanupCliques().
gets number of variable bounds contained in given variable bounds data structure
Definition at line 3015 of file implics.c. References SCIP_VBounds::len, and NULL. Referenced by SCIPvarAggregate(), SCIPvarGetNVlbs(), SCIPvarGetNVubs(), SCIPvarRemoveCliquesImplicsVbs(), and varAddTransitiveImplic().
gets array of variables contained in given variable bounds data structure
Definition at line 3023 of file implics.c. References NULL, and SCIP_VBounds::vars. Referenced by SCIPvarAggregate(), SCIPvarGetVlbVars(), SCIPvarGetVubVars(), SCIPvarRemoveCliquesImplicsVbs(), and varAddTransitiveImplic().
gets array of coefficients contained in given variable bounds data structure
Definition at line 3031 of file implics.c. References SCIP_VBounds::coefs, and NULL. Referenced by SCIPvarAggregate(), SCIPvarGetVlbCoefs(), SCIPvarGetVubCoefs(), SCIPvarRemoveCliquesImplicsVbs(), and varAddTransitiveImplic().
gets array of constants contained in given variable bounds data structure
Definition at line 3039 of file implics.c. References SCIP_VBounds::constants, and NULL. Referenced by SCIPvarAggregate(), SCIPvarGetVlbConstants(), SCIPvarGetVubConstants(), SCIPvarRemoveCliquesImplicsVbs(), and varAddTransitiveImplic().
gets number of implications for a given binary variable fixing
Definition at line 3047 of file implics.c. References SCIP_Implics::nimpls, and NULL. Referenced by SCIPvarAggregate(), SCIPvarGetImplRedcost(), SCIPvarGetNImpls(), SCIPvarRemoveCliquesImplicsVbs(), and varAddTransitiveBinaryClosureImplic().
gets array with implied variables for a given binary variable fixing
Definition at line 3056 of file implics.c. References NULL, and SCIP_Implics::vars. Referenced by SCIPvarAggregate(), SCIPvarGetImplRedcost(), SCIPvarGetImplVars(), SCIPvarRemoveCliquesImplicsVbs(), and varAddTransitiveBinaryClosureImplic().
gets array with implication types for a given binary variable fixing
Definition at line 3065 of file implics.c. References NULL, and SCIP_Implics::types. Referenced by SCIPvarAggregate(), SCIPvarGetImplRedcost(), SCIPvarGetImplTypes(), SCIPvarRemoveCliquesImplicsVbs(), and varAddTransitiveBinaryClosureImplic().
gets array with implication bounds for a given binary variable fixing
Definition at line 3074 of file implics.c. References SCIP_Implics::bounds, and NULL. Referenced by SCIPvarAggregate(), SCIPvarGetImplBounds(), SCIPvarGetImplRedcost(), SCIPvarRemoveCliquesImplicsVbs(), and varAddTransitiveBinaryClosureImplic().
Gets array with unique implication identifiers for a given binary variable fixing. If an implication is a shortcut, i.e., it was added as part of the transitive closure of another implication, its id is negative, otherwise it is nonnegative.
Definition at line 3086 of file implics.c. References SCIP_Implics::ids, and NULL. Referenced by SCIPvarGetImplIds().
gets number of variables in the cliques
Definition at line 3095 of file implics.c. References NULL, and SCIP_Clique::nvars. Referenced by addGLSCliques(), addNextLevelCliques(), collectBinaryCliqueData(), collectMinactImplicVars(), dfs(), getMaxactImplicObjchg(), insertSortedRootNeighbors(), isNeighbor(), propagateVbounds(), SCIPcliquelistDel(), SCIPcopyImplicationsCliques(), SCIPnodePropagateImplics(), SCIPvarAddClique(), SCIPvarGetImplRedcost(), SCIPwriteCliqueGraph(), separateCuts(), and tcliquegraphConstructCliqueTable().
gets array of active problem variables in the cliques
Definition at line 3105 of file implics.c. References NULL, and SCIP_Clique::vars. Referenced by addGLSCliques(), addNextLevelCliques(), collectBinaryCliqueData(), collectMinactImplicVars(), dfs(), getMaxactImplicObjchg(), insertSortedRootNeighbors(), isNeighbor(), propagateVbounds(), SCIPcliquelistDel(), SCIPcopyImplicationsCliques(), SCIPnodePropagateImplics(), SCIPvarAddClique(), SCIPvarGetImplRedcost(), SCIPwriteCliqueGraph(), separateCuts(), and tcliquegraphConstructCliqueTable().
gets array of values of active problem variables in the cliques, i.e. whether the variable is fixed to FALSE or to TRUE in the clique
Definition at line 3117 of file implics.c. References NULL, and SCIP_Clique::values. Referenced by addGLSCliques(), addNextLevelCliques(), collectBinaryCliqueData(), collectMinactImplicVars(), dfs(), getMaxactImplicObjchg(), insertSortedRootNeighbors(), isNeighbor(), propagateVbounds(), SCIPcliquelistDel(), SCIPcopyImplicationsCliques(), SCIPnodePropagateImplics(), SCIPvarAddClique(), SCIPvarGetImplRedcost(), SCIPwriteCliqueGraph(), separateCuts(), and tcliquegraphConstructCliqueTable().
gets unique identifier of the clique
Definition at line 3127 of file implics.c. References SCIP_Clique::id, and NULL. Referenced by SCIP_DECL_HASHKEYEQ(), SCIPcliquelistsHaveCommonClique(), and tcliquegraphAddNode().
gets unique identifier of the clique
Definition at line 3137 of file implics.c. References NULL, and SCIP_Clique::startcleanup. Referenced by cliqueCleanup(), cliquetableMarkCliqueForCleanup(), SCIPcliquetableCleanup(), and SCIPvarGetImplRedcost().
return whether the given clique is an equation
Definition at line 3147 of file implics.c. References SCIP_Clique::equation, NULL, and SCIP_Bool. Referenced by SCIPcopyImplicationsCliques(), and separateCuts().
returns the number of cliques stored in the clique list
Definition at line 3157 of file implics.c. References SCIP_CliqueList::ncliques, and NULL. Referenced by SCIPcliquelistCheck(), and SCIPvarGetNCliques().
returns the cliques stored in the clique list, or NULL if the clique list is empty
Definition at line 3166 of file implics.c. References SCIP_CliqueList::cliques, and NULL. Referenced by SCIPcliquelistCheck(), and SCIPvarGetCliques().
checks whether variable is contained in all cliques of the cliquelist
Definition at line 3175 of file implics.c. References FALSE, NULL, SCIP_Bool, SCIPcliquelistGetCliques(), SCIPcliquelistGetNCliques(), SCIPcliqueSearchVar(), SCIPvarGetCliques(), SCIPvarGetNCliques(), TRUE, SCIP_Clique::values, and SCIP_Clique::vars. Referenced by SCIPvarAddClique(), SCIPvarDelClique(), and SCIPvarsAddClique().
gets the number of cliques stored in the clique table
Definition at line 3217 of file implics.c. References SCIP_CliqueTable::ncliques, and NULL. Referenced by presolve(), SCIPgetNCliques(), SCIPhaveVarsCommonClique(), and SCIPisPresolveFinished().
gets the array of cliques stored in the clique table
Definition at line 3227 of file implics.c. References SCIP_CliqueTable::cliques, and NULL. Referenced by SCIPgetCliques().
gets the number of entries in the whole clique table
Definition at line 3237 of file implics.c. References SCIP_CliqueTable::nentries, and NULL. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||