GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
pub_gcgcol.h File Reference

Detailed Description

public methods for working with gcg columns

Author
Jonas Witt

Definition in file pub_gcgcol.h.

#include "gcg/type_gcgcol.h"
#include "scip/type_scip.h"
#include "scip/type_retcode.h"
#include "scip/type_var.h"
#include "scip/type_cons.h"
#include "scip/type_misc.h"
#include "gcg/def.h"
#include "gcg/type_gcg.h"
#include "gcg/type_extendedmasterconsdata.h"

Go to the source code of this file.

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)