Detailed Descriptionsimple and fast LP rounding heuristic The heuristic also tries to round relaxation solutions if available. Definition in file heur_simplerounding.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 32 of file heur_simplerounding.c. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), SCIP_DECL_HEURINITSOL(), and SCIPincludeHeurSimplerounding().
Definition at line 33 of file heur_simplerounding.c. Referenced by SCIPincludeHeurSimplerounding().
Definition at line 34 of file heur_simplerounding.c. Referenced by SCIPincludeHeurSimplerounding().
Definition at line 35 of file heur_simplerounding.c. Referenced by SCIPincludeHeurSimplerounding().
Definition at line 36 of file heur_simplerounding.c. Referenced by SCIPincludeHeurSimplerounding().
Definition at line 37 of file heur_simplerounding.c. Referenced by SCIPincludeHeurSimplerounding().
Definition at line 38 of file heur_simplerounding.c. Referenced by SCIPincludeHeurSimplerounding().
Definition at line 39 of file heur_simplerounding.c. Referenced by SCIP_DECL_HEUREXITSOL(), and SCIPincludeHeurSimplerounding().
does the heuristic use a secondary SCIP instance? Definition at line 40 of file heur_simplerounding.c. Referenced by SCIPincludeHeurSimplerounding().
should the heuristic only be called once per node? Definition at line 42 of file heur_simplerounding.c. Referenced by SCIPincludeHeurSimplerounding(). Function Documentation
perform rounding
Definition at line 60 of file heur_simplerounding.c. References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_FOUNDSOL, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_COLUMN, SCIPadjustImplicitSolVals(), SCIPallColsInLP(), SCIPdebugMessage, SCIPfeasCeil(), SCIPfeasFloor(), SCIPisFeasIntegral(), SCIPprintSol(), SCIPsetSolVal(), SCIPtrySol(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIPvarMayRoundDown(), SCIPvarMayRoundUp(), and TRUE. Referenced by performLPSimpleRounding(), and performRelaxSimpleRounding().
perform LP-rounding
Definition at line 146 of file heur_simplerounding.c. References NULL, performSimpleRounding(), SCIP_CALL, SCIP_HEURTIMING_DURINGPRICINGLOOP, SCIP_Longint, SCIP_LPSOLSTAT_OPTIMAL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPgetCutoffbound(), SCIPgetLPBranchCands(), SCIPgetLPObjval(), SCIPgetLPSolstat(), SCIPgetNLPs(), SCIPisGE(), and SCIPlinkLPSol(). Referenced by SCIP_DECL_HEUREXEC().
perform relaxation solution rounding
Definition at line 202 of file heur_simplerounding.c. References NULL, performSimpleRounding(), SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPdebugMessage, SCIPfreeBufferArray, SCIPgetRelaxSolVal(), SCIPgetVarsData(), SCIPisFeasIntegral(), SCIPisRelaxSolValid(), and SCIPlinkRelaxSol(). Referenced by SCIP_DECL_HEUREXEC().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 276 of file heur_simplerounding.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurSimplerounding().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 290 of file heur_simplerounding.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 310 of file heur_simplerounding.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 329 of file heur_simplerounding.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeSol(), SCIPheurGetData(), and SCIPheurGetName().
solving process initialization method of primal heuristic (called when branch and bound process is about to begin) Definition at line 346 of file heur_simplerounding.c. References HEUR_NAME, NULL, SCIP_HEURTIMING_AFTERLPNODE, SCIP_OKAY, SCIPheurGetData(), SCIPheurGetName(), and SCIPheurSetTimingmask().
solving process deinitialization method of primal heuristic (called before branch and bound process data is freed) Definition at line 366 of file heur_simplerounding.c. References HEUR_TIMING, SCIP_OKAY, and SCIPheurSetTimingmask().
execution method of primal heuristic Definition at line 377 of file heur_simplerounding.c. References HEUR_NAME, NULL, performLPSimpleRounding(), performRelaxSimpleRounding(), SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_HEURTIMING_DURINGPRICINGLOOP, SCIP_LPSOLSTAT_OPTIMAL, SCIP_OKAY, SCIPgetCutoffbound(), SCIPgetLPObjval(), SCIPgetLPSolstat(), SCIPgetNBinVars(), SCIPgetNIntVars(), SCIPgetNLPs(), SCIPgetVars(), SCIPhasCurrentNodeLP(), SCIPheurGetData(), SCIPheurGetName(), SCIPisGE(), SCIPisRelaxSolValid(), SCIPvarMayRoundDown(), and SCIPvarMayRoundUp().
creates the simple rounding heuristic and includes it in SCIP
Definition at line 443 of file heur_simplerounding.c. References DEFAULT_ONCEPERNODE, 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(), SCIPsetHeurExit(), SCIPsetHeurExitsol(), SCIPsetHeurFree(), SCIPsetHeurInit(), SCIPsetHeurInitsol(), and TRUE. Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins(). |