variable of the problem
Definition at line 207 of file struct_var.h.
#include <struct_var.h>
Public Member Functions | |
SCIP_DECL_VARCOPY ((*varcopy)) | |
SCIP_DECL_VARDELORIG ((*vardelorig)) | |
SCIP_DECL_VARTRANS ((*vartrans)) | |
SCIP_DECL_VARDELTRANS ((*vardeltrans)) |
SCIP_Var::SCIP_DECL_VARCOPY | ( | * | varcopy | ) |
copies variable data if wanted to subscip, or NULL
SCIP_Var::SCIP_DECL_VARDELORIG | ( | * | vardelorig | ) |
frees user data of original variable
SCIP_Var::SCIP_DECL_VARTRANS | ( | * | vartrans | ) |
creates transformed user data by transforming original user data
SCIP_Var::SCIP_DECL_VARDELTRANS | ( | * | vardeltrans | ) |
frees user data of transformed variable
SCIP_Real SCIP_Var::obj |
objective function value of variable (might be changed temporarily in probing mode)
Definition at line 209 of file struct_var.h.
Referenced by SCIPvarTransform().
SCIP_Real SCIP_Var::unchangedobj |
unchanged objective function value of variable (ignoring temporary changes in probing mode)
Definition at line 210 of file struct_var.h.
SCIP_Real SCIP_Var::branchfactor |
factor to weigh variable's branching score with
Definition at line 211 of file struct_var.h.
Referenced by SCIPvarAggregate(), and SCIPvarTransform().
SCIP_Real SCIP_Var::rootsol |
last primal solution of variable in root node, or zero
Definition at line 212 of file struct_var.h.
SCIP_Real SCIP_Var::bestrootsol |
best primal solution of variable in root node, or zero, w.r.t. root LP value and root reduced cost
Definition at line 213 of file struct_var.h.
SCIP_Real SCIP_Var::bestrootredcost |
best reduced costs of variable in root node, or zero, w.r.t. root LP value and root solution value
Definition at line 214 of file struct_var.h.
SCIP_Real SCIP_Var::bestrootlpobjval |
best root LP objective value, or SCIP_INVALID, w.r.t. root solution value and root reduced cost
Definition at line 215 of file struct_var.h.
SCIP_Real SCIP_Var::relaxsol |
primal solution of variable in current relaxation solution, or SCIP_INVALID
Definition at line 216 of file struct_var.h.
SCIP_Real SCIP_Var::nlpsol |
primal solution of variable in current NLP solution, or SCIP_INVALID
Definition at line 217 of file struct_var.h.
SCIP_Real SCIP_Var::primsolavg |
weighted average of all values of variable in primal feasible solutions
Definition at line 218 of file struct_var.h.
Referenced by SCIPsolUpdateVarsum().
SCIP_Real SCIP_Var::conflictlb |
maximal lower bound of variable in the current conflict
Definition at line 219 of file struct_var.h.
SCIP_Real SCIP_Var::conflictub |
minimal upper bound of variable in the current conflict
Definition at line 220 of file struct_var.h.
SCIP_Real SCIP_Var::conflictrelaxedlb |
maximal relaxed lower bound of variable in the current conflict (conflictrelaxedlb <= conflictlb)
Definition at line 221 of file struct_var.h.
Referenced by SCIPbdchginfoGetRelaxedBound().
SCIP_Real SCIP_Var::conflictrelaxedub |
minimal relaxed upper bound of variable in the current conflict (conflictrelaxedub >= conflictub)
Definition at line 222 of file struct_var.h.
Referenced by SCIPbdchginfoGetRelaxedBound().
SCIP_Real SCIP_Var::lazylb |
global lower bound that is ensured by constraints and has not to be added to the LP
Definition at line 223 of file struct_var.h.
Referenced by SCIPvarTransform().
SCIP_Real SCIP_Var::lazyub |
global upper bound that is ensured by constraints and has not to be added to the LP
Definition at line 224 of file struct_var.h.
Referenced by SCIPvarTransform().
SCIP_DOM SCIP_Var::glbdom |
domain of variable in global problem
Definition at line 225 of file struct_var.h.
Referenced by SCIPvarAggregate(), SCIPvarTransform(), SCIPvarWasFixedEarlier(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbGlobal(), varProcessChgUbLocal(), and varUpdateAggregationBounds().
SCIP_DOM SCIP_Var::locdom |
domain of variable in current subproblem
Definition at line 226 of file struct_var.h.
Referenced by SCIPvarAggregate(), SCIPvarTransform(), varProcessChgLbLocal(), and varProcessChgUbLocal().
SCIP_ORIGINAL SCIP_Var::original |
original variable information
Definition at line 229 of file struct_var.h.
Referenced by SCIPvarAddLocks(), SCIPvarGetProbvar(), SCIPvarGetTransformed(), SCIPvarTransform(), and varFreeParents().
SCIP_COL* SCIP_Var::col |
LP column (for column variables)
Definition at line 230 of file struct_var.h.
SCIP_AGGREGATE SCIP_Var::aggregate |
aggregation information (for aggregated variables)
Definition at line 231 of file struct_var.h.
Referenced by SCIPvarAddLocks(), SCIPvarGetAggregatedObj(), SCIPvarGetOrigvarSum(), SCIPvarGetProbvar(), varFreeParents(), varGetActiveVar(), varProcessAddHoleGlobal(), varProcessAddHoleLocal(), varProcessChgBranchDirection(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbGlobal(), and varProcessChgUbLocal().
SCIP_MULTAGGR SCIP_Var::multaggr |
multiple aggregation information (for multiple aggregated variables)
Definition at line 232 of file struct_var.h.
Referenced by SCIPvarAddLocks(), SCIPvarGetAggregatedObj(), SCIPvarGetProbvar(), varFreeParents(), and varGetActiveVar().
SCIP_NEGATE SCIP_Var::negate |
negation information (for negated variables)
Definition at line 233 of file struct_var.h.
Referenced by SCIPvarChgLbOriginal(), SCIPvarChgUbOriginal(), SCIPvarGetOrigvarSum(), varProcessAddHoleGlobal(), varProcessAddHoleLocal(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbGlobal(), and varProcessChgUbLocal().
union { ... } SCIP_Var::data |
Referenced by SCIPvarAddLocks(), SCIPvarChgLbOriginal(), SCIPvarChgUbOriginal(), SCIPvarGetAggregatedObj(), SCIPvarGetOrigvarSum(), SCIPvarGetProbvar(), SCIPvarGetTransformed(), SCIPvarTransform(), varFreeParents(), varGetActiveVar(), varProcessAddHoleGlobal(), varProcessAddHoleLocal(), varProcessChgBranchDirection(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbGlobal(), and varProcessChgUbLocal().
char* SCIP_Var::name |
name of the variable
Definition at line 235 of file struct_var.h.
Referenced by SCIPlpWriteMip(), SCIPvarAggregate(), SCIPvarTransform(), varAddParent(), and varUpdateAggregationBounds().
SCIP_VARDATA* SCIP_Var::vardata |
user data for this specific variable
Definition at line 240 of file struct_var.h.
Referenced by SCIPvarCopy(), and SCIPvarTransform().
SCIP_VAR** SCIP_Var::parentvars |
parent variables in the aggregation tree
Definition at line 241 of file struct_var.h.
Referenced by SCIPvarGetOrigvarSum(), SCIPvarIsTransformedOrigvar(), and varFreeParents().
SCIP_VAR* SCIP_Var::negatedvar |
pointer to the variables negation: x' = lb + ub - x, or NULL if not created
Definition at line 242 of file struct_var.h.
Referenced by SCIPvarAddLocks(), SCIPvarAggregate(), SCIPvarChgLbOriginal(), SCIPvarChgUbOriginal(), SCIPvarGetAggregatedObj(), SCIPvarGetOrigvarSum(), SCIPvarGetProbvar(), SCIPvarGetTransformed(), SCIPvarNegate(), varFreeParents(), varGetActiveVar(), varProcessAddHoleGlobal(), varProcessAddHoleLocal(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbGlobal(), and varProcessChgUbLocal().
SCIP_VBOUNDS* SCIP_Var::vlbs |
variable lower bounds x >= b*y + d
Definition at line 243 of file struct_var.h.
Referenced by SCIPvarRemoveCliquesImplicsVbs(), SCIPvarTransform(), and varAddTransitiveImplic().
SCIP_VBOUNDS* SCIP_Var::vubs |
variable upper bounds x <= b*y + d
Definition at line 244 of file struct_var.h.
Referenced by SCIPvarRemoveCliquesImplicsVbs(), SCIPvarTransform(), and varAddTransitiveImplic().
SCIP_IMPLICS* SCIP_Var::implics |
implications y >=/<= b following from x <= 0 and x >= 1 (x binary), or NULL if x is not binary
Definition at line 245 of file struct_var.h.
Referenced by SCIPvarRemoveCliquesImplicsVbs(), and varAddTransitiveBinaryClosureImplic().
SCIP_CLIQUELIST* SCIP_Var::cliquelist |
list of cliques the variable and its negation is member of
Definition at line 246 of file struct_var.h.
Referenced by SCIPvarsHaveCommonClique().
SCIP_EVENTFILTER* SCIP_Var::eventfilter |
event filter for events concerning this variable; not for ORIGINAL vars
Definition at line 247 of file struct_var.h.
SCIP_BDCHGINFO* SCIP_Var::lbchginfos |
bound change informations for lower bound changes from root to current node
Definition at line 248 of file struct_var.h.
Referenced by SCIPvarWasFixedEarlier().
SCIP_BDCHGINFO* SCIP_Var::ubchginfos |
bound change informations for upper bound changes from root to current node
Definition at line 249 of file struct_var.h.
Referenced by SCIPvarWasFixedEarlier().
SCIP_HISTORY* SCIP_Var::history |
branching and inference history information
Definition at line 250 of file struct_var.h.
Referenced by SCIPreoptMergeVarHistory(), SCIPreoptUpdateVarHistory(), SCIPvarAggregate(), SCIPvarMergeHistories(), and SCIPvarTransform().
SCIP_HISTORY* SCIP_Var::historycrun |
branching and inference history information for current run
Definition at line 251 of file struct_var.h.
Referenced by SCIPvarAggregate(), and SCIPvarMergeHistories().
SCIP_VALUEHISTORY* SCIP_Var::valuehistory |
branching and inference history information which are value based, or NULL if not used
Definition at line 252 of file struct_var.h.
SCIP_Longint SCIP_Var::closestvblpcount |
LP count for which the closestvlbidx/closestvubidx entries are valid
Definition at line 253 of file struct_var.h.
Referenced by SCIPvarRemoveCliquesImplicsVbs().
int SCIP_Var::index |
consecutively numbered variable identifier
Definition at line 254 of file struct_var.h.
Referenced by SCIPvarCompare().
int SCIP_Var::probindex |
array position in problems vars array, or -1 if not assigned to a problem
Definition at line 255 of file struct_var.h.
int SCIP_Var::pseudocandindex |
array position in pseudo branching candidates array, or -1
Definition at line 256 of file struct_var.h.
Referenced by branchcandInsertPseudoCand(), and branchcandRemovePseudoCand().
int SCIP_Var::eventqueueindexobj |
array position in event queue of objective change event, or -1
Definition at line 257 of file struct_var.h.
Referenced by SCIPeventqueueProcess().
int SCIP_Var::eventqueueindexlb |
array position in event queue of lower bound change event, or -1
Definition at line 258 of file struct_var.h.
Referenced by SCIPeventqueueProcess().
int SCIP_Var::eventqueueindexub |
array position in event queue of upper bound change event, or -1
Definition at line 259 of file struct_var.h.
Referenced by SCIPeventqueueProcess().
int SCIP_Var::parentvarssize |
available slots in parentvars array
Definition at line 260 of file struct_var.h.
int SCIP_Var::nparentvars |
number of parent variables in aggregation tree (used slots of parentvars)
Definition at line 261 of file struct_var.h.
Referenced by SCIPvarIsTransformedOrigvar().
int SCIP_Var::nuses |
number of times, this variable is referenced
Definition at line 262 of file struct_var.h.
int SCIP_Var::nlocksdown[NLOCKTYPES] |
array of variable locks for rounding down; if zero, rounding down is always feasible
Definition at line 263 of file struct_var.h.
Referenced by SCIPvarAddLocks(), and SCIPvarTransform().
int SCIP_Var::nlocksup[NLOCKTYPES] |
array of variable locks for rounding up; if zero, rounding up is always feasible
Definition at line 264 of file struct_var.h.
Referenced by SCIPvarAddLocks(), and SCIPvarTransform().
int SCIP_Var::branchpriority |
priority of the variable for branching
Definition at line 265 of file struct_var.h.
Referenced by branchcandSortPseudoCands(), SCIPbranchcandGetPseudoCands(), SCIPvarAggregate(), and SCIPvarTransform().
int SCIP_Var::lbchginfossize |
available slots in lbchginfos array
Definition at line 266 of file struct_var.h.
int SCIP_Var::nlbchginfos |
number of lower bound changes from root node to current node
Definition at line 267 of file struct_var.h.
Referenced by SCIPvarWasFixedEarlier().
int SCIP_Var::ubchginfossize |
available slots in ubchginfos array
Definition at line 268 of file struct_var.h.
int SCIP_Var::nubchginfos |
number of upper bound changes from root node to current node
Definition at line 269 of file struct_var.h.
Referenced by SCIPvarWasFixedEarlier().
int SCIP_Var::conflictlbcount |
number of last conflict, the lower bound was member of
Definition at line 270 of file struct_var.h.
int SCIP_Var::conflictubcount |
number of last conflict, the upper bound was member of
Definition at line 271 of file struct_var.h.
int SCIP_Var::closestvlbidx |
index of closest VLB variable in current LP solution, or -1
Definition at line 272 of file struct_var.h.
int SCIP_Var::closestvubidx |
index of closest VUB variable in current LP solution, or -1
Definition at line 273 of file struct_var.h.
unsigned int SCIP_Var::initial |
TRUE iff var's column should be present in the initial root LP
Definition at line 274 of file struct_var.h.
Referenced by SCIPvarTransform().
unsigned int SCIP_Var::removable |
TRUE iff var's column is removable from the LP (due to aging or cleanup)
Definition at line 275 of file struct_var.h.
Referenced by SCIPvarAggregate(), SCIPvarMultiaggregate(), and SCIPvarTransform().
unsigned int SCIP_Var::deletable |
TRUE iff the variable is removable from the problem
Definition at line 276 of file struct_var.h.
unsigned int SCIP_Var::deleted |
TRUE iff variable was marked for deletion from the problem
Definition at line 277 of file struct_var.h.
unsigned int SCIP_Var::donotaggr |
TRUE iff variable is not allowed to be aggregated
Definition at line 278 of file struct_var.h.
Referenced by SCIPvarAddLocks(), SCIPvarAggregate(), SCIPvarCopy(), SCIPvarDoNotAggr(), SCIPvarMarkDoNotAggr(), and SCIPvarTransform().
unsigned int SCIP_Var::donotmultaggr |
TRUE iff variable is not allowed to be multi-aggregated
Definition at line 279 of file struct_var.h.
Referenced by SCIPvarAddLocks(), SCIPvarAggregate(), SCIPvarCopy(), SCIPvarDoNotMultaggr(), SCIPvarMarkDoNotMultaggr(), and SCIPvarTransform().
unsigned int SCIP_Var::vartype |
type of variable: binary, integer, implicit integer, continuous
Definition at line 280 of file struct_var.h.
Referenced by SCIPnodeGetDualBoundchgs(), and SCIPnodeGetNDualBndchgs().
unsigned int SCIP_Var::varstatus |
status of variable: original, loose, column, fixed, aggregated, multiaggregated, negated
Definition at line 281 of file struct_var.h.
unsigned int SCIP_Var::pseudocostflag |
temporary flag used in pseudo cost update
Definition at line 282 of file struct_var.h.
unsigned int SCIP_Var::branchdirection |
preferred branching direction of the variable (downwards, upwards, auto)
Definition at line 283 of file struct_var.h.
Referenced by SCIPvarAggregate(), and SCIPvarTransform().
unsigned int SCIP_Var::eventqueueimpl |
is an IMPLADDED event on this variable currently in the event queue?
Definition at line 284 of file struct_var.h.
Referenced by SCIPeventqueueProcess().
unsigned int SCIP_Var::delglobalstructs |
is variable marked to be removed from global structures (cliques etc.)?
Definition at line 285 of file struct_var.h.
unsigned int SCIP_Var::relaxationonly |
TRUE if variable has been introduced only to define a relaxation
Definition at line 286 of file struct_var.h.
SCIP* SCIP_Var::scip |
SCIP data structure
Definition at line 288 of file struct_var.h.
Referenced by SCIPgetVarCopy(), SCIPvarGetTransformed(), and SCIPvarTransform().