Scippy

SCIP

Solving Constraint Integer Programs

struct_cons.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and library */
4 /* SCIP --- Solving Constraint Integer Programs */
5 /* */
6 /* Copyright (C) 2002-2016 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file struct_cons.h
17  * @brief datastructures for constraints and constraint handlers
18  * @author Tobias Achterberg
19  */
20 
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22 
23 #ifndef __SCIP_STRUCT_CONS_H__
24 #define __SCIP_STRUCT_CONS_H__
25 
26 #include "scip/def.h"
27 #include "scip/type_clock.h"
28 #include "scip/type_cons.h"
29 
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /** constraint data structure */
36 struct SCIP_Cons
37 {
38 #ifndef NDEBUG
39  SCIP* scip; /**< SCIP data structure */
40 #endif
41  SCIP_Real age; /**< age of constraint: number of successive times, the constraint was irrelevant */
42  char* name; /**< name of the constraint */
43  SCIP_CONSHDLR* conshdlr; /**< constraint handler for this constraint */
44  SCIP_CONSDATA* consdata; /**< data for this specific constraint */
45  SCIP_CONS* transorigcons; /**< for original constraints: associated transformed constraint or NULL,
46  * for transformed constraints: associated original constraint or NULL */
47  SCIP_CONSSETCHG* addconssetchg; /**< constraint change that added constraint to current subproblem, or NULL if
48  * constraint is from global problem */
49  int addarraypos; /**< position of constraint in the conssetchg's/prob's addedconss/conss array */
50  int consspos; /**< position of constraint in the handler's conss array */
51  int initconsspos; /**< position of constraint in the handler's initconss array */
52  int sepaconsspos; /**< position of constraint in the handler's sepaconss array */
53  int enfoconsspos; /**< position of constraint in the handler's enfoconss array */
54  int checkconsspos; /**< position of constraint in the handler's checkconss array */
55  int propconsspos; /**< position of constraint in the handler's propconss array */
56  int nlockspos; /**< number of times, the constraint locked rounding of its variables */
57  int nlocksneg; /**< number of times, the constraint locked vars for the constraint's negation */
58  int activedepth; /**< depth level of constraint activation (-2: inactive, -1: problem constraint) */
59  int validdepth; /**< depth level where constraint is valid (-1: equals activedepth) */
60  int nuses; /**< number of times, this constraint is referenced */
61  unsigned int markedprop:1; /**< TRUE iff the constraint is marked to be propagated during the next node processing */
62  unsigned int initial:1; /**< TRUE iff LP relaxation of constraint should be in initial LP, if possible */
63  unsigned int separate:1; /**< TRUE iff constraint should be separated during LP processing */
64  unsigned int enforce:1; /**< TRUE iff constraint should be enforced during node processing */
65  unsigned int check:1; /**< TRUE iff constraint should be checked for feasibility */
66  unsigned int propagate:1; /**< TRUE iff constraint should be propagated during node processing */
67  unsigned int sepaenabled:1; /**< TRUE iff constraint should be separated in the next separation call */
68  unsigned int propenabled:1; /**< TRUE iff constraint should be propagated in the next propagation call */
69  unsigned int local:1; /**< TRUE iff constraint is only valid locally */
70  unsigned int modifiable:1; /**< TRUE iff constraint is modifiable (subject to column generation) */
71  unsigned int dynamic:1; /**< TRUE iff constraint is subject to aging */
72  unsigned int removable:1; /**< TRUE iff relaxation should be removed from the LP due to aging or cleanup */
73  unsigned int stickingatnode:1; /**< TRUE iff the node should always be kept at the node where it was added */
74  unsigned int original:1; /**< TRUE iff constraint belongs to original problem */
75  unsigned int deleteconsdata:1; /**< TRUE iff constraint data has to be deleted if constraint is freed */
76  unsigned int active:1; /**< TRUE iff constraint is active in the current node; a constraint is
77  * active if it is global and was not removed during presolving or it was
78  * added locally (in that case the local flag is TRUE) and the current
79  * node belongs to the corresponding sub tree
80  */
81  unsigned int enabled:1; /**< TRUE iff constraint is enforced, separated, and propagated in current node */
82  unsigned int obsolete:1; /**< TRUE iff constraint is too seldomly used and therefore obsolete */
83  unsigned int markpropagate:1; /**< TRUE iff constraint is marked to be propagated in the next round */
84  unsigned int deleted:1; /**< TRUE iff constraint was globally deleted */
85  unsigned int update:1; /**< TRUE iff constraint has to be updated in update phase */
86  unsigned int updateinsert:1; /**< TRUE iff constraint has to be inserted in the conss array */
87  unsigned int updateactivate:1; /**< TRUE iff constraint has to be activated in update phase */
88  unsigned int updatedeactivate:1; /**< TRUE iff constraint has to be deactivated in update phase */
89  unsigned int updateenable:1; /**< TRUE iff constraint has to be enabled in update phase */
90  unsigned int updatedisable:1; /**< TRUE iff constraint has to be disabled in update phase */
91  unsigned int updatesepaenable:1; /**< TRUE iff constraint's separation has to be enabled in update phase */
92  unsigned int updatesepadisable:1;/**< TRUE iff constraint's separation has to be disabled in update phase */
93  unsigned int updatepropenable:1; /**< TRUE iff constraint's propagation has to be enabled in update phase */
94  unsigned int updatepropdisable:1;/**< TRUE iff constraint's propagation has to be disabled in update phase */
95  unsigned int updateobsolete:1; /**< TRUE iff obsolete status of constraint has to be updated in update phase */
96  unsigned int updatefree:1; /**< TRUE iff constraint has to be freed in update phase */
97  unsigned int updateactfocus:1; /**< TRUE iff delayed constraint activation happened at focus node */
98  unsigned int updatemarkpropagate:1;/**< TRUE iff constraint has to be marked to be propagated in update phase */
99  unsigned int updateunmarkpropagate:1;/**< TRUE iff constraint has to be unmarked to be propagated in update phase */
100  unsigned int nupgradelocks:29; /**< number of times, a constraint is locked against an upgrade
101  * (e.g. linear -> logicor), 0 means a constraint can be upgraded */
102 };
103 
104 /** tracks additions and removals of the set of active constraints */
106 {
107  SCIP_CONS** addedconss; /**< constraints added to the set of active constraints */
108  SCIP_CONS** disabledconss; /**< constraints disabled in the set of active constraints */
109  int addedconsssize; /**< size of added constraints array */
110  int naddedconss; /**< number of added constraints */
111  int disabledconsssize; /**< size of disabled constraints array */
112  int ndisabledconss; /**< number of disabled constraints */
113 };
114 
115 /** constraint handler */
117 {
118  SCIP_Longint nsepacalls; /**< number of times, the separator was called */
119  SCIP_Longint nenfolpcalls; /**< number of times, the LP enforcer was called */
120  SCIP_Longint nenfopscalls; /**< number of times, the pseudo enforcer was called */
121  SCIP_Longint npropcalls; /**< number of times, the propagator was called */
122  SCIP_Longint ncheckcalls; /**< number of times, the feasibility check was called */
123  SCIP_Longint nrespropcalls; /**< number of times, the resolve propagation was called */
124  SCIP_Longint ncutoffs; /**< number of cutoffs found so far by this constraint handler */
125  SCIP_Longint ncutsfound; /**< number of cuts found by this constraint handler */
126  SCIP_Longint ncutsapplied; /**< number of cuts found by this constraint handler applied to lp */
127  SCIP_Longint nconssfound; /**< number of additional constraints added by this constraint handler */
128  SCIP_Longint ndomredsfound; /**< number of domain reductions found so far by this constraint handler */
129  SCIP_Longint nchildren; /**< number of children the constraint handler created during branching */
130  SCIP_Longint lastpropdomchgcount;/**< last bound change number, where the domain propagation was called */
131  SCIP_Longint storedpropdomchgcount;/**< bound change number, where the domain propagation was called last before starting probing */
132  SCIP_Longint lastenfolpdomchgcount;/**< last bound change number, where the LP enforcement was called */
133  SCIP_Longint lastenfopsdomchgcount;/**< last bound change number, where the pseudo enforcement was called */
134  SCIP_Longint lastenfolpnode; /**< last node at which the LP enforcement was called */
135  SCIP_Longint lastenfopsnode; /**< last node at which the pseudo enforcement was called */
136  SCIP_RESULT lastenfolpresult; /**< result of last LP enforcement call */
137  SCIP_RESULT lastenfopsresult; /**< result of last pseudo enforcement call */
138  SCIP_Real ageresetavg; /**< exp. decaying weighted average of constraint ages at moment of age reset */
139  char* name; /**< name of constraint handler */
140  char* desc; /**< description of constraint handler */
141  SCIP_DECL_CONSHDLRCOPY((*conshdlrcopy)); /**< copy method of constraint handler or NULL if you don't want to copy your plugin into sub-SCIPs */
142  SCIP_DECL_CONSFREE ((*consfree)); /**< destructor of constraint handler */
143  SCIP_DECL_CONSINIT ((*consinit)); /**< initialize constraint handler */
144  SCIP_DECL_CONSEXIT ((*consexit)); /**< deinitialize constraint handler */
145  SCIP_DECL_CONSINITPRE ((*consinitpre)); /**< presolving initialization method of constraint handler */
146  SCIP_DECL_CONSEXITPRE ((*consexitpre)); /**< presolving deinitialization method of constraint handler */
147  SCIP_DECL_CONSINITSOL ((*consinitsol)); /**< solving process initialization method of constraint handler */
148  SCIP_DECL_CONSEXITSOL ((*consexitsol)); /**< solving process deinitialization method of constraint handler */
149  SCIP_DECL_CONSDELETE ((*consdelete)); /**< free specific constraint data */
150  SCIP_DECL_CONSTRANS ((*constrans)); /**< transform constraint data into data belonging to the transformed problem */
151  SCIP_DECL_CONSINITLP ((*consinitlp)); /**< initialize LP with relaxations of "initial" constraints */
152  SCIP_DECL_CONSSEPALP ((*conssepalp)); /**< separate cutting planes for LP solution */
153  SCIP_DECL_CONSSEPASOL ((*conssepasol)); /**< separate cutting planes for arbitrary primal solution */
154  SCIP_DECL_CONSENFOLP ((*consenfolp)); /**< enforcing constraints for LP solutions */
155  SCIP_DECL_CONSENFOPS ((*consenfops)); /**< enforcing constraints for pseudo solutions */
156  SCIP_DECL_CONSCHECK ((*conscheck)); /**< check feasibility of primal solution */
157  SCIP_DECL_CONSPROP ((*consprop)); /**< propagate variable domains */
158  SCIP_DECL_CONSPRESOL ((*conspresol)); /**< presolving method */
159  SCIP_DECL_CONSRESPROP ((*consresprop)); /**< propagation conflict resolving method */
160  SCIP_DECL_CONSLOCK ((*conslock)); /**< variable rounding lock method */
161  SCIP_DECL_CONSACTIVE ((*consactive)); /**< activation notification method */
162  SCIP_DECL_CONSDEACTIVE((*consdeactive)); /**< deactivation notification method */
163  SCIP_DECL_CONSENABLE ((*consenable)); /**< enabling notification method */
164  SCIP_DECL_CONSDISABLE ((*consdisable)); /**< disabling notification method */
165  SCIP_DECL_CONSDELVARS ((*consdelvars)); /**< variable deletion method */
166  SCIP_DECL_CONSPRINT ((*consprint)); /**< constraint display method */
167  SCIP_DECL_CONSCOPY ((*conscopy)); /**< constraint copying method */
168  SCIP_DECL_CONSPARSE ((*consparse)); /**< constraint parsing method */
169  SCIP_DECL_CONSGETVARS ((*consgetvars)); /**< constraint get variables method */
170  SCIP_DECL_CONSGETNVARS((*consgetnvars)); /**< constraint get number of variable method */
171  SCIP_DECL_CONSGETDIVEBDCHGS((*consgetdivebdchgs)); /**< constraint handler diving solution enforcement method */
172  SCIP_CONSHDLRDATA* conshdlrdata; /**< constraint handler data */
173  SCIP_CONS** conss; /**< array with all transformed constraints, active ones preceed inactive
174  * ones; a constraint is active if it is global and was not removed
175  * during presolving or it was added locally (in that case the local flag
176  * is TRUE) and the current node belongs to the corresponding sub tree */
177  SCIP_CONS** initconss; /**< array with active constraints that must enter the LP with their initial representation */
178  SCIP_CONS** sepaconss; /**< array with active constraints that must be separated during LP processing */
179  SCIP_CONS** enfoconss; /**< array with active constraints that must be enforced during node processing */
180  SCIP_CONS** checkconss; /**< array with active constraints that must be checked for feasibility */
181  SCIP_CONS** propconss; /**< array with active constraints that must be propagated during node processing */
182  SCIP_CONS** storedpropconss; /**< array to store constraints that were marked for propagation before
183  * starting probing mode
184  */
185  SCIP_CONS** updateconss; /**< array with constraints that changed and have to be update in the handler */
186  SCIP_CLOCK* setuptime; /**< time spend for setting up this constraint handler for the next stages */
187  SCIP_CLOCK* presoltime; /**< time used for presolving of this constraint handler */
188  SCIP_CLOCK* sepatime; /**< time used for separation of this constraint handler */
189  SCIP_CLOCK* enfolptime; /**< time used for LP enforcement of this constraint handler */
190  SCIP_CLOCK* enfopstime; /**< time used for pseudo enforcement of this constraint handler */
191  SCIP_CLOCK* proptime; /**< time used for propagation of this constraint handler */
192  SCIP_CLOCK* sbproptime; /**< time used for propagation of this constraint handler during strong branching */
193  SCIP_CLOCK* checktime; /**< time used for feasibility check of this constraint handler */
194  SCIP_CLOCK* resproptime; /**< time used for resolve propagation of this constraint handler */
195  SCIP_Longint lastsepalpcount; /**< last LP number, where the separations was called */
196  SCIP_Longint lastenfolplpcount; /**< last LP number, where the LP enforcement was called */
197  int sepapriority; /**< priority of the constraint handler for separation */
198  int enfopriority; /**< priority of the constraint handler for constraint enforcing */
199  int checkpriority; /**< priority of the constraint handler for checking infeasibility */
200  int sepafreq; /**< frequency for separating cuts; zero means to separate only in the root node */
201  int propfreq; /**< frequency for propagating domains; zero means only preprocessing propagation */
202  int eagerfreq; /**< frequency for using all instead of only the useful constraints in separation,
203  * propagation and enforcement, -1 for no eager evaluations, 0 for first only */
204  int maxprerounds; /**< maximal number of presolving rounds the constraint handler participates in (-1: no limit) */
205  int consssize; /**< size of conss array */
206  int nconss; /**< total number of constraints */
207  int nactiveconss; /**< total number of active constraints */
208  int maxnactiveconss; /**< maximal number of active constraints existing at the same time */
209  int startnactiveconss; /**< number of active constraints existing when problem solving started */
210  int initconsssize; /**< size of initconss array */
211  int ninitconss; /**< number of active constraints that must enter the LP */
212  int ninitconsskept; /**< number of active constraints that must enter the LP, but were not initialized at
213  * their valid node, so that they have to be initialized at every node at which they
214  * are active; these constraints come first in the initconss array */
215  int sepaconsssize; /**< size of sepaconss array */
216  int nsepaconss; /**< number of active constraints that may be separated during LP processing */
217  int nusefulsepaconss; /**< number of non-obsolete active constraints that should be separated */
218  int enfoconsssize; /**< size of enfoconss array */
219  int nenfoconss; /**< number of active constraints that must be enforced during node processing */
220  int nusefulenfoconss; /**< number of non-obsolete active constraints that must be enforced */
221  int checkconsssize; /**< size of checkconss array */
222  int ncheckconss; /**< number of active constraints that must be checked for feasibility */
223  int nusefulcheckconss; /**< number of non-obsolete active constraints that must be checked */
224  int propconsssize; /**< size of propconss array */
225  int npropconss; /**< number of active constraints that may be propagated during node processing */
226  int nmarkedpropconss; /**< number of active constraints which are marked to be propagated in the next round */
227  int nusefulpropconss; /**< number of non-obsolete active constraints that should be propagated */
228  int storedpropconsssize;/**< size of array for storing away marked propagation constraints */
229  int storednmarkedpropconss;/**< number of marked propagation constraints that are stored away */
230  int updateconsssize; /**< size of updateconss array */
231  int nupdateconss; /**< number of update constraints */
232  int nenabledconss; /**< total number of enabled constraints of the handler */
233  int lastnusefulpropconss;/**< number of already propagated useful constraints on current domains */
234  int lastnusefulsepaconss;/**< number of already separated useful constraints on current solution */
235  int lastnusefulenfoconss;/**< number of already enforced useful constraints on current solution */
236  int lastnfixedvars; /**< number of variables fixed before the last call to the presolver */
237  int lastnaggrvars; /**< number of variables aggregated before the last call to the presolver */
238  int lastnchgvartypes; /**< number of variable type changes before the last call to the presolver */
239  int lastnchgbds; /**< number of variable bounds tightened before the last call to the presolver */
240  int lastnaddholes; /**< number of domain holes added before the last call to the presolver */
241  int lastndelconss; /**< number of deleted constraints before the last call to the presolver */
242  int lastnaddconss; /**< number of added constraints before the last call to the presolver */
243  int lastnupgdconss; /**< number of upgraded constraints before the last call to the presolver */
244  int lastnchgcoefs; /**< number of changed coefficients before the last call to the presolver */
245  int lastnchgsides; /**< number of changed left or right hand sides before the last call to the presolver */
246  int nfixedvars; /**< total number of variables fixed by this presolver */
247  int naggrvars; /**< total number of variables aggregated by this presolver */
248  int nchgvartypes; /**< total number of variable type changes by this presolver */
249  int nchgbds; /**< total number of variable bounds tightened by this presolver */
250  int naddholes; /**< total number of domain holes added by this presolver */
251  int ndelconss; /**< total number of deleted constraints by this presolver */
252  int naddconss; /**< total number of added constraints by this presolver */
253  int nupgdconss; /**< total number of upgraded constraints by this presolver */
254  int nchgcoefs; /**< total number of changed coefficients by this presolver */
255  int nchgsides; /**< total number of changed left or right hand sides by this presolver */
256  int npresolcalls; /**< number of times the constraint handler was called in presolving and tried to find reductions */
257  int delayupdatecount; /**< must the updates of the constraint arrays be delayed until processUpdates()? */
258  SCIP_Bool delaysepa; /**< should separation method be delayed, if other separators found cuts? */
259  SCIP_Bool delayprop; /**< should propagation method be delayed, if other propagators found reductions? */
260  SCIP_Bool needscons; /**< should the constraint handler be skipped, if no constraints are available? */
261  SCIP_Bool sepalpwasdelayed; /**< was the LP separation method delayed at the last call? */
262  SCIP_Bool sepasolwasdelayed; /**< was the SOL separation method delayed at the last call? */
263  SCIP_Bool propwasdelayed; /**< was the propagation method delayed at the last call? */
264  SCIP_Bool initialized; /**< is constraint handler initialized? */
265  SCIP_Bool duringsepa; /**< is the constraint handler currently performing separation? */
266  SCIP_Bool duringprop; /**< is the constraint handler currently performing propagation? */
267  SCIP_PROPTIMING proptiming; /**< positions in the node solving loop where propagation method of constraint handlers should be executed */
268  SCIP_PRESOLTIMING presoltiming; /**< timing mask of the constraint handler's presolving method */
269  SCIP_QUEUE* pendingconss; /**< queue of pending constraints */
270 };
271 
272 #ifdef __cplusplus
273 }
274 #endif
275 
276 #endif
enum SCIP_Result SCIP_RESULT
Definition: type_result.h:51
SCIP_CONS ** updateconss
Definition: struct_cons.h:185
SCIP_PROPTIMING proptiming
Definition: struct_cons.h:267
int lastnchgvartypes
Definition: struct_cons.h:238
SCIP_Longint nenfolpcalls
Definition: struct_cons.h:119
int initconsspos
Definition: struct_cons.h:51
SCIP_Longint nsepacalls
Definition: struct_cons.h:118
SCIP_Longint lastsepalpcount
Definition: struct_cons.h:195
unsigned int updatemarkpropagate
Definition: struct_cons.h:98
unsigned int propenabled
Definition: struct_cons.h:68
unsigned int updatepropdisable
Definition: struct_cons.h:94
int nusefulenfoconss
Definition: struct_cons.h:220
SCIP_Longint ncutoffs
Definition: struct_cons.h:124
SCIP_Bool sepasolwasdelayed
Definition: struct_cons.h:262
SCIP_CONS ** enfoconss
Definition: struct_cons.h:179
unsigned int active
Definition: struct_cons.h:76
unsigned int dynamic
Definition: struct_cons.h:71
#define SCIP_DECL_CONSLOCK(x)
Definition: type_cons.h:591
SCIP_CONS ** conss
Definition: struct_cons.h:173
SCIP_CONS ** addedconss
Definition: struct_cons.h:107
SCIP_CLOCK * setuptime
Definition: struct_cons.h:186
SCIP_Longint lastenfopsdomchgcount
Definition: struct_cons.h:133
#define SCIP_DECL_CONSDELETE(x)
Definition: type_cons.h:187
unsigned int updatesepaenable
Definition: struct_cons.h:91
int lastnusefulenfoconss
Definition: struct_cons.h:235
#define SCIP_DECL_CONSINITPRE(x)
Definition: type_cons.h:114
int storedpropconsssize
Definition: struct_cons.h:228
int validdepth
Definition: struct_cons.h:59
int nusefulsepaconss
Definition: struct_cons.h:217
#define SCIP_DECL_CONSGETDIVEBDCHGS(x)
Definition: type_cons.h:837
#define SCIP_DECL_CONSPRESOL(x)
Definition: type_cons.h:479
#define SCIP_DECL_CONSCHECK(x)
Definition: type_cons.h:391
#define SCIP_DECL_CONSTRANS(x)
Definition: type_cons.h:197
SCIP_Longint ndomredsfound
Definition: struct_cons.h:128
SCIP_Bool duringprop
Definition: struct_cons.h:266
SCIP_Longint lastenfopsnode
Definition: struct_cons.h:135
unsigned int update
Definition: struct_cons.h:85
int lastnusefulsepaconss
Definition: struct_cons.h:234
int propconsspos
Definition: struct_cons.h:55
SCIP_Longint lastpropdomchgcount
Definition: struct_cons.h:130
#define SCIP_DECL_CONSRESPROP(x)
Definition: type_cons.h:530
SCIP_CLOCK * resproptime
Definition: struct_cons.h:194
unsigned int check
Definition: struct_cons.h:65
SCIP_CONSDATA * consdata
Definition: struct_cons.h:44
unsigned int removable
Definition: struct_cons.h:72
SCIP_RESULT lastenfolpresult
Definition: struct_cons.h:136
#define SCIP_DECL_CONSGETNVARS(x)
Definition: type_cons.h:798
unsigned int enabled
Definition: struct_cons.h:81
SCIP_Bool delayprop
Definition: struct_cons.h:259
#define SCIP_DECL_CONSEXITSOL(x)
Definition: type_cons.h:174
SCIP_Longint nconssfound
Definition: struct_cons.h:127
SCIP_Longint nchildren
Definition: struct_cons.h:129
unsigned int updateunmarkpropagate
Definition: struct_cons.h:99
int enfoconsspos
Definition: struct_cons.h:53
SCIP_CLOCK * sepatime
Definition: struct_cons.h:188
SCIP_Bool sepalpwasdelayed
Definition: struct_cons.h:261
SCIP_Bool duringsepa
Definition: struct_cons.h:265
SCIP_CONS ** disabledconss
Definition: struct_cons.h:108
#define SCIP_DECL_CONSINITLP(x)
Definition: type_cons.h:210
int nusefulcheckconss
Definition: struct_cons.h:223
SCIP_CONS * transorigcons
Definition: struct_cons.h:45
int sepaconsspos
Definition: struct_cons.h:52
SCIP_Longint lastenfolpnode
Definition: struct_cons.h:134
SCIP_CONSSETCHG * addconssetchg
Definition: struct_cons.h:47
SCIP_Longint ncheckcalls
Definition: struct_cons.h:122
int activedepth
Definition: struct_cons.h:58
unsigned int stickingatnode
Definition: struct_cons.h:73
#define SCIP_DECL_CONSINITSOL(x)
Definition: type_cons.h:159
unsigned int updateinsert
Definition: struct_cons.h:86
unsigned int deleted
Definition: struct_cons.h:84
int storednmarkedpropconss
Definition: struct_cons.h:229
#define SCIP_DECL_CONSPRINT(x)
Definition: type_cons.h:682
unsigned int sepaenabled
Definition: struct_cons.h:67
#define SCIP_DECL_CONSDELVARS(x)
Definition: type_cons.h:668
unsigned int updatepropenable
Definition: struct_cons.h:93
SCIP_CLOCK * presoltime
Definition: struct_cons.h:187
SCIP_QUEUE * pendingconss
Definition: struct_cons.h:269
unsigned int obsolete
Definition: struct_cons.h:82
#define SCIP_DECL_CONSPARSE(x)
Definition: type_cons.h:758
#define SCIP_DECL_CONSDEACTIVE(x)
Definition: type_cons.h:621
SCIP_CONS ** storedpropconss
Definition: struct_cons.h:182
SCIP_CLOCK * enfopstime
Definition: struct_cons.h:190
SCIP_CONS ** initconss
Definition: struct_cons.h:177
unsigned int modifiable
Definition: struct_cons.h:70
#define SCIP_DECL_CONSDISABLE(x)
Definition: type_cons.h:651
unsigned int markedprop
Definition: struct_cons.h:61
SCIP_Longint npropcalls
Definition: struct_cons.h:121
SCIP * scip
Definition: struct_cons.h:39
unsigned int SCIP_PRESOLTIMING
Definition: type_timing.h:50
SCIP_Bool needscons
Definition: struct_cons.h:260
#define SCIP_DECL_CONSENABLE(x)
Definition: type_cons.h:636
unsigned int updatesepadisable
Definition: struct_cons.h:92
#define SCIP_DECL_CONSENFOLP(x)
Definition: type_cons.h:313
SCIP_RESULT lastenfopsresult
Definition: struct_cons.h:137
struct SCIP_ConsData SCIP_CONSDATA
Definition: type_cons.h:50
#define SCIP_DECL_CONSSEPALP(x)
Definition: type_cons.h:239
int startnactiveconss
Definition: struct_cons.h:209
#define SCIP_DECL_CONSGETVARS(x)
Definition: type_cons.h:780
#define SCIP_DECL_CONSEXIT(x)
Definition: type_cons.h:94
int lastnusefulpropconss
Definition: struct_cons.h:233
SCIP_PRESOLTIMING presoltiming
Definition: struct_cons.h:268
SCIP_Bool delaysepa
Definition: struct_cons.h:258
SCIP_Longint ncutsfound
Definition: struct_cons.h:125
#define SCIP_Bool
Definition: def.h:53
char * name
Definition: struct_cons.h:42
SCIP_CONS ** propconss
Definition: struct_cons.h:181
unsigned int initial
Definition: struct_cons.h:62
SCIP_CONSHDLR * conshdlr
Definition: struct_cons.h:43
int nlocksneg
Definition: struct_cons.h:57
unsigned int updatefree
Definition: struct_cons.h:96
#define SCIP_DECL_CONSEXITPRE(x)
Definition: type_cons.h:138
unsigned int separate
Definition: struct_cons.h:63
SCIP_CONS ** checkconss
Definition: struct_cons.h:180
int nusefulpropconss
Definition: struct_cons.h:227
unsigned int updateactivate
Definition: struct_cons.h:87
unsigned int updateenable
Definition: struct_cons.h:89
int delayupdatecount
Definition: struct_cons.h:257
int consspos
Definition: struct_cons.h:50
type definitions for clocks and timing issues
#define SCIP_DECL_CONSENFOPS(x)
Definition: type_cons.h:356
SCIP_Real age
Definition: struct_cons.h:41
SCIP_Bool propwasdelayed
Definition: struct_cons.h:263
unsigned int updateactfocus
Definition: struct_cons.h:97
unsigned int SCIP_PROPTIMING
Definition: type_timing.h:64
SCIP_Longint nenfopscalls
Definition: struct_cons.h:120
SCIP_Longint lastenfolplpcount
Definition: struct_cons.h:196
SCIP_Longint ncutsapplied
Definition: struct_cons.h:126
#define SCIP_DECL_CONSFREE(x)
Definition: type_cons.h:74
SCIP_CLOCK * enfolptime
Definition: struct_cons.h:189
unsigned int updatedisable
Definition: struct_cons.h:90
#define SCIP_DECL_CONSINIT(x)
Definition: type_cons.h:84
unsigned int original
Definition: struct_cons.h:74
unsigned int updateobsolete
Definition: struct_cons.h:95
SCIP_Longint nrespropcalls
Definition: struct_cons.h:123
unsigned int local
Definition: struct_cons.h:69
#define SCIP_Real
Definition: def.h:127
unsigned int deleteconsdata
Definition: struct_cons.h:75
SCIP_CLOCK * sbproptime
Definition: struct_cons.h:192
#define SCIP_DECL_CONSSEPASOL(x)
Definition: type_cons.h:271
#define SCIP_DECL_CONSPROP(x)
Definition: type_cons.h:421
SCIP_Longint storedpropdomchgcount
Definition: struct_cons.h:131
#define SCIP_DECL_CONSACTIVE(x)
Definition: type_cons.h:606
#define SCIP_Longint
Definition: def.h:112
int nlockspos
Definition: struct_cons.h:56
unsigned int markpropagate
Definition: struct_cons.h:83
SCIP_Real ageresetavg
Definition: struct_cons.h:138
SCIP_CLOCK * proptime
Definition: struct_cons.h:191
unsigned int updatedeactivate
Definition: struct_cons.h:88
#define SCIP_DECL_CONSHDLRCOPY(x)
Definition: type_cons.h:66
struct SCIP_ConshdlrData SCIP_CONSHDLRDATA
Definition: type_cons.h:49
int addarraypos
Definition: struct_cons.h:49
#define SCIP_DECL_CONSCOPY(x)
Definition: type_cons.h:723
common defines and data types used in all packages of SCIP
int checkconsspos
Definition: struct_cons.h:54
SCIP_Bool initialized
Definition: struct_cons.h:264
unsigned int enforce
Definition: struct_cons.h:64
unsigned int propagate
Definition: struct_cons.h:66
int nmarkedpropconss
Definition: struct_cons.h:226
unsigned int nupgradelocks
Definition: struct_cons.h:100
SCIP_CONS ** sepaconss
Definition: struct_cons.h:178
SCIP_CONSHDLRDATA * conshdlrdata
Definition: struct_cons.h:172
type definitions for constraints and constraint handlers
SCIP_CLOCK * checktime
Definition: struct_cons.h:193
SCIP_Longint lastenfolpdomchgcount
Definition: struct_cons.h:132