All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
heur_zirounding.c File Reference Detailed Descriptionzirounding primal heuristic Definition in file heur_zirounding.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 29 of file heur_zirounding.c. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), SCIP_DECL_HEURINITSOL(), and SCIPincludeHeurZirounding().
Definition at line 30 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
Definition at line 31 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
Definition at line 32 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
Definition at line 33 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
Definition at line 34 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
Definition at line 35 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
Definition at line 36 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
does the heuristic use a secondary SCIP instance? Definition at line 37 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
delimits the number of main loops, can be set to -1 for no limit Definition at line 39 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
deactivation check is enabled by default Definition at line 40 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
the tolerance percentage after which zirounding will not be executed anymore Definition at line 41 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding().
number of heuristic calls before deactivation check Definition at line 42 of file heur_zirounding.c. Referenced by SCIPincludeHeurZirounding(). Typedef DocumentationDefinition at line 73 of file heur_zirounding.c. Enumeration Type Documentation
Definition at line 68 of file heur_zirounding.c. Function Documentation
(re)allocates block memory for heuristic arrays if necessary
Definition at line 81 of file heur_zirounding.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemoryArray, and SCIPreallocBlockMemoryArray. Referenced by SCIP_DECL_HEUREXEC(). returns the fractionality of a value x, which is calculated as zivalue(x) = min(x-floor(x), ceil(x)-x)
Definition at line 126 of file heur_zirounding.c. References MIN, NULL, SCIP_Real, SCIPfeasCeil(), and SCIPfeasFloor(). Referenced by SCIP_DECL_HEUREXEC().
determines shifting bounds for variable
Definition at line 144 of file heur_zirounding.c. References MAX, MIN, NULL, SCIP_Real, SCIPcolGetNLPNonz(), SCIPcolGetRows(), SCIPcolGetVals(), SCIPdebugMessage, SCIPinfinity(), SCIPisFeasLT(), SCIPisInfinity(), SCIProwGetLPPos(), SCIPvarGetCol(), SCIPvarGetLbGlobal(), SCIPvarGetUbGlobal(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
when a variable is shifted, the activities and slacks of all rows it appears in have to be updated
Definition at line 268 of file heur_zirounding.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPcolGetNLPNonz(), SCIPcolGetRows(), SCIPcolGetVals(), SCIPgetSolVal(), SCIPisFeasEQ(), SCIPisFeasGE(), SCIPisFeasLE(), SCIPisFeasNegative(), SCIPisFeasZero(), SCIPisInfinity(), SCIProwGetLhs(), SCIProwGetLPPos(), SCIProwGetRhs(), SCIPsetSolVal(), SCIPvarGetCol(), SCIPvarGetLbGlobal(), and SCIPvarGetUbGlobal(). Referenced by SCIP_DECL_HEUREXEC().
finds a continuous slack variable for an equation row, NULL if none exists
Definition at line 353 of file heur_zirounding.c. References NULL, SCIP_Real, SCIP_VARTYPE_CONTINUOUS, SCIPcolGetLPPos(), SCIPcolGetNLPNonz(), SCIPcolGetVar(), SCIPdebugMessage, SCIPisFeasEQ(), SCIProwGetCols(), SCIProwGetName(), SCIProwGetNNonz(), SCIProwGetVals(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetType(), and SCIPvarGetUbGlobal(). Referenced by SCIP_DECL_HEUREXEC().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 412 of file heur_zirounding.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurZirounding().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 426 of file heur_zirounding.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 444 of file heur_zirounding.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreateSol(), SCIPheurGetData(), and SCIPheurGetName().
deinitialization method of primal heuristic (called before transformed problem is freed) Definition at line 470 of file heur_zirounding.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeBlockMemoryArray, SCIPfreeSol(), SCIPheurGetData(), and SCIPheurGetName().
solving process initialization method of primal heuristic (called when branch and bound process is about to begin) Definition at line 509 of file heur_zirounding.c. References HEUR_NAME, NULL, SCIP_OKAY, SCIPheurGetData(), and SCIPheurGetName().
execution method of primal heuristic Definition at line 526 of file heur_zirounding.c. References BMSclearMemoryArray, BMScopyMemoryArray, calculateBounds(), DIRECTION_DOWN, DIRECTION_UP, FALSE, getZiValue(), HEUR_NAME, manageHeurdataMemory(), MAX, MIN, NULL, rowFindSlackVar(), SCIP_Bool, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_FOUNDSOL, SCIP_Longint, SCIP_LPSOLSTAT_OPTIMAL, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_COLUMN, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_CONTINUOUS, SCIPallocBufferArray, SCIPcolGetLPPos(), SCIPcolGetNLPNonz(), SCIPcolGetRows(), SCIPdebugMessage, SCIPfeasCeil(), SCIPfeasFloor(), SCIPfreeBufferArray, SCIPgetCutoffbound(), SCIPgetLPBranchCands(), SCIPgetLPObjval(), SCIPgetLPRows(), SCIPgetLPSolstat(), SCIPgetNLPRows(), SCIPgetNLPs(), SCIPgetRowActivity(), SCIPgetSolOrigObj(), SCIPgetSolVal(), SCIPhasCurrentNodeLP(), SCIPheurGetData(), SCIPheurGetName(), SCIPheurGetNCalls(), SCIPheurGetNSolsFound(), SCIPinfinity(), SCIPisFeasEQ(), SCIPisFeasGE(), SCIPisFeasIntegral(), SCIPisFeasLE(), SCIPisFeasLT(), SCIPisFeasPositive(), SCIPisFeasZero(), SCIPisGE(), SCIPisInfinity(), SCIPlinkLPSol(), SCIPprintSol(), SCIProwGetLhs(), SCIProwGetLPPos(), SCIProwGetName(), SCIProwGetRhs(), SCIPsetSolVal(), SCIPstatisticMessage, SCIPtrySol(), SCIPvarGetCol(), SCIPvarGetIndex(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIPvarGetType(), SCIPvarGetUbGlobal(), TRUE, and updateSlacks().
creates the zirounding primal heuristic and includes it in SCIP
Definition at line 929 of file heur_zirounding.c. References DEFAULT_MAXROUNDINGLOOPS, DEFAULT_MINSTOPNCALLS, DEFAULT_STOPPERCENTAGE, DEFAULT_STOPZIROUND, HEUR_DESC, HEUR_DISPCHAR, HEUR_FREQ, HEUR_FREQOFS, HEUR_MAXDEPTH, HEUR_NAME, HEUR_PRIORITY, HEUR_TIMING, HEUR_USESSUBSCIP, NULL, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPaddIntParam(), SCIPaddRealParam(), SCIPallocMemory, SCIPincludeHeurBasic(), SCIPsetHeurCopy(), SCIPsetHeurExit(), SCIPsetHeurFree(), SCIPsetHeurInit(), SCIPsetHeurInitsol(), and TRUE. Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins(). |