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 127 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

values of the variable when the corresponding bvars[i] = 0

Definition at line 129 of file heur_indicatordiving.c.

Referenced by addSCVarIndicator(), analyseVarOnoffBounds(), computeOffValues(), releaseSCHashmap(), SCIP_DECL_NLHDLRENFO(), SCIP_DECL_NLHDLREXIT(), and varIsSemicontinuous().

◆ lbs1

SCIP_Real * SCVarData::lbs1

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

Definition at line 130 of file heur_indicatordiving.c.

Referenced by addSCVarIndicator(), analyseVarOnoffBounds(), computeOffValues(), releaseSCHashmap(), 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 131 of file heur_indicatordiving.c.

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

◆ bvars

SCIP_VAR ** SCVarData::bvars

the binary variables on which the variable domain depends

Definition at line 132 of file heur_indicatordiving.c.

Referenced by addSCVarIndicator(), computeOffValues(), exprIsSemicontinuous(), getSCVarDataInd(), releaseSCHashmap(), SCIP_DECL_NLHDLREXIT(), and varIsSemicontinuous().

◆ nbnds

int SCVarData::nbnds

number of suitable on/off bounds the var has

Definition at line 133 of file heur_indicatordiving.c.

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

◆ bndssize

int SCVarData::bndssize

size of the arrays

Definition at line 134 of file heur_indicatordiving.c.

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