All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed Descriptionheuristic that tries to solve the problem without objective. In Gurobi, this heuristic is known as "Hail Mary" Definition in file heur_zeroobj.c. #include <assert.h> #include <string.h> #include "scip/heur_zeroobj.h" #include "scip/cons_linear.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 29 of file heur_zeroobj.c. Referenced by SCIP_DECL_HEURCOPY(), SCIPapplyZeroobj(), and SCIPincludeHeurZeroobj().
Definition at line 30 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 31 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 32 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 33 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 34 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 35 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 36 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
does the heuristic use a secondary SCIP instance? Definition at line 37 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 40 of file heur_zeroobj.c. Referenced by SCIP_DECL_EVENTEXEC(), and SCIPapplyZeroobj().
Definition at line 41 of file heur_zeroobj.c. Referenced by SCIPapplyZeroobj().
Definition at line 44 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 45 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 46 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 47 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 48 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 49 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
Definition at line 50 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj().
should heuristic only be executed if no primal solution was found, yet? Definition at line 51 of file heur_zeroobj.c. Referenced by SCIPincludeHeurZeroobj(). Function Documentation
creates a new solution for the original problem by copying the solution of the subproblem
Definition at line 78 of file heur_zeroobj.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPcreateSol(), SCIPfreeBufferArray, SCIPgetNOrigVars(), SCIPgetSolVals(), SCIPgetVarsData(), SCIPsetSolVals(), SCIPtrySolFree(), and TRUE. Referenced by SCIPapplyZeroobj().
Definition at line 129 of file heur_zeroobj.c. References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_EVENTTYPE_NODESOLVED, SCIP_LPSOLSTAT_ITERLIMIT, SCIP_OKAY, SCIPeventGetType(), SCIPeventhdlrGetName(), SCIPgetLPSolstat(), SCIPgetNLPIterations(), and SCIPinterruptSolve().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 154 of file heur_zeroobj.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurZeroobj().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 168 of file heur_zeroobj.c. References NULL, SCIP_OKAY, SCIPfreeMemory, SCIPheurGetData(), and SCIPheurSetData().
initialization method of primal heuristic (called after problem was transformed) Definition at line 189 of file heur_zeroobj.c. References NULL, SCIP_OKAY, and SCIPheurGetData().
execution method of primal heuristic Definition at line 209 of file heur_zeroobj.c. References MIN, NULL, SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIPapplyZeroobj(), SCIPdebugMessage, SCIPgetNNodes(), SCIPgetNObjVars(), SCIPheurGetData(), SCIPheurGetNBestSolsFound(), SCIPheurGetNCalls(), and SCIPisStopped().
main procedure of the zeroobj heuristic, creates and solves a sub-SCIP
Definition at line 264 of file heur_zeroobj.c. References createNewSol(), EVENTHDLR_DESC, EVENTHDLR_NAME, FALSE, HEUR_NAME, MAX, MIN, NULL, SCIP_Bool, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_EVENTTYPE_NODESOLVED, SCIP_FOUNDSOL, SCIP_OKAY, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPaddCoefLinear(), SCIPaddCons(), SCIPallocBufferArray, SCIPblkmem(), SCIPcalcHashtableSize(), SCIPcatchEvent(), SCIPchgVarLbGlobal(), SCIPchgVarObj(), SCIPchgVarUbGlobal(), SCIPcopy(), SCIPcreate(), SCIPcreateConsLinear(), SCIPdebugMessage, SCIPdropEvent(), SCIPerrorMessage, SCIPfeastol(), SCIPfindBranchrule(), SCIPfindConshdlr(), SCIPfindNodesel(), SCIPfree(), SCIPfreeBufferArray, SCIPgetDepth(), SCIPgetLowerbound(), SCIPgetMemExternEstim(), SCIPgetMemUsed(), SCIPgetNObjVars(), SCIPgetNSols(), SCIPgetNSolsFound(), SCIPgetRealParam(), SCIPgetSols(), SCIPgetSolvingTime(), SCIPgetUpperbound(), SCIPgetVarsData(), SCIPhashmapCreate(), SCIPhashmapFree(), SCIPhashmapGetImage(), SCIPheurGetData(), SCIPheurGetNCalls(), SCIPincludeEventhdlrBasic(), SCIPinfinity(), SCIPisFeasZero(), SCIPisInfinity(), SCIPisParamFixed(), SCIPprintStatistics(), SCIPreleaseCons(), SCIPsetBoolParam(), SCIPsetIntParam(), SCIPsetLongintParam(), SCIPsetPresolving(), SCIPsetRealParam(), SCIPsetSeparating(), SCIPsetSubscipsOff(), SCIPsolve(), SCIPsumepsilon(), SCIPtransformProb(), SCIPvarGetLbGlobal(), SCIPvarGetObj(), SCIPvarGetUbGlobal(), SCIPwarningMessage(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
creates the zeroobj primal heuristic and includes it in SCIP
Definition at line 563 of file heur_zeroobj.c. References DEFAULT_ADDALLSOLS, DEFAULT_MAXLPITERS, DEFAULT_MAXNODES, DEFAULT_MINIMPROVE, DEFAULT_MINNODES, DEFAULT_NODESOFS, DEFAULT_NODESQUOT, DEFAULT_ONLYWITHOUTSOL, 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, SCIPaddBoolParam(), SCIPaddLongintParam(), SCIPaddRealParam(), SCIPallocMemory, SCIPincludeHeurBasic(), SCIPsetHeurCopy(), SCIPsetHeurFree(), SCIPsetHeurInit(), and TRUE. Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins(). |