Detailed Description
Function Documentation
◆ GCGcreateGcgCol()
| GCG_EXPORT SCIP_RETCODE GCGcreateGcgCol | ( | GCG * | gcg, |
| SCIP * | pricingprob, | ||
| GCG_COL ** | gcgcol, | ||
| int | probnr, | ||
| SCIP_VAR ** | vars, | ||
| SCIP_Real * | vals, | ||
| int | nvars, | ||
| SCIP_Bool | isray, | ||
| SCIP_Real | redcost ) |
create a gcg column
- Parameters
-
gcg GCG data structure pricingprob SCIP data structure (pricing problem) gcgcol pointer to store gcg column probnr number of corresponding pricing problem vars (sorted) array of variables of corresponding pricing problem vals array of solution values (belonging to vars) nvars number of variables isray is the column a ray? redcost last known reduced cost
Definition at line 53 of file gcgcol.c.
References assert(), GCGbranchGetExtendedmasterconsCoeff(), GCGcountInferredCoefPricingVars(), GCGcreateGcgCol(), GCGextendedmasterconsGetPricingModification(), GCGgetActiveMastersepacuts(), GCGgetNActiveMastersepacuts(), GCGgetNActivePricingproblemModifications(), GCGgetNAppliedPricingproblemModifications(), GCGmastersepacutGetExtendedmasterconsCoeff(), GCGpricingmodificationGetCoefVar(), GCGpricingVarGetNOrigvars(), GCGpricingVarGetOrigvars(), GCGrelaxBranchGetAllActiveExtendedMasterConss(), GCGvarIsPricing(), i, nvars, SCIP_CALL(), var, and vars.
Referenced by createColumnFromRay(), GCGcreateGcgCol(), GCGcreateGcgColFromSol(), solveCliquer(), solveCplex(), solveHighs(), and solveKnapsack().
◆ GCGfreeGcgCol()
| GCG_EXPORT SCIP_RETCODE GCGfreeGcgCol | ( | GCG_COL ** | gcgcol | ) |
free a gcg column
- Parameters
-
gcgcol pointer to store gcg column
Definition at line 231 of file gcgcol.c.
References assert(), GCGfreeGcgCol(), i, and SCIP_CALL().
Referenced by colpoolDelCol(), GCGcolpoolAddCol(), GCGfreeGcgCol(), GCGpricestoreAddCol(), GCGpricestoreClearCols(), pricestoreApplyCol(), and pricestoreDelCol().
◆ GCGcreateGcgColFromSol()
| GCG_EXPORT SCIP_RETCODE GCGcreateGcgColFromSol | ( | GCG * | gcg, |
| SCIP * | pricingprob, | ||
| SCIP * | subproblem, | ||
| SCIP_HASHMAP * | varmap, | ||
| GCG_COL ** | gcgcol, | ||
| int | prob, | ||
| SCIP_SOL * | sol, | ||
| SCIP_Bool | isray, | ||
| SCIP_Real | redcost ) |
create a gcg column from a solution to a pricing problem
- Parameters
-
gcg GCG data structure pricingprob SCIP data structure (pricing problem) subproblem SCIP data structure that contains the actual solution (if NULL pricingprob will be used) varmap mapping of pricingprob vars to subproblem vars (can be NULL if subproblem is NULL) gcgcol pointer to store gcg column prob number of corresponding pricing problem sol solution of pricing problem with index prob isray is column a ray? redcost last known reduced cost
Definition at line 267 of file gcgcol.c.
References GCGcreateGcgCol(), GCGcreateGcgColFromSol(), i, SCIP_CALL(), SCIPfreeBufferArray(), sol, and solval.
Referenced by GCGcreateGcgColFromSol(), getColumnsFromPricingprob(), solveCplex(), and solveHighs().
◆ GCGcolGetProbNr()
| GCG_EXPORT int GCGcolGetProbNr | ( | GCG_COL * | gcgcol | ) |
get pricing problem index of gcg column
- Parameters
-
gcgcol gcg column structure
Definition at line 427 of file gcgcol.c.
References GCGcolGetProbNr(), and GCG_Col::probnr.
Referenced by ObjPricerGcg::addColToPricestore(), ObjPricerGcg::computeColMastersepacutCoeffs(), ObjPricerGcg::computeColOriginalSepaCuts(), ObjPricerGcg::computeRedCostGcgCol(), ObjPricerGcg::createNewMasterVarFromGcgCol(), GCGcolGetProbNr(), GCGpricestoreApplyCols(), and ObjPricerGcg::getBestCols().
◆ GCGcolGetPricingProb()
| GCG_EXPORT SCIP * GCGcolGetPricingProb | ( | GCG_COL * | gcgcol | ) |
get pricing problem of gcg column
- Parameters
-
gcgcol gcg column structure
Definition at line 435 of file gcgcol.c.
References GCGcolGetPricingProb(), and GCG_Col::pricingprob.
Referenced by ObjPricerGcg::computeColMastercoefs(), GCGcolGetPricingProb(), GCGcolIsEq(), and GCGcolUpdateOriginalSepaMastercuts().
◆ GCGcolGetVars()
| GCG_EXPORT SCIP_VAR ** GCGcolGetVars | ( | GCG_COL * | gcgcol | ) |
get variables of gcg column
- Parameters
-
gcgcol gcg column structure
Definition at line 443 of file gcgcol.c.
References GCGcolGetVars(), and GCG_Col::vars.
Referenced by ObjPricerGcg::computeColMastercoefs(), ObjPricerGcg::computeColMastersepacutCoeffs(), ObjPricerGcg::computeColOriginalSepaCuts(), ObjPricerGcg::computeRedCostGcgCol(), ObjPricerGcg::createNewMasterVarFromGcgCol(), GCGcolGetVars(), and GCGcolIsEq().
◆ GCGcolGetVals()
| GCG_EXPORT SCIP_Real * GCGcolGetVals | ( | GCG_COL * | gcgcol | ) |
get values of gcg column
- Parameters
-
gcgcol gcg column structure
Definition at line 451 of file gcgcol.c.
References GCGcolGetVals(), and GCG_Col::vals.
Referenced by ObjPricerGcg::computeColMastercoefs(), ObjPricerGcg::computeColMastersepacutCoeffs(), ObjPricerGcg::computeColOriginalSepaCuts(), ObjPricerGcg::computeRedCostGcgCol(), ObjPricerGcg::createNewMasterVarFromGcgCol(), GCGcolGetVals(), and GCGcolIsEq().
◆ GCGcolGetNVars()
| GCG_EXPORT int GCGcolGetNVars | ( | GCG_COL * | gcgcol | ) |
get number of variables of gcg column
- Parameters
-
gcgcol gcg column structure
Definition at line 459 of file gcgcol.c.
References GCGcolGetNVars(), and GCG_Col::nvars.
Referenced by ObjPricerGcg::computeColMastercoefs(), ObjPricerGcg::computeColMastersepacutCoeffs(), ObjPricerGcg::computeColOriginalSepaCuts(), ObjPricerGcg::computeRedCostGcgCol(), ObjPricerGcg::createNewMasterVarFromGcgCol(), and GCGcolGetNVars().
◆ GCGcolIsRay()
| GCG_EXPORT SCIP_Bool GCGcolIsRay | ( | GCG_COL * | gcgcol | ) |
is gcg column a ray?
- Parameters
-
gcgcol gcg column structure
Definition at line 467 of file gcgcol.c.
References GCGcolIsRay(), and GCG_Col::isray.
Referenced by ObjPricerGcg::computeRedCostGcgCol(), ObjPricerGcg::createNewMasterVarFromGcgCol(), GCGcolIsRay(), and ObjPricerGcg::getDualconvsum().
◆ GCGcolGetRedcost()
| GCG_EXPORT SCIP_Real GCGcolGetRedcost | ( | GCG_COL * | gcgcol | ) |
get reduced cost of gcg column
- Parameters
-
gcgcol gcg column structure
Definition at line 475 of file gcgcol.c.
References GCGcolGetRedcost(), and GCG_Col::redcost.
Referenced by ObjPricerGcg::addColToPricestore(), gcg::Pricingcontroller::collectResults(), computeScore(), ObjPricerGcg::createNewMasterVarFromGcgCol(), GCGcolGetRedcost(), GCGcolpoolPrice(), GCGpricestoreApplyCols(), ObjPricerGcg::getBestCols(), pricestoreUpdateOrthogonalities(), and SCIP_DECL_SORTPTRCOMP().
◆ SCIP_DECL_SORTPTRCOMP() [1/2]
| GCG_EXPORT SCIP_DECL_SORTPTRCOMP | ( | GCGcolCompRedcost | ) |
comparison method for sorting gcg columns by non-decreasing reduced cost
Definition at line 337 of file gcgcol.c.
References GCGcolGetRedcost().
◆ SCIP_DECL_SORTPTRCOMP() [2/2]
| GCG_EXPORT SCIP_DECL_SORTPTRCOMP | ( | GCGcolCompAge | ) |
comparison method for sorting gcg columns by non-increasing age
Definition at line 354 of file gcgcol.c.
References GCGcolGetAge().
◆ GCGcolIsEq()
| GCG_EXPORT SCIP_Bool GCGcolIsEq | ( | GCG_COL * | gcgcol1, |
| GCG_COL * | gcgcol2 ) |
comparison method for gcg columns. Returns TRUE iff columns are equal
- Parameters
-
gcgcol1 first gcg column structure gcgcol2 second gcg column structure
Definition at line 371 of file gcgcol.c.
References assert(), GCGcolGetPricingProb(), GCGcolGetVals(), GCGcolGetVars(), GCGcolIsEq(), i, GCG_Col::inferredpricingvals, GCG_Col::inferredpricingvars, GCG_Col::ninferredpricingvars, GCG_Col::nvars, and GCG_Col::probnr.
Referenced by GCGcolIsEq(), GCGpricestoreAddCol(), and SCIP_DECL_HASHKEYEQ().
◆ GCGcolUpdateRedcost()
| GCG_EXPORT void GCGcolUpdateRedcost | ( | GCG_COL * | gcgcol, |
| SCIP_Real | redcost, | ||
| SCIP_Bool | growold ) |
update reduced cost of variable and increase age
- Parameters
-
gcgcol gcg column structure redcost new reduced cost growold change age depending on reduced cost?
Definition at line 491 of file gcgcol.c.
References GCG_Col::age, GCGcolUpdateRedcost(), GCG_Col::pricingprob, and GCG_Col::redcost.
Referenced by ObjPricerGcg::addColToPricestore(), GCGcolpoolUpdateRedcost(), and GCGcolUpdateRedcost().
◆ GCGcolGetSolVal()
| GCG_EXPORT SCIP_Real GCGcolGetSolVal | ( | GCG_COL * | gcgcol, |
| SCIP_VAR * | var ) |
return solution value of variable in gcg column
- Parameters
-
gcgcol gcg column var variable
Definition at line 784 of file gcgcol.c.
References GCGcolGetSolVal(), GCGvarIsInferredPricing(), GCGvarIsPricing(), GCG_Col::inferredpricingvals, GCG_Col::inferredpricingvars, GCG_Col::ninferredpricingvars, GCG_Col::nvars, nvars, GCG_Col::vals, var, GCG_Col::vars, and vars.
Referenced by GCGcolGetSolVal().
◆ GCGcolGetMastercoefs()
| GCG_EXPORT SCIP_Real * GCGcolGetMastercoefs | ( | GCG_COL * | gcgcol | ) |
get master coefficients of column
- Parameters
-
gcgcol gcg column structure
Definition at line 509 of file gcgcol.c.
References GCGcolGetMastercoefs(), and GCG_Col::mastercoefs.
Referenced by GCGchvatalGomoryCutGetColumnCoefficient(), and GCGcolGetMastercoefs().
◆ GCGcolGetNMastercoefs()
| GCG_EXPORT int GCGcolGetNMastercoefs | ( | GCG_COL * | gcgcol | ) |
get number of master coefficients of column
- Parameters
-
gcgcol gcg column structure
Definition at line 517 of file gcgcol.c.
References GCGcolGetNMastercoefs(), and GCG_Col::nmastercoefs.
Referenced by ObjPricerGcg::computeColMastercoefs(), and GCGcolGetNMastercoefs().
◆ GCGcolSetMastercoefs()
| GCG_EXPORT SCIP_RETCODE GCGcolSetMastercoefs | ( | GCG_COL * | gcgcol, |
| SCIP_Real * | mastercoefs, | ||
| int | nmastercoefs ) |
set master coefficients of column
set master coefficients information of column
- Parameters
-
gcgcol gcg column structure mastercoefs array of master coefficients nmastercoefs new number of master coefficients
Definition at line 525 of file gcgcol.c.
References assert(), GCGcolSetMastercoefs(), i, GCG_Col::mastercoefs, GCG_Col::maxmastercoefs, GCG_Col::nmastercoefs, GCG_Col::pricingprob, SCIP_CALL(), and SCIPdebugMessage().
Referenced by ObjPricerGcg::computeColMastercoefs(), and GCGcolSetMastercoefs().
◆ GCGcolSetNorm()
| GCG_EXPORT void GCGcolSetNorm | ( | GCG_COL * | gcgcol, |
| SCIP_Real | norm ) |
set norm of column
- Parameters
-
gcgcol gcg column structure norm norm of column
Definition at line 553 of file gcgcol.c.
References GCGcolSetNorm(), and GCG_Col::norm.
Referenced by GCGcolSetNorm().
◆ GCGcolComputeNorm()
| GCG_EXPORT SCIP_RETCODE GCGcolComputeNorm | ( | GCG * | gcg, |
| GCG_COL * | gcgcol ) |
get norm of column
- Parameters
-
gcg GCG data structure gcgcol gcg column structure
Definition at line 562 of file gcgcol.c.
References assert(), GCGcolComputeNorm(), GCGgetMasterprob(), i, GCG_Col::inferredpricingvals, j, GCG_Col::linkvars, GCG_Col::mastercoefs, GCG_Col::mastersepacutcoeffs, GCG_Col::ninferredpricingvars, GCG_Col::nlinkvars, GCG_Col::nmastercoefs, GCG_Col::nmastersepacutcoeffs, GCG_Col::noriginalsepamastercuts, GCG_Col::norm, GCG_Col::originalsepamastercuts, and GCG_Col::vals.
Referenced by GCGcolComputeNorm(), and GCGpricestoreAddCol().
◆ GCGcolSetInitializedCoefs()
| GCG_EXPORT SCIP_RETCODE GCGcolSetInitializedCoefs | ( | GCG_COL * | gcgcol | ) |
set master coefficients of column as initialized
- Parameters
-
gcgcol gcg column structure
Definition at line 617 of file gcgcol.c.
References assert(), GCGcolSetInitializedCoefs(), and GCG_Col::initcoefs.
Referenced by ObjPricerGcg::computeColMastercoefs(), and GCGcolSetInitializedCoefs().
◆ GCGcolGetInitializedCoefs()
| GCG_EXPORT SCIP_Bool GCGcolGetInitializedCoefs | ( | GCG_COL * | gcgcol | ) |
return if master coefficients of column have been initialized
- Parameters
-
gcgcol gcg column structure
Definition at line 627 of file gcgcol.c.
References GCGcolGetInitializedCoefs(), and GCG_Col::initcoefs.
Referenced by ObjPricerGcg::computeColMastercoefs(), ObjPricerGcg::computeColMastersepacutCoeffs(), GCGchvatalGomoryCutGetColumnCoefficient(), and GCGcolGetInitializedCoefs().
◆ GCGcolGetLinkvars()
| GCG_EXPORT int * GCGcolGetLinkvars | ( | GCG_COL * | gcgcol | ) |
get master coefficients of column
- Parameters
-
gcgcol gcg column structure
Definition at line 635 of file gcgcol.c.
References GCGcolGetLinkvars(), and GCG_Col::linkvars.
Referenced by GCGcolGetLinkvars().
◆ GCGcolGetNLinkvars()
| GCG_EXPORT int GCGcolGetNLinkvars | ( | GCG_COL * | gcgcol | ) |
get number of master coefficients of column
- Parameters
-
gcgcol gcg column structure
Definition at line 643 of file gcgcol.c.
References GCGcolGetNLinkvars(), and GCG_Col::nlinkvars.
Referenced by GCGcolGetNLinkvars().
◆ GCGcolSetLinkvars()
| GCG_EXPORT SCIP_RETCODE GCGcolSetLinkvars | ( | GCG_COL * | gcgcol, |
| int * | linkvars, | ||
| int | nlinkvars ) |
set master coefficients information of column
- Parameters
-
gcgcol gcg column structure linkvars array of linking variable indices for gcgcol->var nlinkvars number of linking variables in gcgcol->var
Definition at line 651 of file gcgcol.c.
References assert(), GCGcolSetLinkvars(), i, GCG_Col::linkvars, GCG_Col::maxlinkvars, GCG_Col::nlinkvars, GCG_Col::pricingprob, and SCIP_CALL().
Referenced by ObjPricerGcg::computeColMastercoefs(), and GCGcolSetLinkvars().
◆ GCGcolGetOriginalSepaMastercuts()
| GCG_EXPORT SCIP_Real * GCGcolGetOriginalSepaMastercuts | ( | GCG_COL * | gcgcol | ) |
get original separator cut coefficients of column in master problem
- Parameters
-
gcgcol gcg column structure
Definition at line 675 of file gcgcol.c.
References GCGcolGetOriginalSepaMastercuts(), and GCG_Col::originalsepamastercuts.
Referenced by GCGcolGetOriginalSepaMastercuts().
◆ GCGcolGetNOriginalSepaMastercuts()
| GCG_EXPORT int GCGcolGetNOriginalSepaMastercuts | ( | GCG_COL * | gcgcol | ) |
get number of original separator cut coefficients of column in master problem
- Parameters
-
gcgcol gcg column structure
Definition at line 683 of file gcgcol.c.
References GCGcolGetNOriginalSepaMastercuts(), and GCG_Col::noriginalsepamastercuts.
Referenced by ObjPricerGcg::computeColOriginalSepaCuts(), and GCGcolGetNOriginalSepaMastercuts().
◆ GCGcolGetNorm()
| GCG_EXPORT SCIP_Real GCGcolGetNorm | ( | GCG_COL * | gcgcol | ) |
get norm of column
- Parameters
-
gcgcol gcg column structure
Definition at line 691 of file gcgcol.c.
References GCGcolGetNorm(), and GCG_Col::norm.
Referenced by computeScore(), GCGcolGetNorm(), and pricestoreUpdateOrthogonalities().
◆ GCGcolUpdateOriginalSepaMastercuts()
| GCG_EXPORT SCIP_RETCODE GCGcolUpdateOriginalSepaMastercuts | ( | GCG_COL * | gcgcol, |
| SCIP_Real * | neworiginalsepamastercuts, | ||
| int | nneworiginalsepamastercuts ) |
update original separator cut coefficients information of column in the amster problem
update original separator cut coefficients information of column in the master problem
- Parameters
-
gcgcol gcg column structure neworiginalsepamastercuts pointer to new array of extended master cons coefficients nneworiginalsepamastercuts new number of extended master cons coefficients
Definition at line 699 of file gcgcol.c.
References GCGcolGetPricingProb(), GCGcolUpdateOriginalSepaMastercuts(), i, GCG_Col::maxoriginalsepamastercuts, GCG_Col::noriginalsepamastercuts, GCG_Col::originalsepamastercuts, GCG_Col::pricingprob, and SCIP_CALL().
Referenced by ObjPricerGcg::computeColOriginalSepaCuts(), and GCGcolUpdateOriginalSepaMastercuts().
◆ GCGcolGetAge()
| GCG_EXPORT int GCGcolGetAge | ( | GCG_COL * | gcgcol | ) |
gets the age of the col
get age of gcg column
- Parameters
-
gcgcol col
Definition at line 483 of file gcgcol.c.
References GCG_Col::age, and GCGcolGetAge().
Referenced by GCGcolGetAge(), and SCIP_DECL_SORTPTRCOMP().
◆ GCGcolIsAged()
| GCG_EXPORT SCIP_Bool GCGcolIsAged | ( | GCG_COL * | col, |
| int | agelimit ) |
returns whether the col's age exceeds the age limit
- Parameters
-
col col to check agelimit maximum age a col can reach before it is deleted from the pool, or -1
Definition at line 814 of file gcgcol.c.
References GCG_Col::age, assert(), and GCGcolIsAged().
Referenced by GCGcolIsAged(), and GCGcolpoolPrice().
◆ GCGcolComputeDualObjPara()
| GCG_EXPORT SCIP_RETCODE GCGcolComputeDualObjPara | ( | GCG * | gcg, |
| GCG_COL * | gcgcol, | ||
| SCIP_Real * | para ) |
compute parallelism of column to dual objective
- Parameters
-
gcg GCG data structure gcgcol gcg column para pointer to store the parallelism of column to dual objective
Definition at line 825 of file gcgcol.c.
References assert(), GCGcolComputeDualObjPara(), GCGextendedmasterconsGetLhs(), GCGextendedmasterconsGetRhs(), GCGextendedmasterconsGetRow(), GCGextendedmasterconsIsActive(), GCGgetActiveMastersepacuts(), GCGgetMasterConss(), GCGgetMasterprob(), GCGgetNIdenticalBlocks(), GCGgetNPricingprobs(), GCGinferredPricingVarGetExtendedmasterconsdata(), GCGsepaGetOriginalSepaMastercuts(), i, GCG_Col::inferredpricingvals, GCG_Col::inferredpricingvars, j, GCG_Col::mastercoefs, masterprob, GCG_Col::mastersepacutcoeffs, GCG_Col::ninferredpricingvars, GCG_Col::nmastercoefs, GCG_Col::nmastersepacutcoeffs, GCG_Col::noriginalsepamastercuts, GCG_Col::norm, GCG_Col::originalsepamastercuts, and GCG_Col::probnr.
Referenced by GCGcolComputeDualObjPara(), and GCGpricestoreAddCol().
◆ GCGcolComputeOrth()
| GCG_EXPORT SCIP_RETCODE GCGcolComputeOrth | ( | GCG * | gcg, |
| GCG_COL * | gcgcol1, | ||
| GCG_COL * | gcgcol2, | ||
| SCIP_Real * | orth ) |
compute orthogonality of two gcg columns
- Parameters
-
gcg GCG data structure gcgcol1 first gcg column gcgcol2 second gcg column orth pointer to store the orthogonality of two gcg columns
Definition at line 984 of file gcgcol.c.
References assert(), GCGcolComputeOrth(), GCGgetMasterprob(), i, GCG_Col::inferredpricingvals, GCG_Col::inferredpricingvars, j, GCG_Col::linkvars, GCG_Col::mastercoefs, GCG_Col::mastersepacutcoeffs, GCG_Col::nlinkvars, GCG_Col::nmastercoefs, GCG_Col::nmastersepacutcoeffs, GCG_Col::noriginalsepamastercuts, GCG_Col::originalsepamastercuts, GCG_Col::probnr, GCG_Col::vals, and GCG_Col::vars.
Referenced by GCGcolComputeOrth(), and pricestoreUpdateOrthogonalities().
◆ GCGcolGetInferredPricingVals()
| GCG_EXPORT SCIP_Real * GCGcolGetInferredPricingVals | ( | GCG_COL * | gcgcol | ) |
returns the inferred (coefficient) pricing variables solution values
- Parameters
-
gcgcol gcgcol
Definition at line 1133 of file gcgcol.c.
References GCGcolGetInferredPricingVals(), and GCG_Col::inferredpricingvals.
Referenced by ObjPricerGcg::computeRedCostGcgCol(), and GCGcolGetInferredPricingVals().
◆ GCGcolGetInferredPricingVars()
| GCG_EXPORT SCIP_VAR ** GCGcolGetInferredPricingVars | ( | GCG_COL * | gcgcol | ) |
returns the inferred (coefficient) pricing variables
- Parameters
-
gcgcol gcgcol
Definition at line 1141 of file gcgcol.c.
References GCGcolGetInferredPricingVars(), and GCG_Col::inferredpricingvars.
Referenced by ObjPricerGcg::computeRedCostGcgCol(), and GCGcolGetInferredPricingVars().
◆ GCGcolGetNInferredPricingVars()
| GCG_EXPORT int GCGcolGetNInferredPricingVars | ( | GCG_COL * | gcgcol | ) |
returns the number of inferred (coefficient) pricing variables
- Parameters
-
gcgcol gcgcol
Definition at line 1149 of file gcgcol.c.
References GCGcolGetNInferredPricingVars(), and GCG_Col::ninferredpricingvars.
Referenced by ObjPricerGcg::computeRedCostGcgCol(), and GCGcolGetNInferredPricingVars().
◆ GCGcolSetMastersepacutCoeffs()
| GCG_EXPORT SCIP_RETCODE GCGcolSetMastersepacutCoeffs | ( | GCG_COL * | gcgcol, |
| SCIP_Real * | mastersepacutcoeffs, | ||
| int | nmastersepacutcoeffs ) |
update the column's stored coefficients for mastersepacut
- Parameters
-
gcgcol gcg column structure mastersepacutcoeffs pointer to array of new mastercut coefficients nmastersepacutcoeffs number of new mastercut coefficients
Definition at line 728 of file gcgcol.c.
References GCGcolSetMastersepacutCoeffs(), i, GCG_Col::mastersepacutcoeffs, GCG_Col::mastersepacutscoeffssize, GCG_Col::nmastersepacutcoeffs, GCG_Col::pricingprob, SCIP_CALL(), and SCIPdebugMessage().
Referenced by GCGcolSetMastersepacutCoeffs(), and GCGcolUpdateActiveMastersepacuts().
◆ GCGcolGetNMastersepacutCoeffs()
| GCG_EXPORT int GCGcolGetNMastersepacutCoeffs | ( | GCG_COL * | gcgcol | ) |
get the column's number of stored coefficients for mastersepacuts
- Parameters
-
gcgcol gcg column structure
Definition at line 760 of file gcgcol.c.
References GCGcolGetNMastersepacutCoeffs(), and GCG_Col::nmastersepacutcoeffs.
Referenced by GCGcolGetNMastersepacutCoeffs().
◆ GCGcolGetMastersepacutCoeffsSize()
| GCG_EXPORT int GCGcolGetMastersepacutCoeffsSize | ( | GCG_COL * | gcgcol | ) |
get the size of the column's array for mastersepacut coefficients
- Parameters
-
gcgcol gcg column structure
Definition at line 768 of file gcgcol.c.
References GCGcolGetMastersepacutCoeffsSize(), and GCG_Col::mastersepacutscoeffssize.
Referenced by GCGcolGetMastersepacutCoeffsSize().
◆ GCGcolGetMastersepaCutCoeffs()
| GCG_EXPORT SCIP_Real * GCGcolGetMastersepaCutCoeffs | ( | GCG_COL * | gcgcol | ) |
get the column's coefficients for the mastersepacuts
- Parameters
-
gcgcol gcg column structure
Definition at line 776 of file gcgcol.c.
References GCGcolGetMastersepaCutCoeffs(), and GCG_Col::mastersepacutcoeffs.
Referenced by ObjPricerGcg::addVariableToMastersepacutsFromGCGCol(), and GCGcolGetMastersepaCutCoeffs().
◆ GCGcolUpdateActiveMastersepacuts()
| GCG_EXPORT SCIP_RETCODE GCGcolUpdateActiveMastersepacuts | ( | GCG * | gcg, |
| GCG_COL * | gcgcol, | ||
| GCG_EXTENDEDMASTERCONSDATA ** | mastersepacuts, | ||
| int | nmastersepacuts, | ||
| SCIP_Real * | mastersepacutcoefs ) |
updates column such that it respect the given active cuts
- Parameters
-
gcg GCG data structure gcgcol gcg column structure mastersepacuts active master sepa cuts nmastersepacuts number of active cuts mastersepacutcoefs master sepa cut coefficients
Definition at line 1157 of file gcgcol.c.
References assert(), GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGcolSetMastersepacutCoeffs(), GCGcolUpdateActiveMastersepacuts(), GCGextendedmasterconsGetPricingModification(), GCGextendedmasterconsGetType(), GCGinferredPricingVarGetExtendedmasterconsdata(), GCGpricingmodificationGetCoefVar(), i, GCG_Col::inferredpricingvals, GCG_Col::inferredpricingvars, GCG_Col::maxinferredpricingvars, GCG_Col::ninferredpricingvars, GCG_Col::pricingprob, GCG_Col::probnr, and SCIP_CALL().
Referenced by ObjPricerGcg::computeColMastersepacutCoeffs(), and GCGcolUpdateActiveMastersepacuts().
◆ SCIP_DECL_HASHGETKEY()
| GCG_EXPORT SCIP_DECL_HASHGETKEY | ( | GCGhashGetKeyCol | ) |
◆ SCIP_DECL_HASHKEYEQ()
| GCG_EXPORT SCIP_DECL_HASHKEYEQ | ( | GCGhashKeyEqCol | ) |
returns TRUE iff both cols are identical
Definition at line 1222 of file gcgcol.c.
References GCGcolIsEq().
◆ SCIP_DECL_HASHKEYVAL()
| GCG_EXPORT SCIP_DECL_HASHKEYVAL | ( | GCGhashKeyValCol | ) |
calculates the hash key value of a col
Definition at line 1227 of file gcgcol.c.
References assert(), GCG_Col::isray, GCG_Col::nvars, GCG_Col::probnr, GCG_Col::vals, and GCG_Col::vars.