|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Permutations Shuffling Detailed Description
Function Documentation
swaps two ints
Definition at line 7824 of file misc.c. Referenced by analyzeConflictOverload(), checkOverloadViaThetaTree(), and isConnectedSOS1().
swaps the addresses of two pointers
Definition at line 7837 of file misc.c. Referenced by applyProbing(), CREATE_CONSTRAINT(), getNextToken(), parseQuadratic(), pushToken(), removeRedundantConss(), SCIProwGetDiscreteScalarProduct(), SCIProwGetScalarProduct(), and tightenVarsBoundsSOS1().
randomly shuffles parts of an integer array using the Fisher-Yates algorithm
Definition at line 7850 of file misc.c. References SCIPgetRandomInt(). Referenced by SCIP_DECL_HEUREXEC().
randomly shuffles parts of an array using the Fisher-Yates algorithm
Definition at line 7879 of file misc.c. References SCIPgetRandomInt(). Referenced by performRandRounding(), preprocessCliques(), and SCIPpermuteProb().
draws a random subset of disjoint elements from a given set of disjoint elements; this implementation is suited for the case that nsubelems is considerably smaller then nelems
Definition at line 7909 of file misc.c. References BMScopyMemoryArray, SCIP_INVALIDDATA, SCIP_OKAY, SCIPerrorMessage, and SCIPgetRandomInt(). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||