All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed DescriptionDINS primal heuristic (according to Ghosh) Definition in file heur_dins.c. #include <assert.h> #include <string.h> #include "scip/scip.h" #include "scip/scipdefplugins.h" #include "scip/cons_linear.h" #include "scip/heur_dins.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 31 of file heur_dins.c. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), and SCIPincludeHeurDins().
Definition at line 32 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 33 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 34 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 35 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 36 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 37 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 38 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
does the heuristic use a secondary SCIP instance? Definition at line 39 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 41 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 42 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 43 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 44 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 45 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 46 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 47 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 48 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 49 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 50 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Value:
FALSE /* should subproblem be created out of the rows in the LP rows,
* otherwise, the copy constructors of the constraints handlers are used */
Definition at line 51 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Value:
TRUE /* if DEFAULT_USELPROWS is FALSE, then should all active cuts from the cutpool
* of the original scip be copied to constraints of the subscip */
Definition at line 52 of file heur_dins.c. Referenced by SCIPincludeHeurDins().
Definition at line 55 of file heur_dins.c. Referenced by SCIP_DECL_EVENTEXEC(), and SCIP_DECL_HEUREXEC().
Definition at line 56 of file heur_dins.c. Referenced by SCIP_DECL_HEUREXEC(). Function Documentation
creates a subproblem for subscip by fixing a number of variables
Definition at line 93 of file heur_dins.c. References FALSE, MAX, MIN, NULL, REALABS, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIP_VARTYPE_INTEGER, SCIPaddCons(), SCIPallocBufferArray, SCIPchgVarLbGlobal(), SCIPchgVarUbGlobal(), SCIPcolGetVar(), SCIPcreateConsLinear(), SCIPfeasCeil(), SCIPfeasFloor(), SCIPfreeBufferArray, SCIPgetBestSol(), SCIPgetLPRowsData(), SCIPgetSolVal(), SCIPisFeasEQ(), SCIPreleaseCons(), SCIProwGetCols(), SCIProwGetConstant(), SCIProwGetLhs(), SCIProwGetName(), SCIProwGetNNonz(), SCIProwGetRhs(), SCIProwGetVals(), SCIProwIsLocal(), SCIPvarGetLbGlobal(), SCIPvarGetLPSol(), SCIPvarGetProbindex(), SCIPvarGetType(), SCIPvarGetUbGlobal(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
create the extra constraint of local branching and add it to subscip
Definition at line 252 of file heur_dins.c. References FALSE, NULL, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_Real, SCIP_VARTYPE_BINARY, SCIPaddCons(), SCIPallocBufferArray, SCIPcreateConsLinear(), SCIPfreeBufferArray, SCIPgetBestSol(), SCIPgetProbName(), SCIPgetSolVal(), SCIPgetVarsData(), SCIPisFeasEQ(), SCIPisFeasIntegral(), SCIPreleaseCons(), SCIPsnprintf(), SCIPvarGetType(), 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 330 of file heur_dins.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPcreateSol(), SCIPdebugMessage, SCIPfreeBufferArray, SCIPgetNOrigVars(), SCIPgetSolVals(), SCIPgetVarsData(), SCIPsetSolVals(), SCIPtrySolFree(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
Definition at line 385 of file heur_dins.c. References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_EVENTTYPE_LPSOLVED, SCIP_OKAY, SCIPdebugMessage, SCIPeventGetType(), SCIPeventhdlrGetName(), SCIPgetNLPs(), and SCIPinterruptSolve().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 415 of file heur_dins.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurDins().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 429 of file heur_dins.c. References NULL, SCIP_OKAY, SCIPfreeMemory, SCIPheurGetData(), and SCIPheurSetData().
solving process initialization method of primal heuristic (called when branch and bound process is about to begin) Definition at line 450 of file heur_dins.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemoryArray, SCIPgetNBinVars(), SCIPheurGetData(), and TRUE.
solving process deinitialization method of primal heuristic (called before branch and bound process data is freed) Definition at line 481 of file heur_dins.c. References NULL, SCIP_OKAY, SCIPfreeBlockMemoryArray, and SCIPheurGetData().
execution method of primal heuristic Definition at line 502 of file heur_dins.c. References addLocalBranchingConstraint(), createNewSol(), createSubproblem(), EVENTHDLR_DESC, EVENTHDLR_NAME, FALSE, HEUR_NAME, MAX, MIN, NULL, SCIP_Bool, SCIP_CALL, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_EVENTTYPE_LPSOLVED, SCIP_FOUNDSOL, SCIP_Longint, SCIP_LPSOLSTAT_OPTIMAL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPallocBufferArray, SCIPblkmem(), SCIPcalcHashtableSize(), SCIPcalcMemGrowSize(), SCIPcatchEvent(), SCIPcopy(), SCIPcopyCuts(), SCIPcopyVars(), SCIPcreate(), SCIPcreateProb(), SCIPdebug, SCIPdebugMessage, SCIPdropEvent(), SCIPerrorMessage, SCIPfindBranchrule(), SCIPfindConshdlr(), SCIPfindNodesel(), SCIPfixVar(), SCIPfree(), SCIPfreeBufferArray, SCIPgetBestSol(), SCIPgetCutoffbound(), SCIPgetLowerbound(), SCIPgetLPObjval(), SCIPgetLPSolstat(), SCIPgetMemExternEstim(), SCIPgetMemUsed(), SCIPgetNBinVars(), SCIPgetNConss(), SCIPgetNIntVars(), SCIPgetNNodes(), SCIPgetNSols(), SCIPgetNSolsFound(), SCIPgetNVars(), SCIPgetProbName(), SCIPgetRealParam(), SCIPgetSolHeur(), SCIPgetSolNodenum(), SCIPgetSols(), SCIPgetSolVal(), SCIPgetSolvingTime(), SCIPgetUpperbound(), SCIPgetVarsData(), SCIPhasCurrentNodeLP(), SCIPhashmapCreate(), SCIPhashmapFree(), SCIPhashmapGetImage(), SCIPheurGetData(), SCIPheurGetNBestSolsFound(), SCIPheurGetNCalls(), SCIPincludeDefaultPlugins(), SCIPincludeEventhdlrBasic(), SCIPinfinity(), SCIPisFeasEQ(), SCIPisGE(), SCIPisInfinity(), SCIPisParamFixed(), SCIPisStopped(), SCIPprintStatistics(), SCIPreallocBlockMemoryArray, SCIPsetBoolParam(), SCIPsetIntParam(), SCIPsetLongintParam(), SCIPsetObjlimit(), SCIPsetPresolving(), SCIPsetRealParam(), SCIPsetSeparating(), SCIPsetSubscipsOff(), SCIPsnprintf(), SCIPsolve(), SCIPsumepsilon(), SCIPtransformProb(), SCIPvarGetLbGlobal(), SCIPvarGetLPSol(), SCIPvarGetRootSol(), SCIPvarGetUbGlobal(), SCIPwarningMessage(), and TRUE.
creates the DINS primal heuristic and includes it in SCIP
Definition at line 961 of file heur_dins.c. References DEFAULT_COPYCUTS, DEFAULT_LPLIMFAC, DEFAULT_MAXNODES, DEFAULT_MINFIXINGRATE, DEFAULT_MINIMPROVE, DEFAULT_MINNODES, DEFAULT_NEIGHBORHOODSIZE, DEFAULT_NODESOFS, DEFAULT_NODESQUOT, DEFAULT_NWAITINGNODES, DEFAULT_SOLNUM, DEFAULT_USELPROWS, 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(), SCIPsetHeurExitsol(), SCIPsetHeurFree(), SCIPsetHeurInitsol(), and TRUE. Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins(). |