All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed DescriptionLNS heuristic that combines the incumbent with the LP optimum. Definition in file heur_rins.c. #include <assert.h> #include <string.h> #include "scip/scip.h" #include "scip/scipdefplugins.h" #include "scip/cons_linear.h" #include "scip/heur_rins.h" #include "scip/pub_misc.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 31 of file heur_rins.c. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), and SCIPincludeHeurRins().
Definition at line 32 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 33 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 34 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 35 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 36 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 37 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 38 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
does the heuristic use a secondary SCIP instance? Definition at line 39 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 41 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 42 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 43 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 44 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 45 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 46 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 47 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 48 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
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 49 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
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 50 of file heur_rins.c. Referenced by SCIPincludeHeurRins().
Definition at line 53 of file heur_rins.c. Referenced by SCIP_DECL_EVENTEXEC(), and SCIP_DECL_HEUREXEC().
Definition at line 54 of file heur_rins.c. Referenced by SCIP_DECL_HEUREXEC(). Function Documentation
creates a subproblem for subscip by fixing a number of variables
Definition at line 85 of file heur_rins.c. References FALSE, MAX, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPaddCons(), SCIPallocBufferArray, SCIPchgVarLbGlobal(), SCIPchgVarUbGlobal(), SCIPcolGetVar(), SCIPcreateConsLinear(), SCIPfreeBufferArray, SCIPgetBestSol(), SCIPgetLPRowsData(), SCIPgetSolVal(), SCIPgetVarsData(), SCIPisFeasEQ(), SCIPreleaseCons(), SCIProwGetCols(), SCIProwGetConstant(), SCIProwGetLhs(), SCIProwGetName(), SCIProwGetNNonz(), SCIProwGetRhs(), SCIProwGetVals(), SCIProwIsLocal(), SCIPvarGetLPSol(), SCIPvarGetProbindex(), 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 206 of file heur_rins.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPcreateSol(), SCIPfreeBufferArray, SCIPgetNOrigVars(), SCIPgetSolVals(), SCIPgetVarsData(), SCIPsetSolVals(), SCIPtrySolFree(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
Definition at line 256 of file heur_rins.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 286 of file heur_rins.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurRins().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 300 of file heur_rins.c. References NULL, SCIP_OKAY, SCIPfreeMemory, SCIPheurGetData(), and SCIPheurSetData().
initialization method of primal heuristic (called after problem was transformed) Definition at line 321 of file heur_rins.c. References NULL, SCIP_OKAY, and SCIPheurGetData().
execution method of primal heuristic Definition at line 341 of file heur_rins.c. References 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(), SCIPcatchEvent(), SCIPcopy(), SCIPcopyCuts(), SCIPcopyVars(), SCIPcreate(), SCIPcreateProb(), SCIPdebug, SCIPdebugMessage, SCIPdropEvent(), SCIPerrorMessage, SCIPfindBranchrule(), SCIPfindConshdlr(), SCIPfindNodesel(), SCIPfree(), SCIPfreeBufferArray, SCIPgetBestSol(), SCIPgetCutoffbound(), SCIPgetLowerbound(), SCIPgetLPObjval(), SCIPgetLPSolstat(), SCIPgetMemExternEstim(), SCIPgetMemUsed(), SCIPgetNNodes(), SCIPgetNSols(), SCIPgetProbName(), SCIPgetRealParam(), SCIPgetSolNodenum(), SCIPgetSols(), SCIPgetSolvingTime(), SCIPgetUpperbound(), SCIPgetVarsData(), SCIPhasCurrentNodeLP(), SCIPhashmapCreate(), SCIPhashmapFree(), SCIPhashmapGetImage(), SCIPheurGetData(), SCIPheurGetNBestSolsFound(), SCIPheurGetNCalls(), SCIPincludeDefaultPlugins(), SCIPincludeEventhdlrBasic(), SCIPinfinity(), SCIPisGE(), SCIPisInfinity(), SCIPisParamFixed(), SCIPisStopped(), SCIPprintStatistics(), SCIPsetBoolParam(), SCIPsetIntParam(), SCIPsetLongintParam(), SCIPsetObjlimit(), SCIPsetPresolving(), SCIPsetRealParam(), SCIPsetSeparating(), SCIPsetSubscipsOff(), SCIPsnprintf(), SCIPsolIsOriginal(), SCIPsolve(), SCIPsumepsilon(), SCIPtransformProb(), SCIPwarningMessage(), and TRUE.
creates the RINS primal heuristic and includes it in SCIP
Definition at line 671 of file heur_rins.c. References DEFAULT_COPYCUTS, DEFAULT_LPLIMFAC, DEFAULT_MAXNODES, DEFAULT_MINFIXINGRATE, DEFAULT_MINIMPROVE, DEFAULT_MINNODES, DEFAULT_NODESOFS, DEFAULT_NODESQUOT, DEFAULT_NWAITINGNODES, 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_OKAY, SCIP_REAL_MAX, SCIPaddBoolParam(), SCIPaddIntParam(), SCIPaddRealParam(), SCIPallocMemory, SCIPincludeHeurBasic(), SCIPsetHeurCopy(), SCIPsetHeurFree(), SCIPsetHeurInit(), and TRUE. Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins(). |