gcgcol.c File Reference
Detailed Description
methods for working with gcg column structure
Various methods to work with gcg column structure
Definition in file gcgcol.c.
#include "pub_gcgcol.h"
#include "gcg.h"
#include "scip/def.h"
#include "scip/scip.h"
#include "scip/cons_linear.h"
#include "scip_misc.h"
#include "blockmemshell/memory.h"
#include "pricer_gcg.h"
#include "sepa_master.h"
#include <assert.h>
Go to the source code of this file.
Functions | |
SCIP_RETCODE | GCGcreateGcgCol (SCIP *pricingprob, GCG_COL **gcgcol, int probnr, SCIP_VAR **vars, SCIP_Real *vals, int nvars, SCIP_Bool isray, SCIP_Real redcost) |
void | GCGfreeGcgCol (GCG_COL **gcgcol) |
SCIP_RETCODE | GCGcreateGcgColFromSol (SCIP *pricingprob, GCG_COL **gcgcol, int prob, SCIP_SOL *sol, SCIP_Bool isray, SCIP_Real redcost) |
SCIP_DECL_SORTPTRCOMP (GCGcolCompRedcost) | |
SCIP_DECL_SORTPTRCOMP (GCGcolCompAge) | |
SCIP_Bool | GCGcolIsEq (GCG_COL *gcgcol1, GCG_COL *gcgcol2) |
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) |
int | GCGcolGetAge (GCG_COL *gcgcol) |
void | GCGcolUpdateRedcost (GCG_COL *gcgcol, SCIP_Real redcost, SCIP_Bool growold) |
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) |
SCIP_Real | GCGcolGetSolVal (SCIP *scip, GCG_COL *gcgcol, SCIP_VAR *var) |
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) |