Scippy

SCIP

Solving Constraint Integer Programs

SCVarData Struct Reference

Detailed Description

data structure to store information of a semicontinuous variable

For a variable x (not stored in the struct), this stores the data of nbnds implications bvars[i] = 0 -> x = vals[i] bvars[i] = 1 -> lbs[i] <= x <= ubs[i] where bvars[i] are binary variables.

Definition at line 124 of file heur_indicatordiving.c.

Data Fields

SCIP_Realvals0
 
SCIP_Reallbs1
 
SCIP_Realubs1
 
SCIP_VAR ** bvars
 
int nbnds
 
int bndssize
 

Field Documentation

◆ vals0

SCIP_Real * SCVarData::vals0

◆ lbs1

SCIP_Real * SCVarData::lbs1

global lower bounds of the variable when the corresponding bvars[i] = 1

Definition at line 127 of file heur_indicatordiving.c.

Referenced by addSCVarIndicator(), analyseVarOnoffBounds(), computeOffValues(), releaseSCHashmap(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_NLHDLREXIT(), and tightenOnBounds().

◆ ubs1

SCIP_Real * SCVarData::ubs1

global upper bounds of the variable when the corresponding bvars[i] = 1

Definition at line 128 of file heur_indicatordiving.c.

Referenced by addSCVarIndicator(), analyseVarOnoffBounds(), computeOffValues(), releaseSCHashmap(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_NLHDLREXIT(), and tightenOnBounds().

◆ bvars

SCIP_VAR ** SCVarData::bvars

◆ nbnds

int SCVarData::nbnds

number of suitable on/off bounds the var has

Definition at line 130 of file heur_indicatordiving.c.

Referenced by addSCVarIndicator(), exprIsSemicontinuous(), getSCVarDataInd(), SCIP_DECL_DIVESETGETSCORE(), and varIsSemicontinuous().

◆ bndssize

int SCVarData::bndssize

size of the arrays

Definition at line 131 of file heur_indicatordiving.c.

Referenced by addSCVarIndicator(), computeOffValues(), releaseSCHashmap(), and SCIP_DECL_NLHDLREXIT().