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 65 of file nlhdlr_perspective.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 67 of file nlhdlr_perspective.c.

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

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

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

◆ bvars

SCIP_VAR** SCVarData::bvars

the binary variables on which the variable domain depends

Definition at line 70 of file nlhdlr_perspective.c.

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

◆ nbnds

int SCVarData::nbnds

number of suitable on/off bounds the var has

Definition at line 71 of file nlhdlr_perspective.c.

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

◆ bndssize

int SCVarData::bndssize

size of the arrays

Definition at line 72 of file nlhdlr_perspective.c.

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