Detailed DescriptionLP diving heuristic that changes variable's objective values using root LP solution as guide. Definition in file heur_rootsoldiving.c. #include <assert.h> #include <string.h> #include "scip/heur_rootsoldiving.h" #include "scip/pub_dive.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 29 of file heur_rootsoldiving.c. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), and SCIPincludeHeurRootsoldiving().
Definition at line 30 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
Definition at line 31 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
Definition at line 32 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
Definition at line 33 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
Definition at line 34 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
Definition at line 35 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
Definition at line 36 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
does the heuristic use a secondary SCIP instance? Definition at line 37 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
minimal relative depth to start diving Definition at line 44 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
maximal relative depth to start diving Definition at line 45 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
maximal fraction of diving LP iterations compared to node LP iterations Definition at line 46 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
additional number of allowed LP iterations Definition at line 47 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
total number of feasible solutions found up to which heuristic is called (-1: no limit) Definition at line 48 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
maximal diving depth: number of binary/integer variables times depthfac Definition at line 51 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
maximal diving depth factor if no feasible solution was found yet Definition at line 52 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving().
minimal number of LP iterations allowed in each LP solving call Definition at line 54 of file heur_rootsoldiving.c. Referenced by SCIP_DECL_HEUREXEC().
soft rounding factor to fade out objective coefficients Definition at line 55 of file heur_rootsoldiving.c. Referenced by SCIPincludeHeurRootsoldiving(). Function Documentation
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 82 of file heur_rootsoldiving.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_DECL_HEURFREE(), SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurRootsoldiving().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 96 of file heur_rootsoldiving.c. References HEUR_NAME, NULL, SCIP_DECL_HEURINIT(), SCIP_OKAY, SCIPfreeMemory, SCIPheurGetData(), SCIPheurGetName(), and SCIPheurSetData(). Referenced by SCIP_DECL_HEURCOPY().
initialization method of primal heuristic (called after problem was transformed) Definition at line 116 of file heur_rootsoldiving.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_DECL_HEUREXIT(), SCIP_OKAY, SCIPcreateSol(), SCIPheurGetData(), and SCIPheurGetName(). Referenced by SCIP_DECL_HEURFREE().
deinitialization method of primal heuristic (called before transformed problem is freed) Definition at line 140 of file heur_rootsoldiving.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_DECL_HEUREXEC(), SCIP_OKAY, SCIPfreeSol(), SCIPheurGetData(), and SCIPheurGetName(). Referenced by SCIP_DECL_HEURINIT().
execution method of primal heuristic Definition at line 160 of file heur_rootsoldiving.c. References BMSclearMemoryArray, FALSE, HEUR_NAME, MAX, MINLPITER, NULL, SCIP_Bool, SCIP_CALL, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_FOUNDSOL, SCIP_Longint, SCIP_LPSOLSTAT_INFEASIBLE, SCIP_LPSOLSTAT_OPTIMAL, SCIP_LPSOLSTAT_UNBOUNDEDRAY, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPchgVarLbDive(), SCIPchgVarObjDive(), SCIPchgVarUbDive(), SCIPdebugMessage, SCIPendDive(), SCIPfeasCeil(), SCIPfeasFloor(), SCIPfloor(), SCIPfreeBufferArray, SCIPgetCutoffbound(), SCIPgetDepth(), SCIPgetDualbound(), SCIPgetLastDivenode(), SCIPgetLPObjval(), SCIPgetLPSolstat(), SCIPgetMaxDepth(), SCIPgetNBinVars(), SCIPgetNIntVars(), SCIPgetNLPBranchCands(), SCIPgetNLPIterations(), SCIPgetNNodeLPIterations(), SCIPgetNNodes(), SCIPgetNSolsFound(), SCIPgetSolOrigObj(), SCIPgetVarLbDive(), SCIPgetVarObjDive(), SCIPgetVarsData(), SCIPgetVarUbDive(), SCIPhasCurrentNodeLP(), SCIPheurGetData(), SCIPheurGetName(), SCIPheurGetNBestSolsFound(), SCIPheurGetNCalls(), SCIPincludeHeurRootsoldiving(), SCIPisFeasIntegral(), SCIPisGE(), SCIPisLPSolBasic(), SCIPisStopped(), SCIPlinkLPSol(), SCIProundSol(), SCIPsolveDiveLP(), SCIPstartDive(), SCIPtrySol(), SCIPvarGetLPSol(), SCIPvarGetName(), SCIPvarGetRootSol(), SCIPwarningMessage(), and TRUE. Referenced by SCIP_DECL_HEUREXIT().
creates the rootsoldiving heuristic and includes it in SCIP
Definition at line 573 of file heur_rootsoldiving.c. References DEFAULT_ALPHA, DEFAULT_DEPTHFAC, DEFAULT_DEPTHFACNOSOL, DEFAULT_MAXLPITEROFS, DEFAULT_MAXLPITERQUOT, DEFAULT_MAXRELDEPTH, DEFAULT_MAXSOLS, DEFAULT_MINRELDEPTH, FALSE, HEUR_DESC, HEUR_DISPCHAR, HEUR_FREQ, HEUR_FREQOFS, HEUR_MAXDEPTH, HEUR_NAME, HEUR_PRIORITY, HEUR_TIMING, HEUR_USESSUBSCIP, NULL, SCIP_CALL, SCIP_OKAY, SCIP_REAL_MAX, SCIPaddIntParam(), SCIPaddRealParam(), SCIPallocMemory, SCIPincludeHeurBasic(), SCIPsetHeurCopy(), SCIPsetHeurExit(), SCIPsetHeurFree(), SCIPsetHeurInit(), and TRUE. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), and SCIPincludeDefaultPlugins(). |