Loading...
Searching...
No Matches
pub_extendedmasterconsdata.h
Go to the documentation of this file.
36/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
72 * its solution value corresponds to the coefficient of the new mastervariable in the extended master cons */
73 SCIP_VAR** additionalvars, /**< array of additional variables with no objective coefficient in the pricing programs inferred from the extended master cons */
75 SCIP_CONS** additionalconss, /**< array of additional constraints in the pricing programs inferred from the extended master cons */
83 GCG_EXTENDEDMASTERCONSDATA** extendedmasterconsdata, /**< pointer to store the extended master cons data */
85 SCIP_CONS* cons, /**< constraint in the master problem that represents the extended master cons */
86 GCG_PRICINGMODIFICATION** pricingmodifications, /**< pricing modifications for the extended master cons */
95 GCG_EXTENDEDMASTERCONSDATA** extendedmasterconsdata, /**< pointer to store the extended master cons data */
98 GCG_PRICINGMODIFICATION** pricingmodifications, /**< pricing modifications for the extended master cons */
107 GCG_EXTENDEDMASTERCONSDATA** extendedmasterconsdata /**< pointer to the extended master cons data */
156#define GCGpricingmodificationGetAdditionalVars(pricingmodification) (pricingmodification)->additionalvars
166#define GCGpricingmodificationGetNAdditionalVars(pricingmodification) (pricingmodification)->nadditionalvars
176#define GCGpricingmodificationGetAdditionalConss(pricingmodification) (pricingmodification)->additionalconss
186#define GCGpricingmodificationGetNAdditionalConss(pricingmodification) (pricingmodification)->nadditionalconss
214#define GCGextendedmasterconsGetPricingModifications(extendedmasterconsdata) (extendedmasterconsdata)->pricingmodifications
224#define GCGextendedmasterconsGetNPricingModifications(extendedmasterconsdata) (extendedmasterconsdata)->npricingmodifications
267/** get the constant of the extended master cons (always returns 0 if extended master cons is a constraint, returns constant of row otherwise) */
common defines and data types used in all packages of GCG
#define SCIP_Bool
#define SCIP_Real
SCIP_VAR * GCGpricingmodificationGetCoefVar(GCG_PRICINGMODIFICATION *pricingmodification)
Definition extendedmasterconsdata.c:425
SCIP_Real GCGextendedmasterconsGetRhs(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:706
int GCGextendedmasterconsGetNPricingModifications(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:531
SCIP_RETCODE GCGextendedmasterconsFree(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA **extendedmasterconsdata)
Definition extendedmasterconsdata.c:274
SCIP_RETCODE GCGextendedmasterconsGetCoeff(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata, SCIP_VAR **solvars, SCIP_Real *solvals, int nsolvars, int probnr, GCG_COL *gcgcol, SCIP_Real *coeff)
Definition extendedmasterconsdata.c:819
SCIP_VAR ** GCGpricingmodificationGetAdditionalVars(GCG_PRICINGMODIFICATION *pricingmodification)
Definition extendedmasterconsdata.c:437
int GCGextendedmasterconsGetNNonz(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:750
SCIP_ROW * GCGextendedmasterconsGetRow(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:411
int GCGpricingmodificationGetNAdditionalConss(GCG_PRICINGMODIFICATION *pricingmodification)
Definition extendedmasterconsdata.c:473
SCIP_Real GCGextendedmasterconsGetConstant(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:729
SCIP_Real * GCGextendedmasterconsGetVals(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:796
SCIP_Bool GCGextendedmasterconsIsActive(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:317
GCG_EXTENDEDMASTERCONSTYPE GCGextendedmasterconsGetType(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:850
SCIP_Bool GCGpricingmodificationIsCoefVar(GCG_PRICINGMODIFICATION *pricingmodification, SCIP_VAR *var)
Definition extendedmasterconsdata.c:631
int GCGpricingmodificationGetBlock(GCG_PRICINGMODIFICATION *pricingmodification)
Definition extendedmasterconsdata.c:485
SCIP_RETCODE GCGextendedmasterconsCreateFromCons(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA **extendedmasterconsdata, GCG_EXTENDEDMASTERCONSTYPE type, SCIP_CONS *cons, GCG_PRICINGMODIFICATION **pricingmodifications, int npricingmodifications, GCG_BRANCHCONSDATA *data)
Definition extendedmasterconsdata.c:144
SCIP_RETCODE GCGextendedmasterconsAddMasterVar(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata, SCIP_VAR *var, SCIP_Real coef)
Definition extendedmasterconsdata.c:338
SCIP_RETCODE GCGextendedmasterconsCreateFromRow(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA **extendedmasterconsdata, GCG_EXTENDEDMASTERCONSTYPE type, SCIP_ROW *row, GCG_PRICINGMODIFICATION **pricingmodifications, int npricingmodifications, GCG_MASTERSEPACUT *data)
Definition extendedmasterconsdata.c:209
const char * GCGextendedmasterconsGetName(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:662
SCIP_CONS ** GCGpricingmodificationGetAdditionalConss(GCG_PRICINGMODIFICATION *pricingmodification)
Definition extendedmasterconsdata.c:461
SCIP_Real GCGextendedmasterconsGetLhs(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:683
SCIP_Bool GCGextendedmasterconsIsCoefVar(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata, SCIP_VAR *var)
Definition extendedmasterconsdata.c:642
GCG_PRICINGMODIFICATION ** GCGextendedmasterconsGetPricingModifications(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:519
SCIP_COL ** GCGextendedmasterconsGetCols(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:773
int GCGpricingmodificationGetNAdditionalVars(GCG_PRICINGMODIFICATION *pricingmodification)
Definition extendedmasterconsdata.c:449
GCG_PRICINGMODIFICATION * GCGextendedmasterconsGetPricingModification(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata, int blocknr)
Definition extendedmasterconsdata.c:495
SCIP_CONS * GCGextendedmasterconsGetCons(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:397
SCIP_RETCODE GCGpricingmodificationCreate(GCG *gcg, GCG_PRICINGMODIFICATION **pricingmodification, int blocknr, SCIP_VAR *coefvar, SCIP_VAR **additionalvars, int nadditionalvars, SCIP_CONS **additionalconss, int nadditionalconss)
Definition extendedmasterconsdata.c:90
Definition class_conspartition.cpp:44
data structures for GCG extended master cons data
type definitions for branching rules in GCG projects
struct SCIP_Cons SCIP_CONS
type definitions for extended master conss in GCG projects
struct GCG_ExtendedMasterConsData GCG_EXTENDEDMASTERCONSDATA
Definition type_extendedmasterconsdata.h:57
enum GCG_ExtendedMasterConsType GCG_EXTENDEDMASTERCONSTYPE
Definition type_extendedmasterconsdata.h:52
struct GCG_PricingModification GCG_PRICINGMODIFICATION
Definition type_extendedmasterconsdata.h:56
type definitions for gcg data structure
struct SCIP_Row SCIP_ROW
struct SCIP_Col SCIP_COL
type definitions for master separator cuts
enum SCIP_Retcode SCIP_RETCODE
struct SCIP_Var SCIP_VAR