Scippy

GCG

Branch-and-Price & Column Generation for Everyone

pub_gcgcol.h File Reference

Detailed Description

public methods for working with gcg columns

Author
Jonas Witt

Definition in file pub_gcgcol.h.

#include "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"

Go to the source code of this file.

Functions

SCIP_RETCODE GCGcreateGcgCol (SCIP *scip, GCG_COL **gcgcol, int prob, SCIP_VAR **vars, SCIP_Real *vals, int nvars, SCIP_Bool isray, SCIP_Real redcost)
 
void GCGfreeGcgCol (GCG_COL **gcgcol)
 
SCIP_RETCODE GCGcreateGcgColFromSol (SCIP *scip, GCG_COL **gcgcol, int prob, SCIP_SOL *sol, SCIP_Bool isray, SCIP_Real redcost)
 
int GCGcolGetProbNr (GCG_COL *gcgcol)
 
SCIP * GCGcolGetPricingProb (GCG_COL *gcgcol)
 
SCIP_VAR ** GCGcolGetVars (GCG_COL *gcgcol)
 
SCIP_Real * GCGcolGetVals (GCG_COL *gcgcol)
 
int GCGcolGetNVars (GCG_COL *gcgcol)
 
SCIP_Bool GCGcolIsRay (GCG_COL *gcgcol)
 
SCIP_Real GCGcolGetRedcost (GCG_COL *gcgcol)
 
 SCIP_DECL_SORTPTRCOMP (GCGcolCompRedcost)
 
 SCIP_DECL_SORTPTRCOMP (GCGcolCompAge)
 
SCIP_Bool GCGcolIsEq (GCG_COL *gcgcol1, GCG_COL *gcgcol2)
 
void GCGcolUpdateRedcost (GCG_COL *gcgcol, SCIP_Real redcost, SCIP_Bool growold)
 
SCIP_Real GCGcolGetSolVal (SCIP *scip, GCG_COL *gcgcol, SCIP_VAR *var)
 
SCIP_Real * GCGcolGetMastercoefs (GCG_COL *gcgcol)
 
int GCGcolGetNMastercoefs (GCG_COL *gcgcol)
 
SCIP_RETCODE GCGcolSetMastercoefs (GCG_COL *gcgcol, SCIP_Real *mastercoefs, int nmastercoefs)
 
void GCGcolSetNorm (GCG_COL *gcgcol, SCIP_Real norm)
 
void GCGcolComputeNorm (SCIP *scip, GCG_COL *gcgcol)
 
SCIP_RETCODE GCGcolSetInitializedCoefs (GCG_COL *gcgcol)
 
SCIP_Bool GCGcolGetInitializedCoefs (GCG_COL *gcgcol)
 
int * GCGcolGetLinkvars (GCG_COL *gcgcol)
 
int GCGcolGetNLinkvars (GCG_COL *gcgcol)
 
SCIP_RETCODE GCGcolSetLinkvars (GCG_COL *gcgcol, int *linkvars, int nlinkvars)
 
SCIP_Real * GCGcolGetMastercuts (GCG_COL *gcgcol)
 
int GCGcolGetNMastercuts (GCG_COL *gcgcol)
 
SCIP_Real GCGcolGetNorm (GCG_COL *gcgcol)
 
SCIP_RETCODE GCGcolUpdateMastercuts (GCG_COL *gcgcol, SCIP_Real *newmastercuts, int nnewmastercuts)
 
int GCGcolGetAge (GCG_COL *col)
 
SCIP_Bool GCGcolIsAged (GCG_COL *col, int agelimit)
 
SCIP_Real GCGcolComputeDualObjPara (SCIP *scip, GCG_COL *gcgcol)
 
SCIP_Real GCGcolComputeOrth (SCIP *scip, GCG_COL *gcgcol1, GCG_COL *gcgcol2)