GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches

Detailed Description

Functions

GCG_EXPORT SCIP_RETCODE GCGcreateGcgCol (GCG *gcg, SCIP *pricingprob, GCG_COL **gcgcol, int prob, SCIP_VAR **vars, SCIP_Real *vals, int nvars, SCIP_Bool isray, SCIP_Real redcost)
GCG_EXPORT SCIP_RETCODE GCGfreeGcgCol (GCG_COL **gcgcol)
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)
GCG_EXPORT int GCGcolGetProbNr (GCG_COL *gcgcol)
GCG_EXPORT SCIP * GCGcolGetPricingProb (GCG_COL *gcgcol)
GCG_EXPORT SCIP_VAR ** GCGcolGetVars (GCG_COL *gcgcol)
GCG_EXPORT SCIP_Real * GCGcolGetVals (GCG_COL *gcgcol)
GCG_EXPORT int GCGcolGetNVars (GCG_COL *gcgcol)
GCG_EXPORT SCIP_Bool GCGcolIsRay (GCG_COL *gcgcol)
GCG_EXPORT SCIP_Real GCGcolGetRedcost (GCG_COL *gcgcol)
GCG_EXPORT SCIP_DECL_SORTPTRCOMP (GCGcolCompRedcost)
GCG_EXPORT SCIP_DECL_SORTPTRCOMP (GCGcolCompAge)
GCG_EXPORT SCIP_Bool GCGcolIsEq (GCG_COL *gcgcol1, GCG_COL *gcgcol2)
GCG_EXPORT void GCGcolUpdateRedcost (GCG_COL *gcgcol, SCIP_Real redcost, SCIP_Bool growold)
GCG_EXPORT SCIP_Real GCGcolGetSolVal (GCG_COL *gcgcol, SCIP_VAR *var)
GCG_EXPORT SCIP_Real * GCGcolGetMastercoefs (GCG_COL *gcgcol)
GCG_EXPORT int GCGcolGetNMastercoefs (GCG_COL *gcgcol)
GCG_EXPORT SCIP_RETCODE GCGcolSetMastercoefs (GCG_COL *gcgcol, SCIP_Real *mastercoefs, int nmastercoefs)
GCG_EXPORT void GCGcolSetNorm (GCG_COL *gcgcol, SCIP_Real norm)
GCG_EXPORT SCIP_RETCODE GCGcolComputeNorm (GCG *gcg, GCG_COL *gcgcol)
GCG_EXPORT SCIP_RETCODE GCGcolSetInitializedCoefs (GCG_COL *gcgcol)
GCG_EXPORT SCIP_Bool GCGcolGetInitializedCoefs (GCG_COL *gcgcol)
GCG_EXPORT int * GCGcolGetLinkvars (GCG_COL *gcgcol)
GCG_EXPORT int GCGcolGetNLinkvars (GCG_COL *gcgcol)
GCG_EXPORT SCIP_RETCODE GCGcolSetLinkvars (GCG_COL *gcgcol, int *linkvars, int nlinkvars)
GCG_EXPORT SCIP_Real * GCGcolGetOriginalSepaMastercuts (GCG_COL *gcgcol)
GCG_EXPORT int GCGcolGetNOriginalSepaMastercuts (GCG_COL *gcgcol)
GCG_EXPORT SCIP_Real GCGcolGetNorm (GCG_COL *gcgcol)
GCG_EXPORT SCIP_RETCODE GCGcolUpdateOriginalSepaMastercuts (GCG_COL *gcgcol, SCIP_Real *neworiginalsepamastercuts, int nneworiginalsepamastercuts)
GCG_EXPORT int GCGcolGetAge (GCG_COL *col)
GCG_EXPORT SCIP_Bool GCGcolIsAged (GCG_COL *col, int agelimit)
GCG_EXPORT SCIP_RETCODE GCGcolComputeDualObjPara (GCG *gcg, GCG_COL *gcgcol, SCIP_Real *para)
GCG_EXPORT SCIP_RETCODE GCGcolComputeOrth (GCG *gcg, GCG_COL *gcgcol1, GCG_COL *gcgcol2, SCIP_Real *orth)
GCG_EXPORT SCIP_Real * GCGcolGetInferredPricingVals (GCG_COL *gcgcol)
GCG_EXPORT SCIP_VAR ** GCGcolGetInferredPricingVars (GCG_COL *gcgcol)
GCG_EXPORT int GCGcolGetNInferredPricingVars (GCG_COL *gcgcol)
GCG_EXPORT SCIP_RETCODE GCGcolSetMastersepacutCoeffs (GCG_COL *gcgcol, SCIP_Real *sepamastercoeffs, int nsepamastercoeffs)
GCG_EXPORT int GCGcolGetNMastersepacutCoeffs (GCG_COL *gcgcol)
GCG_EXPORT int GCGcolGetMastersepacutCoeffsSize (GCG_COL *gcgcol)
GCG_EXPORT SCIP_Real * GCGcolGetMastersepaCutCoeffs (GCG_COL *gcgcol)
GCG_EXPORT SCIP_RETCODE GCGcolUpdateActiveMastersepacuts (GCG *gcg, GCG_COL *gcgcol, GCG_EXTENDEDMASTERCONSDATA **mastersepacuts, int nmastersepacuts, SCIP_Real *mastersepacutcoefs)
GCG_EXPORT SCIP_DECL_HASHGETKEY (GCGhashGetKeyCol)
GCG_EXPORT SCIP_DECL_HASHKEYEQ (GCGhashKeyEqCol)
GCG_EXPORT SCIP_DECL_HASHKEYVAL (GCGhashKeyValCol)

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
gcgGCG data structure
pricingprobSCIP data structure (pricing problem)
gcgcolpointer to store gcg column
probnrnumber of corresponding pricing problem
vars(sorted) array of variables of corresponding pricing problem
valsarray of solution values (belonging to vars)
nvarsnumber of variables
israyis the column a ray?
redcostlast 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
gcgcolpointer 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
gcgGCG data structure
pricingprobSCIP data structure (pricing problem)
subproblemSCIP data structure that contains the actual solution (if NULL pricingprob will be used)
varmapmapping of pricingprob vars to subproblem vars (can be NULL if subproblem is NULL)
gcgcolpointer to store gcg column
probnumber of corresponding pricing problem
solsolution of pricing problem with index prob
israyis column a ray?
redcostlast 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()

◆ GCGcolGetPricingProb()

GCG_EXPORT SCIP * GCGcolGetPricingProb ( GCG_COL * gcgcol)

get pricing problem of gcg column

Parameters
gcgcolgcg 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()

◆ GCGcolGetVals()

◆ GCGcolGetNVars()

GCG_EXPORT int GCGcolGetNVars ( GCG_COL * gcgcol)

◆ GCGcolIsRay()

GCG_EXPORT SCIP_Bool GCGcolIsRay ( GCG_COL * gcgcol)

is gcg column a ray?

Parameters
gcgcolgcg 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()

◆ 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
gcgcol1first gcg column structure
gcgcol2second 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
gcgcolgcg column structure
redcostnew reduced cost
growoldchange 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
gcgcolgcg column
varvariable

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
gcgcolgcg 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
gcgcolgcg 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
gcgcolgcg column structure
mastercoefsarray of master coefficients
nmastercoefsnew 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
gcgcolgcg column structure
normnorm of column

Definition at line 553 of file gcgcol.c.

References GCGcolSetNorm(), and GCG_Col::norm.

Referenced by GCGcolSetNorm().

◆ GCGcolComputeNorm()

◆ GCGcolSetInitializedCoefs()

GCG_EXPORT SCIP_RETCODE GCGcolSetInitializedCoefs ( GCG_COL * gcgcol)

set master coefficients of column as initialized

Parameters
gcgcolgcg 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
gcgcolgcg 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
gcgcolgcg 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
gcgcolgcg 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
gcgcolgcg column structure
linkvarsarray of linking variable indices for gcgcol->var
nlinkvarsnumber 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
gcgcolgcg 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
gcgcolgcg 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
gcgcolgcg 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
gcgcolgcg column structure
neworiginalsepamastercutspointer to new array of extended master cons coefficients
nneworiginalsepamastercutsnew 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
gcgcolcol

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
colcol to check
agelimitmaximum 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()

◆ GCGcolComputeOrth()

GCG_EXPORT SCIP_RETCODE GCGcolComputeOrth ( GCG * gcg,
GCG_COL * gcgcol1,
GCG_COL * gcgcol2,
SCIP_Real * orth )

compute orthogonality of two gcg columns

Parameters
gcgGCG data structure
gcgcol1first gcg column
gcgcol2second gcg column
orthpointer 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
gcgcolgcgcol

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
gcgcolgcgcol

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
gcgcolgcgcol

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
gcgcolgcg column structure
mastersepacutcoeffspointer to array of new mastercut coefficients
nmastersepacutcoeffsnumber 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
gcgcolgcg 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
gcgcolgcg 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
gcgcolgcg 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 )

◆ SCIP_DECL_HASHGETKEY()

GCG_EXPORT SCIP_DECL_HASHGETKEY ( GCGhashGetKeyCol )

gets the hash key of a col

Definition at line 1214 of file gcgcol.c.

References assert().

◆ 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.