Detailed Description
data related to one component
Definition at line 91 of file cons_components.c.
Data Fields | |
PROBLEM * | problem |
SCIP * | subscip |
SCIP_SOL * | workingsol |
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 93 of file cons_components.c.
Referenced by componentCreateSubscip(), componentSetupWorkingSol(), createAndSplitProblem(), createConsComponents(), freeComponent(), freeProblem(), initComponent(), initProblem(), SCIP_DECL_CONSPROP(), SCIP_DECL_SORTPTRCOMP(), solveComponent(), and solveProblem().
◆ subscip
SCIP* Component::subscip |
sub-SCIP representing the component
Definition at line 94 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 95 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 96 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 97 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 98 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 100 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 102 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 103 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 104 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 105 of file cons_components.c.
Referenced by initComponent(), and solveComponent().
◆ solved
SCIP_Bool Component::solved |
was this component solved already?
Definition at line 106 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 107 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 108 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 109 of file cons_components.c.
Referenced by initComponent(), and solveComponent().
◆ nvars
int Component::nvars |
number of variables belonging to this component
Definition at line 110 of file cons_components.c.
Referenced by componentCreateSubscip(), componentSetupWorkingSol(), copyToSubscip(), createAndSplitProblem(), fillDigraph(), findComponents(), freeComponent(), initComponent(), initProblem(), SCIP_DECL_CONSPRESOL(), solveAndEvalSubscip(), solveComponent(), and sortComponents().
◆ nfixedvars
int Component::nfixedvars |
number of fixed variables copied during constraint copying
Definition at line 111 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 112 of file cons_components.c.
Referenced by componentSetupWorkingSol(), freeComponent(), and initComponent().
◆ number
int Component::number |
component number
Definition at line 113 of file cons_components.c.
Referenced by componentCreateSubscip(), createAndSplitProblem(), freeComponent(), initComponent(), and SCIP_DECL_SORTPTRCOMP().