Detailed Description
Function Documentation
◆ GCGextendedmasterconsUpdateDualValue()
| SCIP_RETCODE GCGextendedmasterconsUpdateDualValue | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata, | ||
| SCIP_Real | dualvalue | ||
| ) |
update the extended master cons with the new dual value
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data dualvalue dual value
Definition at line 370 of file extendedmasterconsdata.c.
References GCG_PricingModification::blocknr, GCG_PricingModification::coefvar, GCGgetPricingprob(), GCGvarIsInferredPricing(), GCG_ExtendedMasterConsData::npricingmodifications, NULL, GCG_ExtendedMasterConsData::pricingmodifications, SCIP_CALL, SCIP_OKAY, and SCIPchgVarObj().
Referenced by ObjPricerGcg::setPricingObjs().
◆ GCGpricingmodificationCreate()
| GCG_EXPORT SCIP_RETCODE GCGpricingmodificationCreate | ( | GCG * | gcg, |
| GCG_PRICINGMODIFICATION ** | pricingmodification, | ||
| int | blocknr, | ||
| SCIP_VAR * | coefvar, | ||
| SCIP_VAR ** | additionalvars, | ||
| int | nadditionalvars, | ||
| SCIP_CONS ** | additionalconss, | ||
| int | nadditionalconss | ||
| ) |
create a pricing modification, taking ownership over additionalvars and additionalcons
- Parameters
-
gcg GCG data structure pricingmodification pointer to store the created pricing modification blocknr block number of the extended master cons coefvar variable in the pricing problem inferred from the extended master cons always has the objective coefficient of the negated dual value of the extended master cons its solution value corresponds to the coefficient of the new mastervariable in the extended master cons additionalvars array of additional variables with no objective coefficient in the pricing programs inferred from the extended master cons nadditionalvars number of additional variables in the pricing programs additionalconss array of additional constraints in the pricing programs inferred from the extended master cons nadditionalconss number of additional constraints in the pricing programs
Definition at line 90 of file extendedmasterconsdata.c.
References GCGgetMasterprob(), GCGgetNPricingprobs(), GCGinferredPricingVarIsCoefVar(), GCGisMaster(), GCGvarIsInferredPricing(), NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPisZero(), and SCIPvarGetObj().
Referenced by createBranchingCons(), and createMastercutData().
◆ GCGpricingmodificationApply()
| SCIP_RETCODE GCGpricingmodificationApply | ( | SCIP * | pricingscip, |
| GCG_PRICINGMODIFICATION * | pricingmodification | ||
| ) |
apply a pricing modification
- Parameters
-
pricingscip pricing scip pricingmodification pricing modification
Definition at line 542 of file extendedmasterconsdata.c.
References GCG_PricingModification::additionalconss, GCG_PricingModification::additionalvars, GCG_PricingModification::coefvar, GCGvarIsInferredPricing(), GCG_PricingModification::nadditionalconss, GCG_PricingModification::nadditionalvars, NULL, SCIP_CALL, SCIP_OKAY, SCIPaddCons(), and SCIPaddVar().
◆ GCGpricingmodificationUndo()
| SCIP_RETCODE GCGpricingmodificationUndo | ( | SCIP * | pricingscip, |
| GCG_PRICINGMODIFICATION * | pricingmodification | ||
| ) |
undo a pricing modification
- Parameters
-
pricingscip pricing scip pricingmodification pricing modification
Definition at line 572 of file extendedmasterconsdata.c.
References GCG_PricingModification::additionalconss, GCG_PricingModification::additionalvars, GCG_PricingModification::coefvar, FALSE, GCGvarIsInferredPricing(), GCG_PricingModification::nadditionalconss, GCG_PricingModification::nadditionalvars, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPdelCons(), and SCIPdelVar().
Referenced by GCGextendedmasterconsUndoPricingModifications().
◆ GCGextendedmasterconsUndoPricingModifications()
| SCIP_RETCODE GCGextendedmasterconsUndoPricingModifications | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ||
| ) |
undo all pricing modifications
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data
Definition at line 606 of file extendedmasterconsdata.c.
References GCG_PricingModification::blocknr, GCG_PricingModification::coefvar, GCGgetPricingprob(), GCGpricingmodificationUndo(), GCG_ExtendedMasterConsData::npricingmodifications, NULL, GCG_ExtendedMasterConsData::pricingmodifications, SCIP_CALL, SCIP_OKAY, and SCIPvarGetProbindex().
Referenced by ObjPricerGcg::pricingLoop().
◆ GCGextendedmasterconsCreateFromCons()
| GCG_EXPORT SCIP_RETCODE GCGextendedmasterconsCreateFromCons | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA ** | extendedmasterconsdata, | ||
| GCG_EXTENDEDMASTERCONSTYPE | type, | ||
| SCIP_CONS * | cons, | ||
| GCG_PRICINGMODIFICATION ** | pricingmodifications, | ||
| int | npricingmodifications, | ||
| GCG_BRANCHCONSDATA * | data | ||
| ) |
create an extended master cons, taking ownership over pricingmodifications
- Parameters
-
gcg GCG data structure extendedmasterconsdata pointer to store the extended master cons data type type of the extended master cons cons constraint in the master problem that represents the extended master cons pricingmodifications pricing modifications for the extended master cons npricingmodifications number of pricing modifications for the extended master cons data branchconsdata that belongs to the cons
Definition at line 144 of file extendedmasterconsdata.c.
References GCG_PricingModification::blocknr, SCIP_VarData::data, GCG_InferredPricingVarData::extendedmasterconsdata, FALSE, GCGgetMasterprob(), GCGgetNPricingprobs(), GCGisMaster(), GCGisPricingprobRelevant(), SCIP_VarData::inferredpricingvardata, GCG_PricingModification::nadditionalvars, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPallocBufferArray, SCIPfreeBufferArray, SCIPvarGetData(), and TRUE.
Referenced by GCGbranchCreateExtendedmastercons().
◆ GCGextendedmasterconsCreateFromRow()
| GCG_EXPORT SCIP_RETCODE GCGextendedmasterconsCreateFromRow | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA ** | extendedmasterconsdata, | ||
| GCG_EXTENDEDMASTERCONSTYPE | type, | ||
| SCIP_ROW * | row, | ||
| GCG_PRICINGMODIFICATION ** | pricingmodifications, | ||
| int | npricingmodifications, | ||
| GCG_MASTERSEPACUT * | data | ||
| ) |
create an extended master cons, taking ownership over pricingmodifications
- Parameters
-
gcg GCG data structure extendedmasterconsdata pointer to store the extended master cons data type type of the extended master cons row row in the master problem that represents the extended master cons cut pricingmodifications pricing modifications for the extended master cons npricingmodifications number of pricing modifications for the extended master cons data mastersepacut that corresponds to the row
Definition at line 209 of file extendedmasterconsdata.c.
References GCG_PricingModification::blocknr, SCIP_VarData::data, GCG_InferredPricingVarData::extendedmasterconsdata, FALSE, GCGgetMasterprob(), GCGgetNPricingprobs(), GCGisMaster(), GCGisPricingprobRelevant(), SCIP_VarData::inferredpricingvardata, GCG_PricingModification::nadditionalvars, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPallocBufferArray, SCIPfreeBufferArray, SCIPvarGetData(), and TRUE.
Referenced by GCGextendedmasterconsCreateForSepamastercut().
◆ GCGextendedmasterconsFree()
| GCG_EXPORT SCIP_RETCODE GCGextendedmasterconsFree | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA ** | extendedmasterconsdata | ||
| ) |
free an extended master cons
- Parameters
-
gcg GCG data structure extendedmasterconsdata pointer to the extended master cons data
Definition at line 274 of file extendedmasterconsdata.c.
References GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGgetMasterprob(), GCGisMaster(), GCGpricingmodificationFree(), NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPfreeBlockMemory, SCIPfreeBlockMemoryArrayNull, SCIPreleaseCons(), and SCIPreleaseRow().
Referenced by GCGbranchFreeExtendedmasterconsBranchData(), and GCGreleaseMastersepacut().
◆ GCGextendedmasterconsIsActive()
| GCG_EXPORT SCIP_Bool GCGextendedmasterconsIsActive | ( | GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ) |
determine whether the extendedmasterconsdata is active in the masterscip
- Parameters
-
extendedmasterconsdata extended master cons data
Definition at line 317 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterCons::cons, GCG_ExtendedMasterConsData::cons, FALSE, GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, NULL, GCG_ExtendedMasterCons::row, SCIP_Bool, SCIP_CALL_ABORT, SCIP_INVALIDDATA, SCIPconsIsActive(), SCIProwIsInLP(), and GCG_ExtendedMasterConsData::type.
Referenced by ObjPricerGcg::computeColMastersepacutCoeffs(), GCGcolComputeDualObjPara(), ObjPricerGcg::pricingLoop(), and ObjPricerGcg::setPricingObjs().
◆ GCGextendedmasterconsAddMasterVar()
| GCG_EXPORT SCIP_RETCODE GCGextendedmasterconsAddMasterVar | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata, | ||
| SCIP_VAR * | var, | ||
| SCIP_Real | coef | ||
| ) |
add a new variable along with its coefficient to the extended master cons
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data var variable to add coef coefficient of the variable
Definition at line 338 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterCons::cons, GCG_ExtendedMasterConsData::cons, GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGgetMasterprob(), GCGisMaster(), NULL, GCG_ExtendedMasterCons::row, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPaddCoefLinear(), SCIPaddVarToRow(), and GCG_ExtendedMasterConsData::type.
Referenced by addVarToMasterbranch().
◆ GCGextendedmasterconsGetCons()
| GCG_EXPORT SCIP_CONS * GCGextendedmasterconsGetCons | ( | GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ) |
get the constraint that is the extended master cons
- Parameters
-
extendedmasterconsdata extended master cons data
Definition at line 397 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterCons::cons, GCG_ExtendedMasterConsData::cons, GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, NULL, and GCG_ExtendedMasterConsData::type.
Referenced by ReducedCostPricing::extendedmasterconsGetDual(), FarkasPricing::extendedmasterconsGetDual(), and ObjPricerGcg::getStabilizedDualObjectiveValue().
◆ GCGextendedmasterconsGetRow()
| GCG_EXPORT SCIP_ROW * GCGextendedmasterconsGetRow | ( | GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ) |
get the row that is the extended master cons
- Parameters
-
extendedmasterconsdata extended master cons data
Definition at line 411 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterConsData::cons, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, NULL, GCG_ExtendedMasterCons::row, and GCG_ExtendedMasterConsData::type.
Referenced by addMissedVariables(), addStoredCutsToActiveCuts(), addToActiveMastersepacuts(), ObjPricerGcg::addVariableToMastersepacuts(), ObjPricerGcg::addVariableToMastersepacutsFromGCGCol(), eventRowAddedToLP(), eventRowDeletedFromLP(), ReducedCostPricing::extendedmasterconsGetDual(), FarkasPricing::extendedmasterconsGetDual(), GCGaddGeneratedMastersepacut(), GCGcolComputeDualObjPara(), GCGeventmastersepacutRemoveNewInactiveMastersepacuts(), GCGeventmastersepacutShrinkActiveMastersepacuts(), ObjPricerGcg::getStabilizedDualObjectiveValue(), and reinsertGlobalMastersepacut().
◆ GCGpricingmodificationGetCoefVar()
| GCG_EXPORT SCIP_VAR * GCGpricingmodificationGetCoefVar | ( | GCG_PRICINGMODIFICATION * | pricingmodification | ) |
get the variable that determines the coefficient of a column in the extended master cons
- Parameters
-
pricingmodification pricing modification
Definition at line 425 of file extendedmasterconsdata.c.
References GCG_PricingModification::coefvar, and NULL.
Referenced by GCGcolUpdateActiveMastersepacuts(), and GCGcreateGcgCol().
◆ GCGpricingmodificationGetAdditionalVars()
| GCG_EXPORT SCIP_VAR ** GCGpricingmodificationGetAdditionalVars | ( | GCG_PRICINGMODIFICATION * | pricingmodification | ) |
get the additional variables that are inferred by the extended master cons
- Parameters
-
pricingmodification pricing modification
Definition at line 437 of file extendedmasterconsdata.c.
References GCG_PricingModification::additionalvars, and NULL.
◆ GCGpricingmodificationGetNAdditionalVars()
| GCG_EXPORT int GCGpricingmodificationGetNAdditionalVars | ( | GCG_PRICINGMODIFICATION * | pricingmodification | ) |
get the number of additional variables that are inferred by the extended master cons
- Parameters
-
pricingmodification pricing modification
Definition at line 449 of file extendedmasterconsdata.c.
References GCG_PricingModification::nadditionalvars, and NULL.
◆ GCGpricingmodificationGetAdditionalConss()
| GCG_EXPORT SCIP_CONS ** GCGpricingmodificationGetAdditionalConss | ( | GCG_PRICINGMODIFICATION * | pricingmodification | ) |
get the additional constraints that are inferred by the extended master cons
- Parameters
-
pricingmodification pricing modification
Definition at line 461 of file extendedmasterconsdata.c.
References GCG_PricingModification::additionalconss, and NULL.
Referenced by GCGchvatalGomoryCutGetVariableCoefficient().
◆ GCGpricingmodificationGetNAdditionalConss()
| GCG_EXPORT int GCGpricingmodificationGetNAdditionalConss | ( | GCG_PRICINGMODIFICATION * | pricingmodification | ) |
get the number of additional constraints that are inferred by the extended master cons
- Parameters
-
pricingmodification pricing modification
Definition at line 473 of file extendedmasterconsdata.c.
References GCG_PricingModification::nadditionalconss, and NULL.
◆ GCGpricingmodificationGetBlock()
| GCG_EXPORT int GCGpricingmodificationGetBlock | ( | GCG_PRICINGMODIFICATION * | pricingmodification | ) |
get the number of the block the modification belongs to
- Parameters
-
pricingmodification pricing modification
Definition at line 485 of file extendedmasterconsdata.c.
References GCG_PricingModification::blocknr, and NULL.
◆ GCGextendedmasterconsGetPricingModification()
| GCG_EXPORT GCG_PRICINGMODIFICATION * GCGextendedmasterconsGetPricingModification | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata, | ||
| int | blocknr | ||
| ) |
get the pricing modification for a block, if exists, else NULL
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data blocknr block number
Definition at line 495 of file extendedmasterconsdata.c.
References GCG_PricingModification::blocknr, GCGgetNPricingprobs(), GCG_ExtendedMasterConsData::npricingmodifications, NULL, and GCG_ExtendedMasterConsData::pricingmodifications.
Referenced by GCGchvatalGomoryCutGetVariableCoefficient(), GCGcolUpdateActiveMastersepacuts(), and GCGcreateGcgCol().
◆ GCGextendedmasterconsGetPricingModifications()
| GCG_EXPORT GCG_PRICINGMODIFICATION ** GCGextendedmasterconsGetPricingModifications | ( | GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ) |
get the pricing modifications for the extended master cons
- Parameters
-
extendedmasterconsdata extended master cons data
Definition at line 519 of file extendedmasterconsdata.c.
References NULL, and GCG_ExtendedMasterConsData::pricingmodifications.
◆ GCGextendedmasterconsGetNPricingModifications()
| GCG_EXPORT int GCGextendedmasterconsGetNPricingModifications | ( | GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ) |
get the number of pricing modifications for the extended master cons
- Parameters
-
extendedmasterconsdata extended master cons data
Definition at line 531 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterConsData::npricingmodifications, and NULL.
◆ GCGpricingmodificationIsCoefVar()
| GCG_EXPORT SCIP_Bool GCGpricingmodificationIsCoefVar | ( | GCG_PRICINGMODIFICATION * | pricingmodification, |
| SCIP_VAR * | var | ||
| ) |
check whether a given variable is a coefficient variable of a given pricing modification
- Parameters
-
pricingmodification pricing modification var variable to check
Definition at line 631 of file extendedmasterconsdata.c.
References GCG_PricingModification::coefvar, NULL, and SCIP_Bool.
Referenced by GCGextendedmasterconsIsCoefVar().
◆ GCGextendedmasterconsIsCoefVar()
| GCG_EXPORT SCIP_Bool GCGextendedmasterconsIsCoefVar | ( | GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata, |
| SCIP_VAR * | var | ||
| ) |
check whether a given variable is a coefficient variable of a given extended master cons
- Parameters
-
extendedmasterconsdata extended master cons data var variable to check
Definition at line 642 of file extendedmasterconsdata.c.
References FALSE, GCGpricingmodificationIsCoefVar(), GCG_ExtendedMasterConsData::npricingmodifications, NULL, GCG_ExtendedMasterConsData::pricingmodifications, SCIP_Bool, and TRUE.
◆ GCGextendedmasterconsGetName()
| GCG_EXPORT const char * GCGextendedmasterconsGetName | ( | GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ) |
get name of the extended master cons
- Parameters
-
extendedmasterconsdata extended master cons data
Definition at line 662 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterCons::cons, GCG_ExtendedMasterConsData::cons, GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, NULL, GCG_ExtendedMasterCons::row, SCIP_CALL_ABORT, SCIP_INVALIDDATA, SCIPconsGetName(), SCIProwGetName(), and GCG_ExtendedMasterConsData::type.
Referenced by ObjPricerGcg::getStabilizedDualObjectiveValue(), and ObjPricerGcg::setPricingObjs().
◆ GCGextendedmasterconsGetLhs()
| GCG_EXPORT SCIP_Real GCGextendedmasterconsGetLhs | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ||
| ) |
get the lhs of the extended master cons
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data
Definition at line 683 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterCons::cons, GCG_ExtendedMasterConsData::cons, GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGconsGetLhs(), GCGgetMasterprob(), NULL, GCG_ExtendedMasterCons::row, SCIP_CALL_ABORT, SCIP_INVALID, SCIP_INVALIDDATA, SCIP_Real, SCIProwGetLhs(), and GCG_ExtendedMasterConsData::type.
Referenced by gcg::Stabilization::branchmasterconsGetDual(), GCGcolComputeDualObjPara(), and ObjPricerGcg::getStabilizedDualObjectiveValue().
◆ GCGextendedmasterconsGetRhs()
| GCG_EXPORT SCIP_Real GCGextendedmasterconsGetRhs | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ||
| ) |
get the rhs of the extended master cons
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data
Definition at line 706 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterCons::cons, GCG_ExtendedMasterConsData::cons, GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGconsGetRhs(), GCGgetMasterprob(), NULL, GCG_ExtendedMasterCons::row, SCIP_CALL_ABORT, SCIP_INVALID, SCIP_INVALIDDATA, SCIP_Real, SCIProwGetRhs(), and GCG_ExtendedMasterConsData::type.
Referenced by gcg::Stabilization::branchmasterconsGetDual(), GCGcolComputeDualObjPara(), and ObjPricerGcg::getStabilizedDualObjectiveValue().
◆ GCGextendedmasterconsGetConstant()
| GCG_EXPORT SCIP_Real GCGextendedmasterconsGetConstant | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ||
| ) |
get the constant of the extended master cons (always returns 0 if extended master cons is a constraint, returns constant of row otherwise)
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data
Definition at line 729 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterConsData::cons, GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, NULL, GCG_ExtendedMasterCons::row, SCIP_CALL_ABORT, SCIP_INVALID, SCIP_INVALIDDATA, SCIP_Real, SCIProwGetConstant(), and GCG_ExtendedMasterConsData::type.
Referenced by ObjPricerGcg::getStabilizedDualObjectiveValue().
◆ GCGextendedmasterconsGetNNonz()
| GCG_EXPORT int GCGextendedmasterconsGetNNonz | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ||
| ) |
get number of nonzero entries in the extended master cons
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data
Definition at line 750 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterCons::cons, GCG_ExtendedMasterConsData::cons, GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGgetMasterprob(), NULL, GCG_ExtendedMasterCons::row, SCIP_CALL_ABORT, SCIP_INVALIDDATA, SCIPconsGetRow(), SCIProwGetNNonz(), and GCG_ExtendedMasterConsData::type.
◆ GCGextendedmasterconsGetCols()
| GCG_EXPORT SCIP_COL ** GCGextendedmasterconsGetCols | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ||
| ) |
get array of columns with nonzero entries
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data
Definition at line 773 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterCons::cons, GCG_ExtendedMasterConsData::cons, GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGgetMasterprob(), NULL, GCG_ExtendedMasterCons::row, SCIP_CALL_ABORT, SCIP_INVALIDDATA, SCIPconsGetRow(), SCIProwGetCols(), and GCG_ExtendedMasterConsData::type.
◆ GCGextendedmasterconsGetVals()
| GCG_EXPORT SCIP_Real * GCGextendedmasterconsGetVals | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ||
| ) |
get array of coefficients with nonzero entries
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data
Definition at line 796 of file extendedmasterconsdata.c.
References GCG_ExtendedMasterCons::cons, GCG_ExtendedMasterConsData::cons, GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGgetMasterprob(), NULL, GCG_ExtendedMasterCons::row, SCIP_CALL_ABORT, SCIP_INVALIDDATA, SCIP_Real, SCIPconsGetRow(), SCIProwGetVals(), and GCG_ExtendedMasterConsData::type.
◆ GCGextendedmasterconsGetCoeff()
| GCG_EXPORT SCIP_RETCODE GCGextendedmasterconsGetCoeff | ( | GCG * | gcg, |
| GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata, | ||
| SCIP_VAR ** | solvars, | ||
| SCIP_Real * | solvals, | ||
| int | nsolvars, | ||
| int | probnr, | ||
| GCG_COL * | gcgcol, | ||
| SCIP_Real * | coeff | ||
| ) |
calculate the coefficient of a column solution in the extended master cons
- Parameters
-
gcg GCG data structure extendedmasterconsdata extended master cons data solvars array of column solution variables solvals array of column solution values nsolvars number of column solution variables and values probnr the pricing problem that the column belongs to gcgcol gcg column if available (or NULL) coeff pointer to store the coefficient
Definition at line 819 of file extendedmasterconsdata.c.
References GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGbranchGetExtendedmasterconsCoeff(), GCGmastersepacutGetExtendedmasterconsCoeff(), NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPerrorMessage, and GCG_ExtendedMasterConsData::type.
◆ GCGextendedmasterconsGetType()
| GCG_EXPORT GCG_EXTENDEDMASTERCONSTYPE GCGextendedmasterconsGetType | ( | GCG_EXTENDEDMASTERCONSDATA * | extendedmasterconsdata | ) |
gets the type of the extended master cons
- Parameters
-
extendedmasterconsdata extended master cons data
Definition at line 850 of file extendedmasterconsdata.c.
References NULL, and GCG_ExtendedMasterConsData::type.
Referenced by addToActiveMastersepacuts(), ReducedCostPricing::extendedmasterconsGetDual(), FarkasPricing::extendedmasterconsGetDual(), GCGbranchFreeExtendedmasterconsBranchData(), GCGbranchGetExtendedmasterconsCoeff(), GCGcaptureMastersepacut(), GCGcolUpdateActiveMastersepacuts(), GCGextendedmasterconsGetMastersepacut(), GCGreleaseMastersepacut(), and ObjPricerGcg::getStabilizedDualObjectiveValue().