Scippy

GCG

Branch-and-Price & Column Generation for Everyone

Detailed Description

Public methods from the scip_misc.c file.

Functions

SCIP_Bool GCGisVarRelevant (SCIP_VAR *var)
 
consType GCGconsGetType (SCIP *scip, SCIP_CONS *cons)
 
SCIP_Real GCGconsGetRhs (SCIP *scip, SCIP_CONS *cons)
 
SCIP_Real GCGconsGetLhs (SCIP *scip, SCIP_CONS *cons)
 
SCIP_Real GCGconsGetDualfarkas (SCIP *scip, SCIP_CONS *cons)
 
SCIP_Real GCGconsGetDualsol (SCIP *scip, SCIP_CONS *cons)
 
int GCGconsGetNVars (SCIP *scip, SCIP_CONS *cons)
 
SCIP_RETCODE GCGconsGetVars (SCIP *scip, SCIP_CONS *cons, SCIP_VAR **vars, int nvars)
 
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)
 
SCIP_Bool GCGisRootNode (SCIP *scip)
 
SCIP_RETCODE GCGincludeDialogsGraph (SCIP *scip)
 

Function Documentation

◆ GCGisVarRelevant()

◆ GCGconsGetType()

consType GCGconsGetType ( SCIP *  scip,
SCIP_CONS *  cons 
)

◆ GCGconsGetRhs()

◆ GCGconsGetLhs()

◆ GCGconsGetDualfarkas()

SCIP_Real GCGconsGetDualfarkas ( SCIP *  scip,
SCIP_CONS *  cons 
)

returns the dual farkas sol of an arbitrary SCIP constraint

Definition at line 303 of file scip_misc.c.

◆ GCGconsGetDualsol()

SCIP_Real GCGconsGetDualsol ( SCIP *  scip,
SCIP_CONS *  cons 
)

returns the dual sol of an arbitrary SCIP constraint

Definition at line 368 of file scip_misc.c.

Referenced by calculateDualvalsOptimalOrigLP().

◆ GCGconsGetNVars()

◆ GCGconsGetVars()

◆ GCGconsGetVals()

SCIP_RETCODE GCGconsGetVals ( SCIP *  scip,
SCIP_CONS *  cons,
SCIP_Real *  vals,
int  nvals 
)

◆ GCGconsIsRanged()

SCIP_Bool GCGconsIsRanged ( SCIP *  scip,
SCIP_CONS *  cons 
)

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

Definition at line 744 of file scip_misc.c.

References GCGconsGetLhs(), and GCGconsGetRhs().

◆ 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

Definition at line 763 of file scip_misc.c.

References GCGconsGetLhs(), GCGconsGetNVars(), GCGconsGetRhs(), GCGconsGetType(), GCGconsGetVals(), GCGconsGetVars(), logicor, setcovering, and setpartitioning.

Referenced by checkSetppcStructure(), 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

Definition at line 849 of file scip_misc.c.

References GCGconsGetLhs(), GCGconsGetNVars(), GCGconsGetRhs(), GCGconsGetType(), GCGconsGetVals(), GCGconsGetVars(), and setpartitioning.

Referenced by gcg::DETPROBDATA::isConsCardinalityCons().

◆ GCGisRootNode()

SCIP_Bool GCGisRootNode ( SCIP *  scip)

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

Definition at line 921 of file scip_misc.c.

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

◆ GCGincludeDialogsGraph()

SCIP_RETCODE GCGincludeDialogsGraph ( SCIP *  scip)

inludes all graph submenu entries

Definition at line 220 of file dialog_graph.cpp.

References SCIPincludeObjDialog().

Referenced by SCIPincludeGcgPlugins().