Scippy

SCIP

Solving Constraint Integer Programs

Component Struct Reference

Detailed Description

data related to one component

Definition at line 65 of file cons_components.c.

Data Fields

PROBLEMproblem
 
SCIPsubscip
 
SCIP_SOLworkingsol
 
SCIP_VAR ** vars
 
SCIP_VAR ** subvars
 
SCIP_VAR ** fixedvars
 
SCIP_VAR ** fixedsubvars
 
SCIP_Real fixedvarsobjsum
 
SCIP_Real lastdualbound
 
SCIP_Real lastprimalbound
 
SCIP_STATUS laststatus
 
SCIP_Bool solved
 
int ncalls
 
int lastsolindex
 
int lastbestsolindex
 
int nvars
 
int nfixedvars
 
int fixedvarssize
 
int number
 

Field Documentation

◆ problem

◆ subscip

SCIP* Component::subscip

sub-SCIP representing the component

Definition at line 68 of file cons_components.c.

Referenced by componentCreateSubscip(), componentSetupWorkingSol(), freeComponent(), initComponent(), SCIP_DECL_CONSPRESOL(), and solveComponent().

◆ workingsol

SCIP_SOL* Component::workingsol

working solution for transferring solutions into the sub-SCIP

Definition at line 69 of file cons_components.c.

Referenced by componentSetupWorkingSol(), freeComponent(), initComponent(), and solveComponent().

◆ vars

SCIP_VAR** Component::vars

variables belonging to this component (in complete problem)

Definition at line 70 of file cons_components.c.

Referenced by componentCreateSubscip(), componentSetupWorkingSol(), createAndSplitProblem(), findComponents(), freeComponent(), initComponent(), initProblem(), and solveComponent().

◆ subvars

SCIP_VAR** Component::subvars

variables belonging to this component (in subscip)

Definition at line 71 of file cons_components.c.

Referenced by componentCreateSubscip(), componentSetupWorkingSol(), createAndSplitProblem(), freeComponent(), initComponent(), SCIP_DECL_CONSPRESOL(), and solveComponent().

◆ fixedvars

SCIP_VAR** Component::fixedvars

variables in the original SCIP which were copied while copying the component's constraints, but do not count to the subvars, because they were locally fixed

Definition at line 72 of file cons_components.c.

Referenced by componentSetupWorkingSol(), freeComponent(), and initComponent().

◆ fixedsubvars

SCIP_VAR** Component::fixedsubvars

variables in the sub-SCIP which were copied while copying the component's constraints, but do not count to the subvars, because they were locally fixed

Definition at line 74 of file cons_components.c.

Referenced by componentSetupWorkingSol(), freeComponent(), initComponent(), and solveComponent().

◆ fixedvarsobjsum

SCIP_Real Component::fixedvarsobjsum

objective contribution of all locally fixed variables

Definition at line 76 of file cons_components.c.

Referenced by componentSetupWorkingSol(), createAndSplitProblem(), findComponents(), initComponent(), initProblem(), SCIP_DECL_CONSPROP(), and solveComponent().

◆ lastdualbound

SCIP_Real Component::lastdualbound

dual bound after last optimization call for this component

Definition at line 77 of file cons_components.c.

Referenced by initComponent(), SCIP_DECL_SORTPTRCOMP(), and solveComponent().

◆ lastprimalbound

SCIP_Real Component::lastprimalbound

primal bound after last optimization call for this component

Definition at line 78 of file cons_components.c.

Referenced by initComponent(), SCIP_DECL_SORTPTRCOMP(), and solveComponent().

◆ laststatus

SCIP_STATUS Component::laststatus

solution status of last optimization call for the sub-SCIP of this component

Definition at line 79 of file cons_components.c.

Referenced by initComponent(), and solveComponent().

◆ solved

SCIP_Bool Component::solved

was this component solved already?

Definition at line 80 of file cons_components.c.

Referenced by initComponent(), SCIP_DECL_CONSPRESOL(), solveAndEvalSubscip(), solveComponent(), and solveProblem().

◆ ncalls

int Component::ncalls

number of optimization calls for this component

Definition at line 81 of file cons_components.c.

Referenced by initComponent(), SCIP_DECL_SORTPTRCOMP(), and solveComponent().

◆ lastsolindex

int Component::lastsolindex

index of best solution after last optimization call for this component

Definition at line 82 of file cons_components.c.

Referenced by initComponent(), and solveComponent().

◆ lastbestsolindex

int Component::lastbestsolindex

index of last best solution transferred to this component from the main problem

Definition at line 83 of file cons_components.c.

Referenced by initComponent(), and solveComponent().

◆ nvars

◆ nfixedvars

int Component::nfixedvars

number of fixed variables copied during constraint copying

Definition at line 85 of file cons_components.c.

Referenced by componentSetupWorkingSol(), createAndSplitProblem(), initComponent(), SCIP_DECL_CONSPRESOL(), solveAndEvalSubscip(), and solveComponent().

◆ fixedvarssize

int Component::fixedvarssize

size of fixedvars and fixedsubvars arrays

Definition at line 86 of file cons_components.c.

Referenced by componentSetupWorkingSol(), freeComponent(), and initComponent().

◆ number

int Component::number