All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed DescriptionLP diving heuristic that chooses fixings w.r.t. the matrix coefficients. Indicator constraints are taken into account if present. Definition in file heur_coefdiving.c. #include <assert.h> #include <string.h> #include "scip/heur_coefdiving.h" #include "scip/cons_indicator.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 33 of file heur_coefdiving.c. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), and SCIPincludeHeurCoefdiving().
Definition at line 34 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
Definition at line 35 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
Definition at line 36 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
Definition at line 37 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
Definition at line 38 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
Definition at line 39 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
Definition at line 40 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
does the heuristic use a secondary SCIP instance? Definition at line 41 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
minimal relative depth to start diving Definition at line 48 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
maximal relative depth to start diving Definition at line 49 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
maximal fraction of diving LP iterations compared to node LP iterations Definition at line 50 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
additional number of allowed LP iterations Definition at line 51 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
maximal quotient (curlowerbound - lowerbound)/(cutoffbound - lowerbound) where diving is performed (0.0: no limit) Definition at line 52 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
maximal quotient (curlowerbound - lowerbound)/(avglowerbound - lowerbound) where diving is performed (0.0: no limit) Definition at line 54 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
maximal UBQUOT when no solution was found yet (0.0: no limit) Definition at line 56 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
maximal AVGQUOT when no solution was found yet (0.0: no limit) Definition at line 57 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
use one level of backtracking if infeasibility is encountered? Definition at line 58 of file heur_coefdiving.c. Referenced by SCIPincludeHeurCoefdiving().
minimal number of LP iterations allowed in each LP solving call Definition at line 60 of file heur_coefdiving.c. Referenced by SCIP_DECL_HEUREXEC(). Function Documentation
get indicator candidate variables
Definition at line 91 of file heur_coefdiving.c. References NULL, SCIP_OKAY, SCIP_Real, SCIPfrac(), SCIPgetBinaryVarIndicator(), SCIPgetSolVal(), SCIPisFeasIntegral(), and SCIPisViolatedIndicator(). Referenced by SCIP_DECL_HEUREXEC().
choose best candidate variable
Definition at line 137 of file heur_coefdiving.c. References FALSE, NULL, SCIP_Bool, SCIP_INVALID, SCIP_OKAY, SCIP_Real, SCIPvarGetNLocksDown(), SCIPvarGetNLocksUp(), SCIPvarIsBinary(), SCIPvarMayRoundDown(), and SCIPvarMayRoundUp(). Referenced by SCIP_DECL_HEUREXEC().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 273 of file heur_coefdiving.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurCoefdiving().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 287 of file heur_coefdiving.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 307 of file heur_coefdiving.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreateSol(), SCIPfindConshdlr(), SCIPheurGetData(), and SCIPheurGetName().
deinitialization method of primal heuristic (called before transformed problem is freed) Definition at line 334 of file heur_coefdiving.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeSol(), SCIPheurGetData(), and SCIPheurGetName().
execution method of primal heuristic Definition at line 354 of file heur_coefdiving.c. References FALSE, getBestCandidate(), getIndCandVars(), HEUR_NAME, MAX, MIN, MINLPITER, NULL, SCIP_Bool, SCIP_CALL, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_FOUNDSOL, SCIP_INVALID, SCIP_Longint, SCIP_LPSOLSTAT_INFEASIBLE, SCIP_LPSOLSTAT_OBJLIMIT, SCIP_LPSOLSTAT_OPTIMAL, SCIP_OKAY, SCIP_Real, SCIP_VARTYPE_BINARY, SCIPallocBufferArray, SCIPbacktrackProbing(), SCIPceil(), SCIPchgVarLbProbing(), SCIPchgVarUbProbing(), SCIPconshdlrGetConss(), SCIPconshdlrGetNConss(), SCIPdebugMessage, SCIPenableVarHistory(), SCIPendProbing(), SCIPfeasCeil(), SCIPfeasFloor(), SCIPfreeBufferArray, SCIPfreeBufferArrayNull, SCIPgetAvgDualbound(), SCIPgetAvgLowerbound(), SCIPgetCutoffbound(), SCIPgetDepth(), SCIPgetDualbound(), SCIPgetLastDivenode(), SCIPgetLowerbound(), SCIPgetLPBranchCands(), SCIPgetLPObjval(), SCIPgetLPSolstat(), SCIPgetMaxDepth(), SCIPgetNBinVars(), SCIPgetNIntVars(), SCIPgetNLPIterations(), SCIPgetNNodeLPIterations(), SCIPgetNNodes(), SCIPgetNSolsFound(), SCIPgetProbingDepth(), SCIPgetSolOrigObj(), SCIPhasCurrentNodeLP(), SCIPheurGetData(), SCIPheurGetName(), SCIPheurGetNBestSolsFound(), SCIPheurGetNCalls(), SCIPinfinity(), SCIPisFeasGT(), SCIPisFeasIntegral(), SCIPisFeasLT(), SCIPisGE(), SCIPisGT(), SCIPisLPSolBasic(), SCIPisLT(), SCIPisObjIntegral(), SCIPisStopped(), SCIPlinkLPSol(), SCIPmakeIndicatorsFeasible(), SCIPnewProbingNode(), SCIPpropagateProbing(), SCIPretransformObj(), SCIProundSol(), SCIPsolveProbingLP(), SCIPstartProbing(), SCIPtrySol(), SCIPupdateVarPseudocost(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetType(), SCIPvarGetUbLocal(), SCIPwarningMessage(), and TRUE.
creates the coefdiving heuristic and includes it in SCIP
Definition at line 817 of file heur_coefdiving.c. References DEFAULT_BACKTRACK, DEFAULT_MAXDIVEAVGQUOT, DEFAULT_MAXDIVEAVGQUOTNOSOL, DEFAULT_MAXDIVEUBQUOT, DEFAULT_MAXDIVEUBQUOTNOSOL, DEFAULT_MAXLPITEROFS, DEFAULT_MAXLPITERQUOT, DEFAULT_MAXRELDEPTH, 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, SCIPaddBoolParam(), SCIPaddIntParam(), SCIPaddRealParam(), SCIPallocMemory, SCIPincludeHeurBasic(), SCIPsetHeurCopy(), SCIPsetHeurExit(), SCIPsetHeurFree(), SCIPsetHeurInit(), and TRUE. Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins(). |