Detailed Description
Components constraint handler for Steiner problems.
This file checks solutions for feasibility and separates violated model constraints. For more details see Separating violated constraints page.
Definition in file cons_stpcomponents.h.
Go to the source code of this file.
Functions | |
SCIP_RETCODE | SCIPincludeConshdlrStpcomponents (SCIP *scip) |
SCIP_RETCODE | SCIPStpcomponentsSetUp (SCIP *scip, GRAPH *graph) |
SCIP_Bool | SCIPStpcomponentsAllowsDecomposition (SCIP *scip) |
Function Documentation
◆ SCIPincludeConshdlrStpcomponents()
SCIP_RETCODE SCIPincludeConshdlrStpcomponents | ( | SCIP * | scip | ) |
creates the handler for element constraints and includes it in SCIP
creates the handler for stp constraints and includes it in SCIP
- Parameters
-
scip SCIP data structure
Definition at line 706 of file cons_stpcomponents.c.
References consCheckStpcomponents, consEnfolpStpcomponents, consEnfopsStpcomponents, CONSHDLR_CHECKPRIORITY, CONSHDLR_DELAYPROP, CONSHDLR_DESC, CONSHDLR_EAGERFREQ, CONSHDLR_ENFOPRIORITY, CONSHDLR_NAME, CONSHDLR_NEEDSCONS, CONSHDLR_PROP_TIMING, CONSHDLR_PROPFREQ, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPallocMemory, SCIPincludeConshdlrBasic(), SCIPsetConshdlrCopy(), SCIPsetConshdlrDelete(), SCIPsetConshdlrExitsol(), SCIPsetConshdlrFree(), SCIPsetConshdlrInitlp(), SCIPsetConshdlrInitsol(), SCIPsetConshdlrProp(), and SCIPsetConshdlrTrans().
Referenced by runShell(), SCIP_DECL_CONSHDLRCOPY(), SCIPStpcomponentsAllowsDecomposition(), and subscipSetupCallbacks().
◆ SCIPStpcomponentsSetUp()
SCIP_RETCODE SCIPStpcomponentsSetUp | ( | SCIP * | scip, |
GRAPH * | graph | ||
) |
sets the data for decomposition up
sets the data for bidecomposition up
- Parameters
-
scip SCIP data structure graph graph data
Definition at line 660 of file cons_stpcomponents.c.
References FALSE, freeDecompose(), initDecompose(), NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPconshdlrGetData(), SCIPfindConshdlr(), and SCIPStpcomponentsAllowsDecomposition().
Referenced by SCIPprobdataCreateFromGraph().
◆ SCIPStpcomponentsAllowsDecomposition()
is a promising decomposition available?
is a promising bidecomposition available?
- Parameters
-
scip SCIP data structure
Definition at line 689 of file cons_stpcomponents.c.
References NULL, SCIPconshdlrGetData(), SCIPfindConshdlr(), and SCIPincludeConshdlrStpcomponents().
Referenced by SCIPprobdataCreateFromGraph(), and SCIPStpcomponentsSetUp().