create a diving set associated with a primal heuristic. The primal heuristic needs to be included before this method can be called. The diveset is installed in the array of divesets of the heuristic and can be retrieved later by accessing SCIPheurGetDivesets()
- SCIP_OKAY is returned if everything worked. otherwise a suitable error code is passed. see SCIP_RETCODE for a complete list of error codes.
- This method can be called if
scip is in one of the following stages:
|scip||SCIP data structure |
|diveset||pointer to created diving heuristic settings, or NULL if not needed |
|heur||primal heuristic to which the diveset belongs |
|name||name for the diveset, or NULL if the name of the heuristic should be used |
|minreldepth||minimal relative depth to start diving |
|maxreldepth||maximal relative depth to start diving |
|maxlpiterquot||maximal fraction of diving LP iterations compared to node LP iterations |
|maxdiveubquot||maximal quotient (curlowerbound - lowerbound)/(cutoffbound - lowerbound) where diving is performed (0.0: no limit) |
|maxdiveavgquot||maximal quotient (curlowerbound - lowerbound)/(avglowerbound - lowerbound) where diving is performed (0.0: no limit) |
|maxdiveubquotnosol||maximal UBQUOT when no solution was found yet (0.0: no limit) |
|maxdiveavgquotnosol||maximal AVGQUOT when no solution was found yet (0.0: no limit) |
|lpresolvedomchgquot||percentage of immediate domain changes during probing to trigger LP resolve |
|lpsolvefreq||LP solve frequency for (0: only if enough domain reductions are found by propagation) |
|maxlpiterofs||additional number of allowed LP iterations |
|initialseed||initial seed for random number generation |
|backtrack||use one level of backtracking if infeasibility is encountered? |
|onlylpbranchcands||should only LP branching candidates be considered instead of the slower but more general constraint handler diving variable selection? |
|specificsos1score||should SOS1 variables be scored by the diving heuristics specific score function; otherwise use the score function of the SOS1 constraint handler |
Definition at line 390 of file scip_heur.c.
References FALSE, Scip::mem, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPdivesetCreate(), Scip::set, SCIP_Mem::setmem, and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurConflictdiving(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurPscostdiving(), and SCIPincludeHeurVeclendiving().