Detailed DescriptionLP diving heuristic that changes variable's objective value instead of bounds, using pseudo cost values as guide. Definition in file heur_objpscostdiving.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 29 of file heur_objpscostdiving.c. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), and SCIPincludeHeurObjpscostdiving().
Definition at line 30 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
Definition at line 31 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
Definition at line 32 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
Definition at line 33 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
Definition at line 34 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
Definition at line 35 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
Definition at line 36 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
does the heuristic use a secondary SCIP instance? Definition at line 37 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
minimal relative depth to start diving Definition at line 44 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
maximal relative depth to start diving Definition at line 45 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
maximal fraction of diving LP iterations compared to total iteration number Definition at line 46 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
additional number of allowed LP iterations Definition at line 47 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
total number of feasible solutions found up to which heuristic is called (-1: no limit) Definition at line 48 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
maximal diving depth: number of binary/integer variables times depthfac Definition at line 51 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
maximal diving depth factor if no feasible solution was found yet Definition at line 52 of file heur_objpscostdiving.c. Referenced by SCIPincludeHeurObjpscostdiving().
minimal number of LP iterations allowed in each LP solving call Definition at line 54 of file heur_objpscostdiving.c. Referenced by SCIP_DECL_HEUREXEC(). Function Documentation
Definition at line 79 of file heur_objpscostdiving.c. References FALSE, MAX, MIN, NULL, SCIP_DECL_HEURCOPY(), SCIP_Real, SCIPgetVarPseudocostVal(), SCIPvarGetRootSol(), SCIPvarIsBinary(), sqrt(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 140 of file heur_objpscostdiving.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_DECL_HEURFREE(), SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurObjpscostdiving(). Referenced by calcPscostQuot().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 154 of file heur_objpscostdiving.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 174 of file heur_objpscostdiving.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 198 of file heur_objpscostdiving.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 218 of file heur_objpscostdiving.c. References BMSclearMemoryArray, calcPscostQuot(), FALSE, HEUR_NAME, MAX, MIN, MINLPITER, NULL, SCIP_Bool, SCIP_CALL, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_FOUNDSOL, SCIP_Longint, SCIP_LPSOLSTAT_OPTIMAL, SCIP_LPSOLSTAT_UNBOUNDEDRAY, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPchgVarLbDive(), SCIPchgVarObjDive(), SCIPchgVarUbDive(), SCIPdebugMessage, SCIPendDive(), SCIPfeasCeil(), SCIPfeasFloor(), SCIPfreeBufferArray, SCIPgetCutoffbound(), SCIPgetDepth(), SCIPgetDualbound(), SCIPgetLastDivenode(), SCIPgetLPBranchCands(), SCIPgetLPObjval(), SCIPgetLPSolstat(), SCIPgetMaxDepth(), SCIPgetNBinVars(), SCIPgetNIntVars(), SCIPgetNLPIterations(), SCIPgetNNodeLPIterations(), SCIPgetNNodes(), SCIPgetNSolsFound(), SCIPgetSolOrigObj(), SCIPgetVarLbDive(), SCIPgetVarObjDive(), SCIPgetVarUbDive(), SCIPhasCurrentNodeLP(), SCIPheurGetData(), SCIPheurGetName(), SCIPheurGetNBestSolsFound(), SCIPheurGetNCalls(), SCIPincludeHeurObjpscostdiving(), SCIPisGE(), SCIPisLPSolBasic(), SCIPisStopped(), SCIPlinkLPSol(), SCIProundSol(), SCIPsolveDiveLP(), SCIPstartDive(), SCIPtrySol(), SCIPvarGetName(), SCIPvarGetProbindex(), SCIPvarMayRoundDown(), SCIPvarMayRoundUp(), SCIPwarningMessage(), and TRUE. Referenced by SCIP_DECL_HEUREXIT().
creates the objpscostdiving heuristic and includes it in SCIP
Definition at line 601 of file heur_objpscostdiving.c. References 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(). |