Scippy

GCG

Branch-and-Price & Column Generation for Everyone

scip_misc.h File Reference

Detailed Description

various SCIP helper methods

Author
Martin Bergner

Definition in file scip_misc.h.

#include "scip/scip.h"
#include "scip/cons_setppc.h"
#include "gcg/gcg.h"

Go to the source code of this file.

Enumerations

enum  consType {
  linear ,
  knapsack ,
  varbound ,
  setpacking ,
  setcovering ,
  setpartitioning ,
  logicor ,
  sos1 ,
  sos2 ,
  unknown ,
  nconsTypeItems ,
  indicator
}
 

Functions

GCG_EXPORT SCIP_Bool GCGisVarRelevant (SCIP_VAR *var)
 
GCG_EXPORT consType GCGconsGetType (SCIP *scip, SCIP_CONS *cons)
 
GCG_EXPORT SCIP_Real GCGconsGetRhs (SCIP *scip, SCIP_CONS *cons)
 
GCG_EXPORT SCIP_Real GCGconsGetLhs (SCIP *scip, SCIP_CONS *cons)
 
GCG_EXPORT SCIP_Real GCGconsGetDualfarkas (SCIP *scip, SCIP_CONS *cons)
 
GCG_EXPORT SCIP_Real GCGconsGetDualsol (SCIP *scip, SCIP_CONS *cons)
 
GCG_EXPORT int GCGconsGetNVars (SCIP *scip, SCIP_CONS *cons)
 
GCG_EXPORT SCIP_RETCODE GCGconsGetVars (SCIP *scip, SCIP_CONS *cons, SCIP_VAR **vars, int nvars)
 
GCG_EXPORT SCIP_RETCODE GCGconsGetVals (SCIP *scip, SCIP_CONS *cons, SCIP_Real *vals, int nvals)
 
SCIP_Bool GCGconsIsRanged (SCIP *scip, SCIP_CONS *cons)
 
SCIP_Bool GCGgetConsIsSetppc (SCIP *scip, SCIP_CONS *cons, SCIP_SETPPCTYPE *setppctype)
 
SCIP_Bool GCGgetConsIsCardinalityCons (SCIP *scip, SCIP_CONS *cons)
 
GCG_EXPORT SCIP_Bool GCGisRootNode (GCG *gcg)
 
GCG_EXPORT SCIP_RETCODE GCGincludeDialogsGraph (GCG *gcg)
 

Enumeration Type Documentation

◆ consType

enum consType

constraint types

Enumerator
linear 
knapsack 
varbound 
setpacking 
setcovering 
setpartitioning 
logicor 
sos1 
sos2 
unknown 
nconsTypeItems 
indicator 

Definition at line 49 of file scip_misc.h.