methods for separator plugins
SCIP_DECL_SORTPTRCOMP | ( | SCIPsepaComp | ) |
SCIP_DECL_SORTPTRCOMP | ( | SCIPsepaCompName | ) |
comparison method for sorting separators w.r.t. to their name
Definition at line 48 of file sepa.c.
References SCIPsepaGetName().
SCIP_SEPADATA* SCIPsepaGetData | ( | SCIP_SEPA * | sepa | ) |
gets user data of separator
sepa | separator |
Definition at line 557 of file sepa.c.
References SCIP_Sepa::sepadata.
Referenced by aggregation(), freeSubscip(), generateCut(), SCIP_DECL_SEPACOPY(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SEPAEXECSOL(), SCIP_DECL_SEPAEXIT(), SCIP_DECL_SEPAEXITSOL(), SCIP_DECL_SEPAFREE(), SCIP_DECL_SEPAINIT(), SCIP_DECL_SEPAINITSOL(), SCIPfindObjSepa(), SCIPgetObjSepa(), SCIPsetBasePointClosecuts(), and separateCuts().
void SCIPsepaSetData | ( | SCIP_SEPA * | sepa, |
SCIP_SEPADATA * | sepadata | ||
) |
sets user data of separator; user has to free old data in advance!
sepa | separator |
sepadata | new separator user data |
Definition at line 567 of file sepa.c.
References SCIP_Sepa::sepadata.
Referenced by SCIP_DECL_SEPAFREE().
const char* SCIPsepaGetName | ( | SCIP_SEPA * | sepa | ) |
gets name of separator
sepa | separator |
Definition at line 646 of file sepa.c.
References SCIP_Sepa::name.
Referenced by generateDisjCutSOS1(), paramsetSetSeparatingAggressive(), paramsetSetSeparatingDefault(), paramsetSetSeparatingOff(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_SEPACOPY(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SEPAEXITSOL(), SCIP_DECL_SEPAFREE(), SCIP_DECL_SORTPTRCOMP(), SCIPcopyConcurrentSolvingStats(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPparamsetSetToSubscipsOff(), SCIPprintSeparatorStatistics(), SCIPsepaCopyInclude(), SCIPsetBasePointClosecuts(), SCIPsetFindRelax(), separateCuts(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), separateSupLiftedMinimalCoverInequality(), separationRoundLP(), and separationRoundSol().
const char* SCIPsepaGetDesc | ( | SCIP_SEPA * | sepa | ) |
gets description of separator
sepa | separator |
Definition at line 656 of file sepa.c.
References SCIP_Sepa::desc.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
int SCIPsepaGetPriority | ( | SCIP_SEPA * | sepa | ) |
gets priority of separator
sepa | separator |
Definition at line 666 of file sepa.c.
References SCIP_Sepa::priority.
Referenced by SCIP_DECL_DIALOGEXEC(), separationRoundLP(), and separationRoundSol().
int SCIPsepaGetFreq | ( | SCIP_SEPA * | sepa | ) |
gets frequency of separator
sepa | separator |
Definition at line 690 of file sepa.c.
References SCIP_Sepa::freq.
Referenced by SCIP_DECL_DIALOGEXEC().
void SCIPsepaSetFreq | ( | SCIP_SEPA * | sepa, |
int | freq | ||
) |
sets frequency of separator
sepa | separator |
freq | new frequency of separator |
Definition at line 700 of file sepa.c.
References SCIP_Sepa::freq.
get maximal bound distance at which the separator is called
sepa | separator |
Definition at line 711 of file sepa.c.
References SCIP_Sepa::maxbounddist.
Referenced by SCIP_DECL_DIALOGEXEC().
does the separator use a secondary SCIP instance?
sepa | separator |
Definition at line 721 of file sepa.c.
References SCIP_Sepa::usessubscip.
Referenced by SCIPparamsetSetToSubscipsOff().
gets time in seconds used in this separator for setting up for next stages
sepa | separator |
Definition at line 743 of file sepa.c.
References SCIPclockGetTime(), and SCIP_Sepa::setuptime.
Referenced by SCIPprintSeparatorStatistics().
gets time in seconds used in this separator
sepa | separator |
Definition at line 753 of file sepa.c.
References SCIPclockGetTime(), and SCIP_Sepa::sepaclock.
Referenced by SCIP_DECL_SEPAEXECLP(), and SCIPprintSeparatorStatistics().
SCIP_Longint SCIPsepaGetNCalls | ( | SCIP_SEPA * | sepa | ) |
gets the total number of times, the separator was called
sepa | separator |
Definition at line 763 of file sepa.c.
References SCIP_Sepa::ncalls.
Referenced by SCIPprintSeparatorStatistics(), and separateCuts().
int SCIPsepaGetNCallsAtNode | ( | SCIP_SEPA * | sepa | ) |
gets the number of times, the separator was called at the current node
sepa | separator |
Definition at line 773 of file sepa.c.
References SCIP_Sepa::ncallsatnode.
Referenced by SCIP_DECL_SEPAEXECLP(), and separateCuts().
SCIP_Longint SCIPsepaGetNCutoffs | ( | SCIP_SEPA * | sepa | ) |
gets total number of times, the separator detected a cutoff
sepa | separator |
Definition at line 783 of file sepa.c.
References SCIP_Sepa::ncutoffs.
Referenced by SCIPprintSeparatorStatistics().
SCIP_Longint SCIPsepaGetNCutsFound | ( | SCIP_SEPA * | sepa | ) |
gets the total number of cutting planes found by this separator
sepa | separator |
Definition at line 793 of file sepa.c.
References SCIP_Sepa::ncutsfound.
Referenced by SCIPprintSeparatorStatistics(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), and separateSupLiftedMinimalCoverInequality().
SCIP_Longint SCIPsepaGetNCutsApplied | ( | SCIP_SEPA * | sepa | ) |
gets the total number of cutting planes applied to lp
sepa | separator |
Definition at line 803 of file sepa.c.
References SCIP_Sepa::ncutsapplied.
Referenced by SCIPprintSeparatorStatistics().
SCIP_Longint SCIPsepaGetNCutsFoundAtNode | ( | SCIP_SEPA * | sepa | ) |
gets the number of cutting planes found by this separator at the current node
sepa | separator |
Definition at line 843 of file sepa.c.
References SCIP_Sepa::ncutsfoundatnode.
SCIP_Longint SCIPsepaGetNConssFound | ( | SCIP_SEPA * | sepa | ) |
gets total number of additional constraints added by this separator
sepa | separator |
Definition at line 853 of file sepa.c.
References SCIP_Sepa::nconssfound.
Referenced by SCIPprintSeparatorStatistics().
SCIP_Longint SCIPsepaGetNDomredsFound | ( | SCIP_SEPA * | sepa | ) |
gets total number of domain reductions found by this separator
sepa | separator |
Definition at line 863 of file sepa.c.
References SCIP_Sepa::ndomredsfound.
Referenced by SCIPprintSeparatorStatistics().
should separator be delayed, if other separators found cuts?
sepa | separator |
Definition at line 873 of file sepa.c.
References SCIP_Sepa::delay.
Referenced by SCIP_DECL_DIALOGEXEC().
was separation of the LP solution delayed at the last call?
sepa | separator |
Definition at line 883 of file sepa.c.
References SCIP_Sepa::lpwasdelayed.
Referenced by SCIP_DECL_SEPAEXECLP(), separateCuts(), and separationRoundLP().
was separation of the primal solution delayed at the last call?
sepa | separator |
Definition at line 893 of file sepa.c.
References SCIP_Sepa::solwasdelayed.
Referenced by separationRoundSol().
is separator initialized?
sepa | separator |
Definition at line 903 of file sepa.c.
References SCIP_Sepa::initialized.
Referenced by SCIPsetIncludeRelax().
SCIP_RETCODE SCIPincludeSepa | ( | SCIP * | scip, |
const char * | name, | ||
const char * | desc, | ||
int | priority, | ||
int | freq, | ||
SCIP_Real | maxbounddist, | ||
SCIP_Bool | usessubscip, | ||
SCIP_Bool | delay, | ||
SCIP_DECL_SEPACOPY((*sepacopy)) | , | ||
SCIP_DECL_SEPAFREE((*sepafree)) | , | ||
SCIP_DECL_SEPAINIT((*sepainit)) | , | ||
SCIP_DECL_SEPAEXIT((*sepaexit)) | , | ||
SCIP_DECL_SEPAINITSOL((*sepainitsol)) | , | ||
SCIP_DECL_SEPAEXITSOL((*sepaexitsol)) | , | ||
SCIP_DECL_SEPAEXECLP((*sepaexeclp)) | , | ||
SCIP_DECL_SEPAEXECSOL((*sepaexecsol)) | , | ||
SCIP_SEPADATA * | sepadata | ||
) |
creates a separator and includes it in SCIP.
scip | SCIP data structure |
name | name of separator |
desc | description of separator |
priority | priority of separator (>= 0: before, < 0: after constraint handlers) |
freq | frequency for calling separator |
maxbounddist | maximal relative distance from current node's dual bound to primal bound compared to best node's dual bound for applying separation |
usessubscip | does the separator use a secondary SCIP instance? |
delay | should separator be delayed, if other separators found cuts? |
sepadata | separator data |
Definition at line 7337 of file scip.c.
References checkStage(), FALSE, Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPerrorMessage, SCIPfindSepa(), SCIPsepaCreate(), SCIPsetIncludeSepa(), Scip::set, SCIP_Mem::setmem, and TRUE.
Referenced by SCIPincludeObjSepa().
SCIP_RETCODE SCIPincludeSepaBasic | ( | SCIP * | scip, |
SCIP_SEPA ** | sepa, | ||
const char * | name, | ||
const char * | desc, | ||
int | priority, | ||
int | freq, | ||
SCIP_Real | maxbounddist, | ||
SCIP_Bool | usessubscip, | ||
SCIP_Bool | delay, | ||
SCIP_DECL_SEPAEXECLP((*sepaexeclp)) | , | ||
SCIP_DECL_SEPAEXECSOL((*sepaexecsol)) | , | ||
SCIP_SEPADATA * | sepadata | ||
) |
creates a separator and includes it in SCIP with its most fundamental callbacks. All non-fundamental (or optional) callbacks as, e.g., init and exit callbacks, will be set to NULL. Optional callbacks can be set via specific setter functions, see SCIPsetSepaInit(), SCIPsetSepaFree(), SCIPsetSepaInitsol(), SCIPsetSepaExitsol(), SCIPsetSepaCopy(), SCIPsetExit().
scip | SCIP data structure |
sepa | reference to a separator, or NULL |
name | name of separator |
desc | description of separator |
priority | priority of separator (>= 0: before, < 0: after constraint handlers) |
freq | frequency for calling separator |
maxbounddist | maximal relative distance from current node's dual bound to primal bound compared to best node's dual bound for applying separation |
usessubscip | does the separator use a secondary SCIP instance? |
delay | should separator be delayed, if other separators found cuts? |
sepadata | separator data |
Definition at line 7385 of file scip.c.
References checkStage(), FALSE, Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPerrorMessage, SCIPfindSepa(), SCIPsepaCreate(), SCIPsetIncludeSepa(), Scip::set, SCIP_Mem::setmem, and TRUE.
Referenced by SCIPincludeSepaCGMIP(), SCIPincludeSepaClique(), SCIPincludeSepaClosecuts(), SCIPincludeSepaConvexproj(), SCIPincludeSepaDisjunctive(), SCIPincludeSepaEccuts(), SCIPincludeSepaGauge(), SCIPincludeSepaGMI(), SCIPincludeSepaGomory(), SCIPincludeSepaImpliedbounds(), SCIPincludeSepaIntobj(), SCIPincludeSepaMcf(), SCIPincludeSepaOddcycle(), SCIPincludeSepaStrongcg(), and SCIPincludeSepaZerohalf().
SCIP_RETCODE SCIPsetSepaCopy | ( | SCIP * | scip, |
SCIP_SEPA * | sepa, | ||
SCIP_DECL_SEPACOPY((*sepacopy)) | |||
) |
sets copy method of separator
scip | SCIP data structure |
sepa | separator |
Definition at line 7427 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPsepaSetCopy(), and TRUE.
Referenced by SCIPincludeSepaCGMIP(), SCIPincludeSepaClique(), SCIPincludeSepaClosecuts(), SCIPincludeSepaDisjunctive(), SCIPincludeSepaEccuts(), SCIPincludeSepaGMI(), SCIPincludeSepaGomory(), SCIPincludeSepaImpliedbounds(), SCIPincludeSepaIntobj(), SCIPincludeSepaMcf(), SCIPincludeSepaOddcycle(), SCIPincludeSepaStrongcg(), and SCIPincludeSepaZerohalf().
SCIP_RETCODE SCIPsetSepaFree | ( | SCIP * | scip, |
SCIP_SEPA * | sepa, | ||
SCIP_DECL_SEPAFREE((*sepafree)) | |||
) |
sets destructor method of separator
scip | SCIP data structure |
sepa | separator |
Definition at line 7443 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPsepaSetFree(), and TRUE.
Referenced by SCIPincludeSepaCGMIP(), SCIPincludeSepaClique(), SCIPincludeSepaClosecuts(), SCIPincludeSepaConvexproj(), SCIPincludeSepaDisjunctive(), SCIPincludeSepaEccuts(), SCIPincludeSepaGauge(), SCIPincludeSepaGMI(), SCIPincludeSepaGomory(), SCIPincludeSepaImpliedbounds(), SCIPincludeSepaIntobj(), SCIPincludeSepaMcf(), SCIPincludeSepaOddcycle(), SCIPincludeSepaStrongcg(), and SCIPincludeSepaZerohalf().
SCIP_RETCODE SCIPsetSepaInit | ( | SCIP * | scip, |
SCIP_SEPA * | sepa, | ||
SCIP_DECL_SEPAINIT((*sepainit)) | |||
) |
sets initialization method of separator
scip | SCIP data structure |
sepa | separator |
Definition at line 7459 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPsepaSetInit(), and TRUE.
Referenced by SCIPincludeSepaCGMIP(), SCIPincludeSepaGomory(), SCIPincludeSepaOddcycle(), and SCIPincludeSepaStrongcg().
SCIP_RETCODE SCIPsetSepaExit | ( | SCIP * | scip, |
SCIP_SEPA * | sepa, | ||
SCIP_DECL_SEPAEXIT((*sepaexit)) | |||
) |
sets deinitialization method of separator
scip | SCIP data structure |
sepa | separator |
Definition at line 7475 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPsepaSetExit(), and TRUE.
Referenced by SCIPincludeSepaCGMIP(), SCIPincludeSepaGomory(), SCIPincludeSepaIntobj(), and SCIPincludeSepaStrongcg().
SCIP_RETCODE SCIPsetSepaInitsol | ( | SCIP * | scip, |
SCIP_SEPA * | sepa, | ||
SCIP_DECL_SEPAINITSOL((*sepainitsol)) | |||
) |
sets solving process initialization method of separator
scip | SCIP data structure |
sepa | separator |
Definition at line 7491 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPsepaSetInitsol(), and TRUE.
Referenced by SCIPincludeSepaDisjunctive(), SCIPincludeSepaMcf(), and SCIPincludeSepaOddcycle().
SCIP_RETCODE SCIPsetSepaExitsol | ( | SCIP * | scip, |
SCIP_SEPA * | sepa, | ||
SCIP_DECL_SEPAEXITSOL((*sepaexitsol)) | |||
) |
sets solving process deinitialization method of separator
scip | SCIP data structure |
sepa | separator |
Definition at line 7507 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPsepaSetExitsol(), and TRUE.
Referenced by SCIPincludeSepaClique(), SCIPincludeSepaClosecuts(), SCIPincludeSepaConvexproj(), SCIPincludeSepaEccuts(), SCIPincludeSepaGauge(), SCIPincludeSepaIntobj(), and SCIPincludeSepaMcf().
returns the separator of the given name, or NULL if not existing
scip | SCIP data structure |
name | name of separator |
Definition at line 7523 of file scip.c.
References SCIPsetFindSepa(), and Scip::set.
Referenced by SCIPcopyConcurrentSolvingStats(), SCIPfindObjSepa(), SCIPincludeSepa(), SCIPincludeSepaBasic(), and SCIPsetBasePointClosecuts().
returns the array of currently available separators
scip | SCIP data structure |
Definition at line 7536 of file scip.c.
References SCIPsetSortSepas(), SCIP_Set::sepas, and Scip::set.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPcopyConcurrentSolvingStats(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
int SCIPgetNSepas | ( | SCIP * | scip | ) |
returns the number of currently available separators
scip | SCIP data structure |
Definition at line 7549 of file scip.c.
References SCIP_Set::nsepas, and Scip::set.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPcopyConcurrentSolvingStats(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
SCIP_RETCODE SCIPsetSepaPriority | ( | SCIP * | scip, |
SCIP_SEPA * | sepa, | ||
int | priority | ||
) |
sets the priority of a separator
scip | SCIP data structure |
sepa | separator |
priority | new priority of the separator |
Definition at line 7560 of file scip.c.
References SCIP_OKAY, SCIPsepaSetPriority(), and Scip::set.
Referenced by SCIP_DECL_PARAMCHGD().
gets value of minimal efficacy for a cut to enter the LP
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 7583 of file scip.c.
References checkStage(), FALSE, SCIP_CALL_ABORT, SCIPtreeGetCurrentDepth(), SCIP_Set::sepa_minefficacy, SCIP_Set::sepa_minefficacyroot, Scip::set, Scip::tree, and TRUE.
Referenced by SCIP_DECL_CONSSEPALP(), SCIP_DECL_CONSSEPASOL(), SCIPcleanupRowprep(), and separatePoint().