Permutations Shuffling Detailed Description
Function Documentation
swaps two ints
Definition at line 7829 of file misc.c. Referenced by analyzeConflictOverload(), checkOverloadViaThetaTree(), and isConnectedSOS1().
swaps the addresses of two pointers
Definition at line 7842 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 7855 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 7884 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 7914 of file misc.c. References BMScopyMemoryArray, SCIP_INVALIDDATA, SCIP_OKAY, SCIPerrorMessage, and SCIPgetRandomInt(). |