All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed DescriptionLNS heuristic using a clique partition to restrict the search neighborhood. clique primal heuristic Definition in file heur_clique.c. #include <assert.h> #include <string.h> #include "scip/scip.h" #include "scip/heur_clique.h" #include "scip/cons_logicor.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 33 of file heur_clique.c. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), and SCIPincludeHeurClique().
Definition at line 34 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
Definition at line 35 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
Definition at line 36 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
Definition at line 37 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
Definition at line 38 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
Definition at line 39 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
Definition at line 40 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
does the heuristic use a secondary SCIP instance? Definition at line 41 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
maximum number of nodes to regard in the subproblem Definition at line 43 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
minimum percentage of integer variables that have to be fixed Definition at line 44 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
factor by which clique heuristic should at least improve the incumbent Definition at line 45 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
minimum number of nodes to regard in the subproblem Definition at line 48 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
number of nodes added to the contingent of the total nodes Definition at line 49 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
subproblem nodes in relation to nodes of the original problem Definition at line 50 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
maximum number of propagation rounds during probing Definition at line 51 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
random seed value to initialize the random permutation value for variables Definition at line 52 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
value to increase node number to determine the next run Definition at line 55 of file heur_clique.c. Referenced by SCIPincludeHeurClique().
should all active cuts from the cutpool of the original scip be copied to constraints of the subscip Definition at line 56 of file heur_clique.c. Referenced by SCIPincludeHeurClique(). Function Documentation
comparison method for sorting variables by non-decreasing index Definition at line 91 of file heur_clique.c. References NULL, and SCIPvarGetObj().
sort the binary variable array w.r.t. the clique partition; thereby ensure the current order within the cliques are not changed
Definition at line 114 of file heur_clique.c. References BMSclearMemoryArray, BMScopyMemoryArray, NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPfreeBufferArray, SCIPvarGetName(), and SCIPvarGetObj(). Referenced by SCIP_DECL_HEUREXEC().
apply clique fixing using probing
Definition at line 243 of file heur_clique.c. References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_FOUNDSOL, SCIP_OKAY, SCIPdebugMessage, SCIPfixVarProbing(), SCIPgetProbingDepth(), SCIPgetSolOrigObj(), SCIPisStopped(), SCIPlinkCurrentSol(), SCIPnewProbingNode(), SCIPpropagateProbing(), SCIProundSol(), SCIPtrySol(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetUbLocal(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
creates a new solution for the original problem by copying the solution of the subproblem
Definition at line 404 of file heur_clique.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPfreeBufferArray, SCIPgetNOrigVars(), SCIPgetSolVals(), SCIPgetVarsData(), SCIPsetSolVals(), SCIPtrySol(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 452 of file heur_clique.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurClique().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 466 of file heur_clique.c. References HEUR_NAME, NULL, SCIP_OKAY, SCIPfreeMemory, SCIPheurGetData(), SCIPheurGetName(), and SCIPheurSetData().
initialization method of primal heuristic (called after problem was transformed) Definition at line 487 of file heur_clique.c. References HEUR_NAME, NULL, SCIP_OKAY, SCIPheurGetData(), and SCIPheurGetName().
execution method of primal heuristic Definition at line 510 of file heur_clique.c. References applyCliqueFixings(), createNewSol(), FALSE, HEUR_NAME, MIN, NULL, SCIP_Bool, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_FOUNDSOL, SCIP_Longint, SCIP_LPSOLSTAT_ERROR, SCIP_LPSOLSTAT_INFEASIBLE, SCIP_LPSOLSTAT_OBJLIMIT, SCIP_LPSOLSTAT_OPTIMAL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIP_Real, SCIP_STATUS_INFEASIBLE, SCIPaddConsNode(), SCIPallocBufferArray, SCIPbacktrackProbing(), SCIPblkmem(), SCIPcalcCliquePartition(), SCIPcalcHashtableSize(), SCIPceil(), SCIPconstructLP(), SCIPcopy(), SCIPcopyCuts(), SCIPcreate(), SCIPcreateConsLogicor(), SCIPcreateSol(), SCIPdebug, SCIPdebugMessage, SCIPdebugPrintCons, SCIPduplicateBufferArray, SCIPendProbing(), SCIPfindConshdlr(), SCIPfixVarProbing(), SCIPflushLP(), SCIPfree(), SCIPfreeBufferArray, SCIPfreeSol(), SCIPgetBoolParam(), SCIPgetCurrentNode(), SCIPgetLowerbound(), SCIPgetLPSolstat(), SCIPgetMemExternEstim(), SCIPgetMemUsed(), SCIPgetNCliques(), SCIPgetNConss(), SCIPgetNegatedVars(), SCIPgetNImplications(), SCIPgetNLPIterations(), SCIPgetNNodes(), SCIPgetNSols(), SCIPgetNVars(), SCIPgetRealParam(), SCIPgetSolOrigObj(), SCIPgetSols(), SCIPgetSolvingTime(), SCIPgetStatus(), SCIPgetUpperbound(), SCIPgetVarsData(), SCIPhasCurrentNodeLP(), SCIPhashmapCreate(), SCIPhashmapFree(), SCIPhashmapGetImage(), SCIPheurGetData(), SCIPheurGetName(), SCIPheurGetNBestSolsFound(), SCIPheurGetNCalls(), SCIPinfinity(), SCIPinProbing(), SCIPisInfinity(), SCIPisLPConstructed(), SCIPisParamFixed(), SCIPisStopped(), SCIPlinkLPSol(), SCIPpermuteArray(), SCIPpresolve(), SCIPprintSol(), SCIPprintStatistics(), SCIPpropagateProbing(), SCIPreleaseCons(), SCIProundSol(), SCIPsetBoolParam(), SCIPsetIntParam(), SCIPsetLongintParam(), SCIPsetObjlimit(), SCIPsetPresolving(), SCIPsetRealParam(), SCIPsetSeparating(), SCIPsetSubscipsOff(), SCIPsnprintf(), SCIPsolve(), SCIPsolveProbingLP(), SCIPsortPtr(), SCIPstartProbing(), SCIPsumepsilon(), SCIPtrySol(), SCIPwarningMessage(), stableSortBinvars(), and TRUE.
creates the clique primal heuristic and includes it in SCIP
Definition at line 1047 of file heur_clique.c. References DEFAULT_COPYCUTS, DEFAULT_INITSEED, DEFAULT_MAXNODES, DEFAULT_MAXPROPROUNDS, DEFAULT_MINFIXINGRATE, DEFAULT_MINIMPROVE, DEFAULT_MINNODES, DEFAULT_MULTIPLIER, DEFAULT_NODESOFS, DEFAULT_NODESQUOT, FALSE, HEUR_DESC, HEUR_DISPCHAR, HEUR_FREQ, HEUR_FREQOFS, HEUR_MAXDEPTH, HEUR_NAME, HEUR_PRIORITY, HEUR_TIMING, HEUR_USESSUBSCIP, NULL, SCIP_CALL, SCIP_LONGINT_MAX, SCIP_OKAY, SCIP_REAL_MAX, SCIPaddBoolParam(), SCIPaddIntParam(), SCIPaddLongintParam(), SCIPaddRealParam(), SCIPallocMemory, SCIPincludeHeurBasic(), SCIPsetHeurCopy(), SCIPsetHeurFree(), SCIPsetHeurInit(), and TRUE. Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins(). |