SCIP Doxygen Documentation
Loading...
Searching...
No Matches
Component Struct Reference

Detailed Description

data related to one component

Definition at line 101 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

PROBLEM* Component::problem

the problem this component belongs to

Definition at line 103 of file cons_components.c.

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

◆ subscip

SCIP* Component::subscip

sub-SCIP representing the component

Definition at line 104 of file cons_components.c.

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

◆ workingsol

SCIP_SOL* Component::workingsol

working solution for transferring solutions into the sub-SCIP

Definition at line 105 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 106 of file cons_components.c.

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

◆ subvars

SCIP_VAR** Component::subvars

variables belonging to this component (in subscip)

Definition at line 107 of file cons_components.c.

Referenced by componentCreateSubscip(), componentSetupWorkingSol(), createAndSplitProblem(), freeComponent(), initComponent(), 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 108 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 110 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 112 of file cons_components.c.

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

◆ lastdualbound

SCIP_Real Component::lastdualbound

dual bound after last optimization call for this component

Definition at line 113 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 114 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 115 of file cons_components.c.

Referenced by initComponent(), and solveComponent().

◆ solved

SCIP_Bool Component::solved

was this component solved already?

Definition at line 116 of file cons_components.c.

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

◆ ncalls

int Component::ncalls

number of optimization calls for this component

Definition at line 117 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 118 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 119 of file cons_components.c.

Referenced by initComponent(), and solveComponent().

◆ nvars

int Component::nvars

number of variables belonging to this component

Definition at line 120 of file cons_components.c.

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

◆ nfixedvars

int Component::nfixedvars

number of fixed variables copied during constraint copying

Definition at line 121 of file cons_components.c.

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

◆ fixedvarssize

int Component::fixedvarssize

size of fixedvars and fixedsubvars arrays

Definition at line 122 of file cons_components.c.

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

◆ number

int Component::number