Detailed Descriptionoctane primal heuristic based on Balas, Ceria, Dawande, Margot, and Pataki Definition in file heur_octane.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 28 of file heur_octane.c. Referenced by SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), and SCIPincludeHeurOctane().
Definition at line 29 of file heur_octane.c. Referenced by SCIPincludeHeurOctane().
Definition at line 30 of file heur_octane.c. Referenced by SCIPincludeHeurOctane().
Definition at line 31 of file heur_octane.c. Referenced by SCIPincludeHeurOctane().
Definition at line 32 of file heur_octane.c. Referenced by SCIPincludeHeurOctane().
Definition at line 33 of file heur_octane.c. Referenced by SCIPincludeHeurOctane().
Definition at line 34 of file heur_octane.c. Referenced by SCIPincludeHeurOctane().
Definition at line 35 of file heur_octane.c. Referenced by SCIPincludeHeurOctane().
does the heuristic use a secondary SCIP instance? Definition at line 36 of file heur_octane.c. Referenced by SCIPincludeHeurOctane().
{0,1}-points to be checked Definition at line 38 of file heur_octane.c. Referenced by SCIPincludeHeurOctane().
{0,1}-points to be generated at first Definition at line 39 of file heur_octane.c. Referenced by SCIPincludeHeurOctane().
use heuristic for the space of fractional variables or for whole space? Definition at line 40 of file heur_octane.c. Referenced by SCIPincludeHeurOctane(). Function Documentation
tries to insert the facet obtained from facet i flipped in component j into the list of the fmax nearest facets
Definition at line 65 of file heur_octane.c. References BMScopyMemoryArray, NULL, SCIP_Bool, SCIPisFeasGE(), SCIPisFeasGT(), and SCIPisFeasLE(). Referenced by generateNeighborFacets().
constructs a solution from a given facet paying attention to the transformations made at the beginning of OCTANE
Definition at line 110 of file heur_octane.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPlinkLPSol(), and SCIPsetSolVal(). Referenced by SCIP_DECL_HEUREXEC().
generates the direction of the shooting ray as the inner normal of the objective function
Definition at line 147 of file heur_octane.c. References NULL, SCIP_OKAY, and SCIPvarGetObj(). Referenced by SCIP_DECL_HEUREXEC().
generates the direction of the shooting ray as the difference between the root and the current LP solution
Definition at line 167 of file heur_octane.c. References NULL, SCIP_OKAY, SCIPvarGetLPSol(), and SCIPvarGetRootSol(). Referenced by SCIP_DECL_HEUREXEC().
generates the direction of the shooting ray as the average of the extreme rays of the basic cone
Definition at line 189 of file heur_octane.c. References BMSclearMemoryArray, FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIP_REAL_MAX, SCIP_REAL_MIN, SCIPallocBufferArray, SCIPcolGetLPPos(), SCIPfreeBufferArray, SCIPgetLPBInvACol(), SCIPgetLPRowsData(), SCIPisFeasZero(), SCIProwGetDualsol(), SCIPvarGetCol(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
generates the direction of the shooting ray as the average of the normalized non-basic vars and rows
Definition at line 391 of file heur_octane.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIP_REAL_MAX, SCIP_REAL_MIN, SCIPcolGetVar(), SCIPgetLPColsData(), SCIPgetLPRowsData(), SCIPisFeasEQ(), SCIPisFeasNegative(), SCIPisFeasPositive(), SCIPisFeasZero(), SCIProwGetCols(), SCIProwGetDualsol(), SCIProwGetNNonz(), SCIProwGetVals(), SCIPvarGetLbLocal(), SCIPvarGetLPSol(), SCIPvarGetProbindex(), and SCIPvarGetUbLocal(). Referenced by SCIP_DECL_HEUREXEC().
generates the starting point for the shooting ray in original coordinates
Definition at line 489 of file heur_octane.c. References NULL, SCIP_OKAY, and SCIPvarGetLPSol(). Referenced by SCIP_DECL_HEUREXEC().
translates the inner point of the LP to an inner point rayorigin of the unit hyper octahedron and transforms raydirection and rayorigin by reflections stored in sign
Definition at line 512 of file heur_octane.c. References FALSE, NULL, and TRUE. Referenced by SCIP_DECL_HEUREXEC().
generates all facets, from which facet i could be obtained by a decreasing + to - flip or a nonincreasing - to + flip and tests whether they are among the fmax nearest ones
Definition at line 543 of file heur_octane.c. References NULL, SCIP_Real, SCIPisFeasEQ(), SCIPisFeasGE(), SCIPisFeasGT(), SCIPisFeasLE(), SCIPisFeasPositive(), and tryToInsert(). Referenced by SCIP_DECL_HEUREXEC(). tests, whether an array is completely zero
Definition at line 636 of file heur_octane.c. References FALSE, NULL, SCIP_Bool, SCIPisFeasZero(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 665 of file heur_octane.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurOctane().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 679 of file heur_octane.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 699 of file heur_octane.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 724 of file heur_octane.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeSol(), SCIPheurGetData(), and SCIPheurGetName().
execution method of primal heuristic Definition at line 744 of file heur_octane.c. References BMSclearMemoryArray, BMScopyMemoryArray, FALSE, flipCoords(), generateAverageNBRay(), generateAverageRay(), generateDifferenceRay(), generateNeighborFacets(), generateObjectiveRay(), generateStartingPoint(), getSolFromFacet(), HEUR_NAME, isZero(), MIN, NULL, SCIP_Bool, SCIP_CALL, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_FOUNDSOL, SCIP_LPSOLSTAT_OPTIMAL, SCIP_OKAY, SCIP_Real, SCIPABORT, SCIPallocBufferArray, SCIPcolGetLPPos(), SCIPcolGetVar(), SCIPcreateSol(), SCIPdebugMessage, SCIPerrorMessage, SCIPfreeBufferArray, SCIPfreeSol(), SCIPgetCutoffbound(), SCIPgetLPBranchCands(), SCIPgetLPObjval(), SCIPgetLPRowsData(), SCIPgetLPSolstat(), SCIPgetNNodes(), SCIPgetSolVal(), SCIPgetVarsData(), SCIPhasCurrentNodeLP(), SCIPheurGetData(), SCIPheurGetName(), SCIPheurGetNBestSolsFound(), SCIPheurGetNCalls(), SCIPinfinity(), SCIPisFeasPositive(), SCIPisFeasZero(), SCIPisGE(), SCIPisLPSolBasic(), SCIPisPositive(), SCIPisStopped(), SCIProwGetCols(), SCIProwGetConstant(), SCIProwGetLhs(), SCIProwGetNNonz(), SCIProwGetRhs(), SCIProwGetVals(), SCIProwIsLocal(), SCIPsortDownRealRealRealBoolPtr(), SCIPtrySol(), SCIPvarGetCol(), SCIPvarGetProbindex(), sign(), and TRUE.
creates the octane primal heuristic and includes it in SCIP
Definition at line 1170 of file heur_octane.c. References DEFAULT_FFIRST, DEFAULT_FMAX, DEFAULT_USEFRACSPACE, FALSE, 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(), SCIPallocMemory, SCIPincludeHeurBasic(), SCIPsetHeurCopy(), SCIPsetHeurExit(), SCIPsetHeurFree(), SCIPsetHeurInit(), and TRUE. Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins(). |