GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches

Detailed Description

Public methods from the scip_misc.c file.

Functions

GCG_EXPORT SCIP_Bool GCGisVarRelevant (SCIP_VAR *var)
GCG_EXPORT consType GCGconsGetType (SCIP *scip, SCIP_CONS *cons)
GCG_EXPORT SCIP_Real GCGconsGetRhs (SCIP *scip, SCIP_CONS *cons)
GCG_EXPORT SCIP_Real GCGconsGetLhs (SCIP *scip, SCIP_CONS *cons)
GCG_EXPORT SCIP_Real GCGconsGetDualfarkas (SCIP *scip, SCIP_CONS *cons)
GCG_EXPORT SCIP_Real GCGconsGetDualsol (SCIP *scip, SCIP_CONS *cons)
GCG_EXPORT int GCGconsGetNVars (SCIP *scip, SCIP_CONS *cons)
GCG_EXPORT SCIP_RETCODE GCGconsGetVars (SCIP *scip, SCIP_CONS *cons, SCIP_VAR **vars, int nvars)
GCG_EXPORT SCIP_RETCODE GCGconsGetVals (SCIP *scip, SCIP_CONS *cons, SCIP_Real *vals, int nvals)
SCIP_Bool GCGconsIsRanged (SCIP *scip, SCIP_CONS *cons)
SCIP_Bool GCGgetConsIsSetppc (SCIP *scip, SCIP_CONS *cons, SCIP_SETPPCTYPE *setppctype)
SCIP_Bool GCGgetConsIsCardinalityCons (SCIP *scip, SCIP_CONS *cons)
GCG_EXPORT SCIP_Bool GCGisRootNode (GCG *gcg)
GCG_EXPORT SCIP_RETCODE GCGincludeDialogsGraph (GCG *gcg)

Function Documentation

◆ GCGisVarRelevant()

◆ GCGconsGetType()

◆ GCGconsGetRhs()

◆ GCGconsGetLhs()

◆ GCGconsGetDualfarkas()

GCG_EXPORT SCIP_Real GCGconsGetDualfarkas ( SCIP * scip,
SCIP_CONS * cons )

returns the dual farkas sol of an arbitrary SCIP constraint

Parameters
scipSCIP data structure
consconstraint to get left hand side for

Definition at line 303 of file scip_misc.c.

References assert(), GCGconsGetDualfarkas(), and SCIPdebugMessage().

Referenced by GCGconsGetDualfarkas().

◆ GCGconsGetDualsol()

GCG_EXPORT SCIP_Real GCGconsGetDualsol ( SCIP * scip,
SCIP_CONS * cons )

returns the dual sol of an arbitrary SCIP constraint

Parameters
scipSCIP data structure
consconstraint to get left hand side for

Definition at line 367 of file scip_misc.c.

References assert(), GCGconsGetDualsol(), and SCIPdebugMessage().

Referenced by calculateDualvalsOptimalOrigLP(), and GCGconsGetDualsol().

◆ GCGconsGetNVars()

◆ GCGconsGetVars()

◆ GCGconsGetVals()

◆ GCGconsIsRanged()

SCIP_Bool GCGconsIsRanged ( SCIP * scip,
SCIP_CONS * cons )

returns true if the constraint should be a master constraint and false otherwise

Parameters
scipSCIP data structure
consconstraint to check

Definition at line 741 of file scip_misc.c.

References assert(), GCGconsGetLhs(), GCGconsGetRhs(), and GCGconsIsRanged().

Referenced by GCGconsIsRanged().

◆ GCGgetConsIsSetppc()

SCIP_Bool GCGgetConsIsSetppc ( SCIP * scip,
SCIP_CONS * cons,
SCIP_SETPPCTYPE * setppctype )

returns true if the constraint should be a master constraint and false otherwise

Parameters
scipSCIP data structure
consconstraint to check
setppctypereturns the type of the constraints

Definition at line 760 of file scip_misc.c.

References assert(), GCGconsGetLhs(), GCGconsGetNVars(), GCGconsGetRhs(), GCGconsGetType(), GCGconsGetVals(), GCGconsGetVars(), GCGgetConsIsSetppc(), i, logicor, nvars, SCIPdebugMessage(), setcovering, setpartitioning, and vars.

Referenced by checkSetppcStructure(), GCGgetConsIsSetppc(), gcg::DETPROBDATA::isConsSetpp(), and gcg::DETPROBDATA::isConsSetppc().

◆ GCGgetConsIsCardinalityCons()

SCIP_Bool GCGgetConsIsCardinalityCons ( SCIP * scip,
SCIP_CONS * cons )

returns true if the constraint should be a master constraint and false otherwise

Parameters
scipSCIP data structure
consconstraint to check

Definition at line 846 of file scip_misc.c.

References assert(), GCGconsGetLhs(), GCGconsGetNVars(), GCGconsGetRhs(), GCGconsGetType(), GCGconsGetVals(), GCGconsGetVars(), GCGgetConsIsCardinalityCons(), i, nvars, SCIPdebugMessage(), setpartitioning, and vars.

Referenced by GCGgetConsIsCardinalityCons(), and gcg::DETPROBDATA::isConsCardinalityCons().

◆ GCGisRootNode()

GCG_EXPORT SCIP_Bool GCGisRootNode ( GCG * gcg)

returns TRUE or FALSE, depending whether we are in the root node or not

Parameters
gcgGCG data structure

Definition at line 918 of file scip_misc.c.

References assert(), GCGgetMasterprob(), and GCGisRootNode().

Referenced by GCGisRootNode(), GCGmasterGetDegeneracy(), ReducedCostPricing::getMaxcolsprob(), ReducedCostPricing::getMaxcolsround(), ReducedCostPricing::getRelmaxprobs(), ObjPricerGcg::priceNewVariables(), and setProblemNotApplicable().

◆ GCGincludeDialogsGraph()

GCG_EXPORT SCIP_RETCODE GCGincludeDialogsGraph ( GCG * gcg)

inludes all graph submenu entries

Parameters
gcgGCG data structure

Definition at line 220 of file dialog_graph.cpp.

References assert(), GCGgetOrigprob(), GCGincludeDialogsGraph(), GCGincludeGraphEntries(), GCGincludeObjDialog(), origprob, and SCIP_CALL().

Referenced by GCGincludeDialogsGraph(), and GCGincludeGcgPlugins().