data related to one component
Definition at line 65 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 |
PROBLEM* Component::problem |
the problem this component belongs to
Definition at line 67 of file cons_components.c.
Referenced by componentCreateSubscip(), componentSetupWorkingSol(), createAndSplitProblem(), createConsComponents(), freeComponent(), freeProblem(), initComponent(), initProblem(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSPROP(), SCIP_DECL_SORTPTRCOMP(), solveComponent(), and solveProblem().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
int Component::nvars |
number of variables belonging to this component
Definition at line 84 of file cons_components.c.
Referenced by componentCreateSubscip(), componentSetupWorkingSol(), copyToSubscip(), createAndSplitProblem(), fillDigraph(), findComponents(), freeComponent(), initComponent(), initProblem(), SCIP_DECL_CONSPRESOL(), solveAndEvalSubscip(), solveComponent(), and sortComponents().
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().
int Component::fixedvarssize |
size of fixedvars and fixedsubvars arrays
Definition at line 86 of file cons_components.c.
Referenced by componentSetupWorkingSol(), freeComponent(), and initComponent().
int Component::number |
component number
Definition at line 87 of file cons_components.c.
Referenced by componentCreateSubscip(), createAndSplitProblem(), freeComponent(), initComponent(), and SCIP_DECL_SORTPTRCOMP().