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"

Go to the source code of this file.

Enumerations

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

Functions

SCIP_Bool GCGisVarRelevant (SCIP_VAR *var)
 
consType GCGconsGetType (SCIP *scip, SCIP_CONS *cons)
 
SCIP_Real GCGconsGetRhs (SCIP *scip, SCIP_CONS *cons)
 
SCIP_Real GCGconsGetLhs (SCIP *scip, SCIP_CONS *cons)
 
SCIP_Real GCGconsGetDualfarkas (SCIP *scip, SCIP_CONS *cons)
 
SCIP_Real GCGconsGetDualsol (SCIP *scip, SCIP_CONS *cons)
 
int GCGconsGetNVars (SCIP *scip, SCIP_CONS *cons)
 
SCIP_RETCODE GCGconsGetVars (SCIP *scip, SCIP_CONS *cons, SCIP_VAR **vars, int nvars)
 
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)
 
SCIP_Bool GCGisRootNode (SCIP *scip)
 
SCIP_RETCODE GCGincludeDialogsGraph (SCIP *scip)
 

Enumeration Type Documentation

◆ consType

enum consType

constraint types

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

Definition at line 47 of file scip_misc.h.