Detailed Descriptionimprovement heuristic that alters single variable values Definition in file heur_oneopt.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 32 of file heur_oneopt.c. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXITSOL(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINITSOL(), and SCIPincludeHeurOneopt().
Definition at line 33 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt().
Definition at line 34 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt().
Definition at line 35 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt().
Definition at line 36 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt().
Definition at line 37 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt().
Definition at line 38 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt().
Definition at line 39 of file heur_oneopt.c. Referenced by SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXITSOL(), and SCIPincludeHeurOneopt().
does the heuristic use a secondary SCIP instance? Definition at line 40 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt().
should the objective be weighted with the potential shifting value when sorting the shifting candidates? Definition at line 42 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt().
should the heuristic be called before and during the root node? Definition at line 43 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt().
should the heuristic be called before presolving Definition at line 44 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt().
should the construction of the LP be forced even if LP solving is deactivated? Definition at line 45 of file heur_oneopt.c. Referenced by SCIPincludeHeurOneopt(). Function Documentation
creates a new solution for the original problem by copying the solution of the subproblem
Definition at line 68 of file heur_oneopt.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().
compute value by which the solution of variable
Definition at line 114 of file heur_oneopt.c. References FALSE, MAX, MIN, NULL, SCIP_Bool, SCIP_Real, SCIPcolGetNLPNonz(), SCIPcolGetRows(), SCIPcolGetVals(), SCIPdebugMessage, SCIPfeasFloor(), SCIPgetNLPRows(), SCIPisFeasGE(), SCIPisFeasLE(), SCIPisInfinity(), SCIProwGetLhs(), SCIProwGetLPPos(), SCIProwGetName(), SCIProwGetRhs(), SCIProwIsInLP(), SCIProwIsLocal(), SCIPvarGetCol(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetUbGlobal(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
update row activities after a variable's solution value changed
Definition at line 213 of file heur_oneopt.c. References NULL, SCIP_OKAY, SCIP_Real, SCIPcolGetNLPNonz(), SCIPcolGetRows(), SCIPcolGetVals(), SCIPgetNLPRows(), SCIPinfinity(), SCIPisInfinity(), SCIProwGetLPPos(), SCIProwIsLocal(), and SCIPvarGetCol(). Referenced by SCIP_DECL_HEUREXEC().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 267 of file heur_oneopt.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurOneopt().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 281 of file heur_oneopt.c. References HEUR_NAME, NULL, SCIP_OKAY, SCIPfreeMemory, SCIPheurGetData(), SCIPheurGetName(), and SCIPheurSetData().
solving process initialization method of primal heuristic (called when branch and bound process is about to begin) Definition at line 301 of file heur_oneopt.c. References HEUR_NAME, NULL, SCIP_HEURTIMING_BEFORENODE, SCIP_HEURTIMING_DURINGLPLOOP, SCIP_OKAY, SCIPheurGetData(), SCIPheurGetFreqofs(), SCIPheurGetName(), and SCIPheurSetTimingmask().
solving process deinitialization method of primal heuristic (called before branch and bound process data is freed) Definition at line 320 of file heur_oneopt.c. References HEUR_NAME, HEUR_TIMING, NULL, SCIP_OKAY, SCIPheurGetName(), and SCIPheurSetTimingmask().
initialization method of primal heuristic (called after problem was transformed) Definition at line 333 of file heur_oneopt.c. References NULL, SCIP_OKAY, and SCIPheurGetData().
execution method of primal heuristic Definition at line 353 of file heur_oneopt.c. References calcShiftVal(), createNewSol(), FALSE, HEUR_TIMING, NULL, SCIP_Bool, SCIP_CALL, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_FOUNDSOL, SCIP_HEURTIMING_BEFORENODE, SCIP_HEURTIMING_BEFOREPRESOL, SCIP_LPSOLSTAT_OPTIMAL, SCIP_OKAY, SCIP_PARAMSETTING_OFF, SCIP_Real, SCIP_VARSTATUS_COLUMN, SCIPallocBufferArray, SCIPblkmem(), SCIPcalcHashtableSize(), SCIPchgVarLbDive(), SCIPchgVarUbDive(), SCIPconstructLP(), SCIPcopy(), SCIPcreate(), SCIPcreateOrigSol(), SCIPcreateSolCopy(), SCIPdebug, SCIPdebugMessage, SCIPendDive(), SCIPflushLP(), SCIPfree(), SCIPfreeBufferArray, SCIPfreeSol(), SCIPgetBestSol(), SCIPgetLPRowsData(), SCIPgetLPSolstat(), SCIPgetMemExternEstim(), SCIPgetMemUsed(), SCIPgetNLPIterations(), SCIPgetNLPRows(), SCIPgetNNodes(), SCIPgetNSols(), SCIPgetRealParam(), SCIPgetRowSolActivity(), SCIPgetSols(), SCIPgetSolVal(), SCIPgetSolVals(), SCIPgetSolvingTime(), SCIPgetVarsData(), SCIPhasCurrentNodeLP(), SCIPhashmapCreate(), SCIPhashmapFree(), SCIPhashmapGetImage(), SCIPheurGetData(), SCIPheurSetTimingmask(), SCIPisFeasGE(), SCIPisFeasGT(), SCIPisFeasLE(), SCIPisFeasLT(), SCIPisFeasZero(), SCIPisInfinity(), SCIPisParamFixed(), SCIPlinkLPSol(), SCIPprintRow(), SCIPprintSol(), SCIPprintStatistics(), SCIPreallocBufferArray, SCIProwGetLhs(), SCIProwGetLPPos(), SCIProwGetName(), SCIProwGetRhs(), SCIProwIsLocal(), SCIPsetBoolParam(), SCIPsetHeuristics(), SCIPsetIntParam(), SCIPsetLongintParam(), SCIPsetPresolving(), SCIPsetRealParam(), SCIPsetSeparating(), SCIPsetSolVal(), SCIPsetSolVals(), SCIPsolGetIndex(), SCIPsolIsOriginal(), SCIPsolSetHeur(), SCIPsolve(), SCIPsolveDiveLP(), SCIPsortRealPtr(), SCIPstartDive(), SCIPtransformProb(), SCIPtrySol(), SCIPtrySolFree(), SCIPunfixParam(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIPvarGetType(), SCIPvarGetUbGlobal(), SCIPwarningMessage(), TRUE, and updateRowActivities().
creates the oneopt primal heuristic and includes it in SCIP
Definition at line 865 of file heur_oneopt.c. References DEFAULT_BEFOREPRESOL, DEFAULT_DURINGROOT, DEFAULT_FORCELPCONSTRUCTION, DEFAULT_WEIGHTEDOBJ, HEUR_DESC, HEUR_DISPCHAR, HEUR_FREQ, HEUR_FREQOFS, HEUR_MAXDEPTH, HEUR_NAME, HEUR_PRIORITY, HEUR_TIMING, HEUR_USESSUBSCIP, NULL, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPallocMemory, SCIPincludeHeurBasic(), SCIPsetHeurCopy(), SCIPsetHeurExitsol(), SCIPsetHeurFree(), SCIPsetHeurInit(), SCIPsetHeurInitsol(), and TRUE. Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins(). |