Scippy

SCIP

Solving Constraint Integer Programs

set.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-2022 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 visit scipopt.org. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file set.h
17  * @ingroup INTERNALAPI
18  * @brief internal methods for global SCIP settings
19  * @author Tobias Achterberg
20  * @author Timo Berthold
21  */
22 
23 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
24 
25 #ifndef __SCIP_SET_H__
26 #define __SCIP_SET_H__
27 
28 
29 #include "scip/def.h"
30 #include "blockmemshell/memory.h"
31 #include "scip/type_bandit.h"
32 #include "scip/type_set.h"
33 #include "scip/type_stat.h"
34 #include "scip/type_clock.h"
35 #include "scip/type_paramset.h"
36 #include "scip/type_event.h"
37 #include "scip/type_scip.h"
38 #include "scip/type_branch.h"
39 #include "scip/type_conflict.h"
40 #include "scip/type_cons.h"
41 #include "scip/type_disp.h"
42 #include "scip/type_heur.h"
43 #include "scip/type_compr.h"
44 #include "scip/type_nodesel.h"
45 #include "scip/type_presol.h"
46 #include "scip/type_pricer.h"
47 #include "scip/type_reader.h"
48 #include "scip/type_relax.h"
49 #include "scip/type_sepa.h"
50 #include "scip/type_table.h"
51 #include "scip/type_prop.h"
52 #include "scip/type_benders.h"
53 #include "scip/struct_set.h"
54 
55 
56 #ifdef NDEBUG
57 #include "scip/pub_misc.h"
58 #endif
59 
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
63 
64 /** copies plugins from sourcescip to targetscip; in case that a constraint handler which does not need constraints
65  * cannot be copied, valid will return FALSE. All plugins can declare that, if their copy process failed, the
66  * copied SCIP instance might not represent the same problem semantics as the original.
67  * Note that in this case dual reductions might be invalid. */
69  SCIP_SET* sourceset, /**< source SCIP_SET data structure */
70  SCIP_SET* targetset, /**< target SCIP_SET data structure */
71  SCIP_Bool copyreaders, /**< should the file readers be copied */
72  SCIP_Bool copypricers, /**< should the variable pricers be copied */
73  SCIP_Bool copyconshdlrs, /**< should the constraint handlers be copied */
74  SCIP_Bool copyconflicthdlrs, /**< should the conflict handlers be copied */
75  SCIP_Bool copypresolvers, /**< should the presolvers be copied */
76  SCIP_Bool copyrelaxators, /**< should the relaxators be copied */
77  SCIP_Bool copyseparators, /**< should the separators be copied */
78  SCIP_Bool copycutselectors, /**< should the cut selectors be copied */
79  SCIP_Bool copypropagators, /**< should the propagators be copied */
80  SCIP_Bool copyheuristics, /**< should the heuristics be copied */
81  SCIP_Bool copyeventhdlrs, /**< should the event handlers be copied */
82  SCIP_Bool copynodeselectors, /**< should the node selectors be copied */
83  SCIP_Bool copybranchrules, /**< should the branchrules be copied */
84  SCIP_Bool copydisplays, /**< should the display columns be copied */
85  SCIP_Bool copydialogs, /**< should the dialogs be copied */
86  SCIP_Bool copytables, /**< should the statistics tables be copied */
87  SCIP_Bool copyexprhdlrs, /**< should the expression handlers be copied */
88  SCIP_Bool copynlpis, /**< should the NLP interfaces be copied */
89  SCIP_Bool* allvalid /**< pointer to store whether all plugins were validly copied */
90  );
91 
92 /** copies parameters from sourcescip to targetscip */
94  SCIP_SET* sourceset, /**< source SCIP_SET data structure */
95  SCIP_SET* targetset, /**< target SCIP_SET data structure */
96  SCIP_MESSAGEHDLR* messagehdlr /**< message handler of target SCIP */
97  );
98 
99 /** creates global SCIP settings */
101  SCIP_SET** set, /**< pointer to SCIP settings */
102  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
103  BMS_BLKMEM* blkmem, /**< block memory */
104  SCIP* scip /**< SCIP data structure */
105  );
106 
107 /** frees global SCIP settings */
109  SCIP_SET** set, /**< pointer to SCIP settings */
110  BMS_BLKMEM* blkmem /**< block memory */
111  );
112 
113 /** returns current stage of SCIP */
115  SCIP_SET* set /**< pointer to SCIP settings */
116  );
117 
118 /** creates a SCIP_Bool parameter, sets it to its default value, and adds it to the parameter set */
120  SCIP_SET* set, /**< global SCIP settings */
121  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
122  BMS_BLKMEM* blkmem, /**< block memory */
123  const char* name, /**< name of the parameter */
124  const char* desc, /**< description of the parameter */
125  SCIP_Bool* valueptr, /**< pointer to store the current parameter value, or NULL */
126  SCIP_Bool isadvanced, /**< is this parameter an advanced parameter? */
127  SCIP_Bool defaultvalue, /**< default value of the parameter */
128  SCIP_DECL_PARAMCHGD ((*paramchgd)), /**< change information method of parameter */
129  SCIP_PARAMDATA* paramdata /**< locally defined parameter specific data */
130  );
131 
132 /** creates a int parameter, sets it to its default value, and adds it to the parameter set */
134  SCIP_SET* set, /**< global SCIP settings */
135  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
136  BMS_BLKMEM* blkmem, /**< block memory */
137  const char* name, /**< name of the parameter */
138  const char* desc, /**< description of the parameter */
139  int* valueptr, /**< pointer to store the current parameter value, or NULL */
140  SCIP_Bool isadvanced, /**< is this parameter an advanced parameter? */
141  int defaultvalue, /**< default value of the parameter */
142  int minvalue, /**< minimum value for parameter */
143  int maxvalue, /**< maximum value for parameter */
144  SCIP_DECL_PARAMCHGD ((*paramchgd)), /**< change information method of parameter */
145  SCIP_PARAMDATA* paramdata /**< locally defined parameter specific data */
146  );
147 
148 /** creates a SCIP_Longint parameter, sets it to its default value, and adds it to the parameter set */
150  SCIP_SET* set, /**< global SCIP settings */
151  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
152  BMS_BLKMEM* blkmem, /**< block memory */
153  const char* name, /**< name of the parameter */
154  const char* desc, /**< description of the parameter */
155  SCIP_Longint* valueptr, /**< pointer to store the current parameter value, or NULL */
156  SCIP_Bool isadvanced, /**< is this parameter an advanced parameter? */
157  SCIP_Longint defaultvalue, /**< default value of the parameter */
158  SCIP_Longint minvalue, /**< minimum value for parameter */
159  SCIP_Longint maxvalue, /**< maximum value for parameter */
160  SCIP_DECL_PARAMCHGD ((*paramchgd)), /**< change information method of parameter */
161  SCIP_PARAMDATA* paramdata /**< locally defined parameter specific data */
162  );
163 
164 /** creates a SCIP_Real parameter, sets it to its default value, and adds it to the parameter set */
166  SCIP_SET* set, /**< global SCIP settings */
167  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
168  BMS_BLKMEM* blkmem, /**< block memory */
169  const char* name, /**< name of the parameter */
170  const char* desc, /**< description of the parameter */
171  SCIP_Real* valueptr, /**< pointer to store the current parameter value, or NULL */
172  SCIP_Bool isadvanced, /**< is this parameter an advanced parameter? */
173  SCIP_Real defaultvalue, /**< default value of the parameter */
174  SCIP_Real minvalue, /**< minimum value for parameter */
175  SCIP_Real maxvalue, /**< maximum value for parameter */
176  SCIP_DECL_PARAMCHGD ((*paramchgd)), /**< change information method of parameter */
177  SCIP_PARAMDATA* paramdata /**< locally defined parameter specific data */
178  );
179 
180 /** creates a char parameter, sets it to its default value, and adds it to the parameter set */
182  SCIP_SET* set, /**< global SCIP settings */
183  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
184  BMS_BLKMEM* blkmem, /**< block memory */
185  const char* name, /**< name of the parameter */
186  const char* desc, /**< description of the parameter */
187  char* valueptr, /**< pointer to store the current parameter value, or NULL */
188  SCIP_Bool isadvanced, /**< is this parameter an advanced parameter? */
189  char defaultvalue, /**< default value of the parameter */
190  const char* allowedvalues, /**< array with possible parameter values, or NULL if not restricted */
191  SCIP_DECL_PARAMCHGD ((*paramchgd)), /**< change information method of parameter */
192  SCIP_PARAMDATA* paramdata /**< locally defined parameter specific data */
193  );
194 
195 /** creates a string parameter, sets it to its default value, and adds it to the parameter set */
197  SCIP_SET* set, /**< global SCIP settings */
198  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
199  BMS_BLKMEM* blkmem, /**< block memory */
200  const char* name, /**< name of the parameter */
201  const char* desc, /**< description of the parameter */
202  char** valueptr, /**< pointer to store the current parameter value, or NULL */
203  SCIP_Bool isadvanced, /**< is this parameter an advanced parameter? */
204  const char* defaultvalue, /**< default value of the parameter */
205  SCIP_DECL_PARAMCHGD ((*paramchgd)), /**< change information method of parameter */
206  SCIP_PARAMDATA* paramdata /**< locally defined parameter specific data */
207  );
208 
209 /** gets the fixing status value of an existing parameter */
211  SCIP_SET* set, /**< global SCIP settings */
212  const char* name /**< name of the parameter */
213  );
214 
215 /** returns the pointer to the SCIP parameter with the given name */
217  SCIP_SET* set, /**< global SCIP settings */
218  const char* name /**< name of the parameter */
219  );
220 
221 /** gets the value of an existing SCIP_Bool parameter */
223  SCIP_SET* set, /**< global SCIP settings */
224  const char* name, /**< name of the parameter */
225  SCIP_Bool* value /**< pointer to store the parameter */
226  );
227 
228 /** gets the value of an existing Int parameter */
230  SCIP_SET* set, /**< global SCIP settings */
231  const char* name, /**< name of the parameter */
232  int* value /**< pointer to store the parameter */
233  );
234 
235 /** gets the value of an existing SCIP_Longint parameter */
237  SCIP_SET* set, /**< global SCIP settings */
238  const char* name, /**< name of the parameter */
239  SCIP_Longint* value /**< pointer to store the parameter */
240  );
241 
242 /** gets the value of an existing SCIP_Real parameter */
244  SCIP_SET* set, /**< global SCIP settings */
245  const char* name, /**< name of the parameter */
246  SCIP_Real* value /**< pointer to store the parameter */
247  );
248 
249 /** gets the value of an existing Char parameter */
251  SCIP_SET* set, /**< global SCIP settings */
252  const char* name, /**< name of the parameter */
253  char* value /**< pointer to store the parameter */
254  );
255 
256 /** gets the value of an existing String parameter */
258  SCIP_SET* set, /**< global SCIP settings */
259  const char* name, /**< name of the parameter */
260  char** value /**< pointer to store the parameter */
261  );
262 
263 /** changes the fixing status of an existing parameter */
265  SCIP_SET* set, /**< global SCIP settings */
266  const char* name, /**< name of the parameter */
267  SCIP_Bool fixed /**< new fixing status of the parameter */
268  );
269 
270 /** changes the value of an existing SCIP_Bool parameter */
272  SCIP_SET* set, /**< global SCIP settings */
273  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
274  SCIP_PARAM* param, /**< parameter */
275  SCIP_Bool value /**< new value of the parameter */
276  );
277 
278 /** changes the value of an existing SCIP_Bool parameter */
280  SCIP_SET* set, /**< global SCIP settings */
281  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
282  const char* name, /**< name of the parameter */
283  SCIP_Bool value /**< new value of the parameter */
284  );
285 
286 /** changes the default value of an existing SCIP_Bool parameter */
288  SCIP_SET* set, /**< global SCIP settings */
289  const char* name, /**< name of the parameter */
290  SCIP_Bool defaultvalue /**< new default value of the parameter */
291  );
292 
293 /** changes the value of an existing Int parameter */
295  SCIP_SET* set, /**< global SCIP settings */
296  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
297  SCIP_PARAM* param, /**< parameter */
298  int value /**< new value of the parameter */
299  );
300 
301 /** changes the value of an existing Int parameter */
303  SCIP_SET* set, /**< global SCIP settings */
304  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
305  const char* name, /**< name of the parameter */
306  int value /**< new value of the parameter */
307  );
308 
309 /** changes the default value of an existing Int parameter */
311  SCIP_SET* set, /**< global SCIP settings */
312  const char* name, /**< name of the parameter */
313  int defaultvalue /**< new default value of the parameter */
314  );
315 
316 /** changes the value of an existing SCIP_Longint parameter */
318  SCIP_SET* set, /**< global SCIP settings */
319  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
320  SCIP_PARAM* param, /**< parameter */
321  SCIP_Longint value /**< new value of the parameter */
322  );
323 
324 /** changes the value of an existing SCIP_Longint parameter */
326  SCIP_SET* set, /**< global SCIP settings */
327  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
328  const char* name, /**< name of the parameter */
329  SCIP_Longint value /**< new value of the parameter */
330  );
331 
332 /** changes the value of an existing SCIP_Real parameter */
334  SCIP_SET* set, /**< global SCIP settings */
335  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
336  SCIP_PARAM* param, /**< parameter */
337  SCIP_Real value /**< new value of the parameter */
338  );
339 
340 /** changes the value of an existing SCIP_Real parameter */
342  SCIP_SET* set, /**< global SCIP settings */
343  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
344  const char* name, /**< name of the parameter */
345  SCIP_Real value /**< new value of the parameter */
346  );
347 
348 /** changes the value of an existing Char parameter */
350  SCIP_SET* set, /**< global SCIP settings */
351  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
352  SCIP_PARAM* param, /**< parameter */
353  char value /**< new value of the parameter */
354  );
355 
356 /** changes the value of an existing Char parameter */
358  SCIP_SET* set, /**< global SCIP settings */
359  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
360  const char* name, /**< name of the parameter */
361  char value /**< new value of the parameter */
362  );
363 
364 /** changes the value of an existing String parameter */
366  SCIP_SET* set, /**< global SCIP settings */
367  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
368  SCIP_PARAM* param, /**< parameter */
369  const char* value /**< new value of the parameter */
370  );
371 
372 /** changes the value of an existing String parameter */
374  SCIP_SET* set, /**< global SCIP settings */
375  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
376  const char* name, /**< name of the parameter */
377  const char* value /**< new value of the parameter */
378  );
379 
380 /** reads parameters from a file */
382  SCIP_SET* set, /**< global SCIP settings */
383  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
384  const char* filename /**< file name */
385  );
386 
387 /** writes all parameters in the parameter set to a file */
389  SCIP_SET* set, /**< global SCIP settings */
390  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
391  const char* filename, /**< file name, or NULL for stdout */
392  SCIP_Bool comments, /**< should parameter descriptions be written as comments? */
393  SCIP_Bool onlychanged /**< should only the parameters been written, that are changed from default? */
394  );
395 
396 /** resets a single parameters to its default value */
398  SCIP_SET* set, /**< global SCIP settings */
399  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
400  const char* name /**< name of the parameter */
401  );
402 
403 /** resets all parameters to their default values */
405  SCIP_SET* set, /**< global SCIP settings */
406  SCIP_MESSAGEHDLR* messagehdlr /**< message handler */
407  );
408 
409 /** sets parameters to
410  *
411  * - \ref SCIP_PARAMEMPHASIS_DEFAULT to use default values (see also SCIPsetResetParams())
412  * - \ref SCIP_PARAMEMPHASIS_COUNTER to get feasible and "fast" counting process
413  * - \ref SCIP_PARAMEMPHASIS_CPSOLVER to get CP like search (e.g. no LP relaxation)
414  * - \ref SCIP_PARAMEMPHASIS_EASYCIP to solve easy problems fast
415  * - \ref SCIP_PARAMEMPHASIS_FEASIBILITY to detect feasibility fast
416  * - \ref SCIP_PARAMEMPHASIS_HARDLP to be capable to handle hard LPs
417  * - \ref SCIP_PARAMEMPHASIS_OPTIMALITY to prove optimality fast
418  * - \ref SCIP_PARAMEMPHASIS_PHASEFEAS to find feasible solutions during a 3 phase solution process
419  * - \ref SCIP_PARAMEMPHASIS_PHASEIMPROVE to find improved solutions during a 3 phase solution process
420  * - \ref SCIP_PARAMEMPHASIS_PHASEPROOF to proof optimality during a 3 phase solution process
421  */
423  SCIP_SET* set, /**< global SCIP settings */
424  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
425  SCIP_PARAMEMPHASIS paramemphasis, /**< parameter settings */
426  SCIP_Bool quiet /**< should the parameter be set quiet (no output) */
427  );
428 
429 /** set parameters for reoptimization */
431  SCIP_SET* set, /**< SCIP data structure */
432  SCIP_MESSAGEHDLR* messagehdlr /**< message handler */
433  );
434 
435 /** enable or disable all plugin timers depending on the value of the flag \p enabled */
437  SCIP_SET* set, /**< SCIP settings */
438  SCIP_Bool enabled /**< should plugin clocks be enabled? */
439  );
440 
441 /** sets parameters to deactivate separators and heuristics that use auxiliary SCIP instances; should be called for
442  * auxiliary SCIP instances to avoid recursion
443  */
445  SCIP_SET* set, /**< global SCIP settings */
446  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
447  SCIP_Bool quiet /**< should the parameter be set quiet (no output) */
448  );
449 
450 /** sets heuristic parameters values to
451  * - SCIP_PARAMSETTING_DEFAULT which are the default values of all heuristic parameters
452  * - SCIP_PARAMSETTING_FAST such that the time spend for heuristic is decreased
453  * - SCIP_PARAMSETTING_AGGRESSIVE such that the heuristic are called more aggregative
454  * - SCIP_PARAMSETTING_OFF which turn off all heuristics
455  */
457  SCIP_SET* set, /**< global SCIP settings */
458  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
459  SCIP_PARAMSETTING paramsetting, /**< parameter settings */
460  SCIP_Bool quiet /**< should the parameter be set quiet (no output) */
461  );
462 
463 /** sets presolving parameters to
464  * - SCIP_PARAMSETTING_DEFAULT which are the default values of all presolving parameters
465  * - SCIP_PARAMSETTING_FAST such that the time spend for presolving is decreased
466  * - SCIP_PARAMSETTING_AGGRESSIVE such that the presolving is more aggregative
467  * - SCIP_PARAMSETTING_OFF which turn off all presolving
468  */
470  SCIP_SET* set, /**< global SCIP settings */
471  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
472  SCIP_PARAMSETTING paramsetting, /**< parameter settings */
473  SCIP_Bool quiet /**< should the parameter be set quiet (no output) */
474  );
475 
476 /** sets separating parameters to
477  * - SCIP_PARAMSETTING_DEFAULT which are the default values of all separating parameters
478  * - SCIP_PARAMSETTING_FAST such that the time spend for separating is decreased
479  * - SCIP_PARAMSETTING_AGGRESSIVE such that the separating is done more aggregative
480  * - SCIP_PARAMSETTING_OFF which turn off all separating
481  */
483  SCIP_SET* set, /**< global SCIP settings */
484  SCIP_MESSAGEHDLR* messagehdlr, /**< message handler */
485  SCIP_PARAMSETTING paramsetting, /**< parameter settings */
486  SCIP_Bool quiet /**< should the parameter be set quiet (no output) */
487  );
488 
489 /** returns the array of all available SCIP parameters */
491  SCIP_SET* set /**< global SCIP settings */
492  );
493 
494 /** returns the total number of all available SCIP parameters */
496  SCIP_SET* set /**< global SCIP settings */
497  );
498 
499 /** inserts file reader in file reader list */
501  SCIP_SET* set, /**< global SCIP settings */
502  SCIP_READER* reader /**< file reader */
503  );
504 
505 /** returns the file reader of the given name, or NULL if not existing */
507  SCIP_SET* set, /**< global SCIP settings */
508  const char* name /**< name of file reader */
509  );
510 
511 /** inserts variable pricer in variable pricer list */
513  SCIP_SET* set, /**< global SCIP settings */
514  SCIP_PRICER* pricer /**< variable pricer */
515  );
516 
517 /** returns the variable pricer of the given name, or NULL if not existing */
519  SCIP_SET* set, /**< global SCIP settings */
520  const char* name /**< name of variable pricer */
521  );
522 
523 /** sorts pricers by priorities */
524 void SCIPsetSortPricers(
525  SCIP_SET* set /**< global SCIP settings */
526  );
527 
528 /** sorts pricers by name */
530  SCIP_SET* set /**< global SCIP settings */
531  );
532 
533 /** inserts Benders' decomposition into the Benders' decomposition list */
535  SCIP_SET* set, /**< global SCIP settings */
536  SCIP_BENDERS* benders /**< Benders' decomposition */
537  );
538 
539 /** returns the Benders' decomposition of the given name, or NULL if not existing */
541  SCIP_SET* set, /**< global SCIP settings */
542  const char* name /**< name of Benders' decomposition */
543  );
544 
545 /** sorts Benders' decomposition by priorities */
546 void SCIPsetSortBenders(
547  SCIP_SET* set /**< global SCIP settings */
548  );
549 
550 /** sorts Benders' decomposition by name */
552  SCIP_SET* set /**< global SCIP settings */
553  );
554 
555 /** inserts constraint handler in constraint handler list */
557  SCIP_SET* set, /**< global SCIP settings */
558  SCIP_CONSHDLR* conshdlr /**< constraint handler */
559  );
560 
561 /** reinserts a constraint handler with modified sepa priority into the sepa priority sorted array */
563  SCIP_SET* set, /**< global SCIP settings */
564  SCIP_CONSHDLR* conshdlr, /**< constraint handler to be reinserted */
565  int oldpriority /**< the old separation priority of constraint handler */
566  );
567 
568 /** returns the constraint handler of the given name, or NULL if not existing */
570  SCIP_SET* set, /**< global SCIP settings */
571  const char* name /**< name of constraint handler */
572  );
573 
574 /** inserts conflict handler in conflict handler list */
576  SCIP_SET* set, /**< global SCIP settings */
577  SCIP_CONFLICTHDLR* conflicthdlr /**< conflict handler */
578  );
579 
580 /** returns the conflict handler of the given name, or NULL if not existing */
582  SCIP_SET* set, /**< global SCIP settings */
583  const char* name /**< name of conflict handler */
584  );
585 
586 /** sorts conflict handlers by priorities */
588  SCIP_SET* set /**< global SCIP settings */
589  );
590 
591 /** sorts conflict handlers by name */
593  SCIP_SET* set /**< global SCIP settings */
594  );
595 
596 /** inserts presolver in presolver list */
598  SCIP_SET* set, /**< global SCIP settings */
599  SCIP_PRESOL* presol /**< presolver */
600  );
601 
602 /** returns the presolver of the given name, or NULL if not existing */
604  SCIP_SET* set, /**< global SCIP settings */
605  const char* name /**< name of presolver */
606  );
607 
608 /** sorts presolvers by priorities */
609 void SCIPsetSortPresols(
610  SCIP_SET* set /**< global SCIP settings */
611  );
612 
613 /** sorts presolvers by name */
615  SCIP_SET* set /**< global SCIP settings */
616  );
617 
618 /** inserts relaxator in relaxator list */
620  SCIP_SET* set, /**< global SCIP settings */
621  SCIP_RELAX* relax /**< relaxator */
622  );
623 
624 /** returns the relaxator of the given name, or NULL if not existing */
626  SCIP_SET* set, /**< global SCIP settings */
627  const char* name /**< name of relaxator */
628  );
629 
630 /** sorts relaxators by priorities */
631 void SCIPsetSortRelaxs(
632  SCIP_SET* set /**< global SCIP settings */
633  );
634 
635 /** sorts relaxators by name */
637  SCIP_SET* set /**< global SCIP settings */
638  );
639 
640 /** inserts separator in separator list */
642  SCIP_SET* set, /**< global SCIP settings */
643  SCIP_SEPA* sepa /**< separator */
644  );
645 
646 /** returns the separator of the given name, or NULL if not existing */
648  SCIP_SET* set, /**< global SCIP settings */
649  const char* name /**< name of separator */
650  );
651 
652 /** sorts separators by priorities */
653 void SCIPsetSortSepas(
654  SCIP_SET* set /**< global SCIP settings */
655  );
656 
657 /** sorts separators by name */
659  SCIP_SET* set /**< global SCIP settings */
660  );
661 
662 /** inserts cut selector in cut selector list */
664  SCIP_SET* set, /**< global SCIP settings */
665  SCIP_CUTSEL* cutsel /**< cut selector */
666  );
667 
668 /** returns the cut selector of the given name, or NULL if not existing */
670  SCIP_SET* set, /**< global SCIP settings */
671  const char* name /**< name of separator */
672  );
673 
674 /** sorts cut selectors by priorities */
675 void SCIPsetSortCutsels(
676  SCIP_SET* set /**< global SCIP settings */
677  );
678 
679 /** inserts propagator in propagator list */
681  SCIP_SET* set, /**< global SCIP settings */
682  SCIP_PROP* prop /**< propagator */
683  );
684 
685 /** returns the propagator of the given name, or NULL if not existing */
687  SCIP_SET* set, /**< global SCIP settings */
688  const char* name /**< name of propagator */
689  );
690 
691 /** sorts propagators by priorities */
692 void SCIPsetSortProps(
693  SCIP_SET* set /**< global SCIP settings */
694  );
695 
696 /** sorts propagators by priorities for presolving */
698  SCIP_SET* set /**< global SCIP settings */
699  );
700 
701 /** sorts propagators w.r.t. names */
703  SCIP_SET* set /**< global SCIP settings */
704  );
705 
706 /** inserts concurrent solver type into the concurrent solver type list */
708  SCIP_SET* set, /**< global SCIP settings */
709  SCIP_CONCSOLVERTYPE* concsolvertype /**< concurrent solver type */
710  );
711 
712 /** returns the concurrent solver type with the given name, or NULL if not existing */
714  SCIP_SET* set, /**< global SCIP settings */
715  const char* name /**< name of concurrent solver type */
716  );
717 
718 /** inserts concurrent solver into the concurrent solver list */
720  SCIP_SET* set, /**< global SCIP settings */
721  SCIP_CONCSOLVER* concsolver /**< concurrent solver */
722  );
723 
724 /** frees all concurrent solvers in the concurrent solver list */
726  SCIP_SET* set /**< global SCIP settings */
727  );
728 
729 /** inserts primal heuristic in primal heuristic list */
731  SCIP_SET* set, /**< global SCIP settings */
732  SCIP_HEUR* heur /**< primal heuristic */
733  );
734 
735 /** returns the primal heuristic of the given name, or NULL if not existing */
737  SCIP_SET* set, /**< global SCIP settings */
738  const char* name /**< name of primal heuristic */
739  );
740 
741 /** sorts heuristics by priorities */
742 void SCIPsetSortHeurs(
743  SCIP_SET* set /**< global SCIP settings */
744  );
745 
746 /** sorts heuristics by name */
748  SCIP_SET* set /**< global SCIP settings */
749  );
750 
751 /** inserts tree compression in tree compression list */
753  SCIP_SET* set, /**< global SCIP settings */
754  SCIP_COMPR* compr /**< tree compression */
755  );
756 
757 /** returns the tree compression of the given name, or NULL if not existing */
759  SCIP_SET* set, /**< global SCIP settings */
760  const char* name /**< name of tree compression */
761  );
762 
763 /** sorts compressions by priorities */
764 void SCIPsetSortComprs(
765  SCIP_SET* set /**< global SCIP settings */
766  );
767 
768 /** sorts heuristics by names */
770  SCIP_SET* set /**< global SCIP settings */
771  );
772 
773 /** inserts event handler in event handler list */
775  SCIP_SET* set, /**< global SCIP settings */
776  SCIP_EVENTHDLR* eventhdlr /**< event handler */
777  );
778 
779 /** returns the event handler of the given name, or NULL if not existing */
781  SCIP_SET* set, /**< global SCIP settings */
782  const char* name /**< name of event handler */
783  );
784 
785 /** inserts node selector in node selector list */
787  SCIP_SET* set, /**< global SCIP settings */
788  SCIP_NODESEL* nodesel /**< node selector */
789  );
790 
791 /** returns the node selector of the given name, or NULL if not existing */
793  SCIP_SET* set, /**< global SCIP settings */
794  const char* name /**< name of event handler */
795  );
796 
797 /** returns node selector with highest priority in the current mode */
799  SCIP_SET* set, /**< global SCIP settings */
800  SCIP_STAT* stat /**< dynamic problem statistics */
801  );
802 
803 /** inserts branching rule in branching rule list */
805  SCIP_SET* set, /**< global SCIP settings */
806  SCIP_BRANCHRULE* branchrule /**< branching rule */
807  );
808 
809 /** returns the branching rule of the given name, or NULL if not existing */
811  SCIP_SET* set, /**< global SCIP settings */
812  const char* name /**< name of event handler */
813  );
814 
815 /** sorts branching rules by priorities */
817  SCIP_SET* set /**< global SCIP settings */
818  );
819 
820 /** sorts branching rules by name */
822  SCIP_SET* set /**< global SCIP settings */
823  );
824 
825 /** inserts display column in display column list */
827  SCIP_SET* set, /**< global SCIP settings */
828  SCIP_DISP* disp /**< display column */
829  );
830 
831 /** returns the display column of the given name, or NULL if not existing */
833  SCIP_SET* set, /**< global SCIP settings */
834  const char* name /**< name of display */
835  );
836 
837 /** inserts statistics table in statistics table list */
839  SCIP_SET* set, /**< global SCIP settings */
840  SCIP_TABLE* table /**< statistics table */
841  );
842 
843 /** returns the statistics table of the given name, or NULL if not existing */
845  SCIP_SET* set, /**< global SCIP settings */
846  const char* name /**< name of statistics table */
847  );
848 
849 /** inserts dialog in dialog list */
851  SCIP_SET* set, /**< global SCIP settings */
852  SCIP_DIALOG* dialog /**< dialog */
853  );
854 
855 /** returns if the dialog already exists */
857  SCIP_SET* set, /**< global SCIP settings */
858  SCIP_DIALOG* dialog /**< dialog */
859  );
860 
861 /** inserts expression handler in expression handler list */
863  SCIP_SET* set, /**< global SCIP settings */
864  SCIP_EXPRHDLR* exprhdlr /**< expression handler */
865  );
866 
867 /** returns the expression handler of the given name, or NULL if not existing */
868 SCIP_EXPORT /* need SCIP_EXPORT here, because func is exposed in API via SCIPfindExprhdlr() macro */
870  SCIP_SET* set, /**< global SCIP settings */
871  const char* name /**< name of expression handler */
872  );
873 
874 /** sorts expression handlers by name */
876  SCIP_SET* set /**< global SCIP settings */
877  );
878 
879 /** inserts NLPI in NLPI list */
881  SCIP_SET* set, /**< global SCIP settings */
882  SCIP_NLPI* nlpi /**< NLPI */
883  );
884 
885 /** returns the NLPI of the given name, or NULL if not existing */
887  SCIP_SET* set, /**< global SCIP settings */
888  const char* name /**< name of NLPI */
889  );
890 
891 /** sorts NLPIs by priorities */
892 void SCIPsetSortNlpis(
893  SCIP_SET* set /**< global SCIP settings */
894  );
895 
896 /** set priority of an NLPI */
898  SCIP_SET* set, /**< global SCIP settings */
899  SCIP_NLPI* nlpi, /**< NLPI */
900  int priority /**< new priority of NLPI */
901  );
902 
903 /** inserts information about an external code in external codes list */
905  SCIP_SET* set, /**< global SCIP settings */
906  const char* name, /**< name of external code */
907  const char* description /**< description of external code, can be NULL */
908  );
909 
910 /** inserts bandit virtual function table into set */
912  SCIP_SET* set, /**< global SCIP settings */
913  SCIP_BANDITVTABLE* banditvtable /**< bandit algorithm virtual function table */
914  );
915 
916 /** returns the bandit virtual function table of the given name, or NULL if not existing */
918  SCIP_SET* set, /**< global SCIP settings */
919  const char* name /**< name of bandit algorithm virtual function table */
920  );
921 
922 /** calls init methods of all plugins */
924  SCIP_SET* set, /**< global SCIP settings */
925  BMS_BLKMEM* blkmem, /**< block memory */
926  SCIP_STAT* stat /**< dynamic problem statistics */
927  );
928 
929 /** calls exit methods of all plugins */
931  SCIP_SET* set, /**< global SCIP settings */
932  BMS_BLKMEM* blkmem, /**< block memory */
933  SCIP_STAT* stat /**< dynamic problem statistics */
934  );
935 
936 /** calls initpre methods of all plugins */
938  SCIP_SET* set, /**< global SCIP settings */
939  BMS_BLKMEM* blkmem, /**< block memory */
940  SCIP_STAT* stat /**< dynamic problem statistics */
941  );
942 
943 /** calls exitpre methods of all plugins */
945  SCIP_SET* set, /**< global SCIP settings */
946  BMS_BLKMEM* blkmem, /**< block memory */
947  SCIP_STAT* stat /**< dynamic problem statistics */
948  );
949 
950 /** calls initsol methods of all plugins */
952  SCIP_SET* set, /**< global SCIP settings */
953  BMS_BLKMEM* blkmem, /**< block memory */
954  SCIP_STAT* stat /**< dynamic problem statistics */
955  );
956 
957 /** calls exitsol methods of all plugins */
959  SCIP_SET* set, /**< global SCIP settings */
960  BMS_BLKMEM* blkmem, /**< block memory */
961  SCIP_STAT* stat, /**< dynamic problem statistics */
962  SCIP_Bool restart /**< was this exit solve call triggered by a restart? */
963  );
964 
965 /** calculate memory size for dynamically allocated arrays */
967  SCIP_SET* set, /**< global SCIP settings */
968  int num /**< minimum number of entries to store */
969  );
970 
971 /** calculate memory size for tree array */
973  SCIP_SET* set, /**< global SCIP settings */
974  int num /**< minimum number of entries to store */
975  );
976 
977 /** calculate memory size for path array */
979  SCIP_SET* set, /**< global SCIP settings */
980  int num /**< minimum number of entries to store */
981  );
982 
983 /** sets verbosity level for message output */
985  SCIP_SET* set, /**< global SCIP settings */
986  SCIP_VERBLEVEL verblevel /**< verbosity level for message output */
987  );
988 
989 /** sets feasibility tolerance */
991  SCIP_SET* set, /**< global SCIP settings */
992  SCIP_LP* lp, /**< LP data, or NULL */
993  SCIP_Real feastol /**< new feasibility tolerance */
994  );
995 
996 /** sets feasibility tolerance for reduced costs in LP solution */
998  SCIP_SET* set, /**< global SCIP settings */
999  SCIP_Real dualfeastol /**< new reduced costs feasibility tolerance */
1000  );
1001 
1002 /** sets LP convergence tolerance used in barrier algorithm */
1004  SCIP_SET* set, /**< global SCIP settings */
1005  SCIP_Real barrierconvtol /**< new convergence tolerance used in barrier algorithm */
1006  );
1007 
1008 /** sets primal feasibility tolerance for relaxations (relaxfeastol)
1009  *
1010  * @note Set to SCIP_INVALID to apply relaxation-specific feasibility tolerance only.
1011  *
1012  * @return Previous value of relaxfeastol.
1013  */
1015  SCIP_SET* set, /**< global SCIP settings */
1016  SCIP_Real relaxfeastol /**< new primal feasibility tolerance for relaxations, or SCIP_INVALID */
1017  );
1018 
1019 /** marks that some limit parameter was changed */
1021  SCIP_SET* set /**< global SCIP settings */
1022  );
1023 
1024 /** returns the maximal number of variables priced into the LP per round */
1026  SCIP_SET* set, /**< global SCIP settings */
1027  SCIP_Bool root /**< are we at the root node? */
1028  );
1029 
1030 /** returns the maximal number of cuts separated per round */
1032  SCIP_SET* set, /**< global SCIP settings */
1033  SCIP_Bool root /**< are we at the root node? */
1034  );
1035 
1036 /** returns the maximal ratio between coefficients to ensure in rowprep cleanup */
1038  SCIP_SET* set /**< global SCIP settings */
1039  );
1040 
1041 /** returns user defined objective value (in original space) for reference purposes */
1043  SCIP_SET* set /**< global SCIP settings */
1044  );
1045 
1046 /** returns debug solution data */
1048  SCIP_SET* set /**< global SCIP settings */
1049  );
1050 
1051 /** Checks, if an iteratively updated value is reliable or should be recomputed from scratch.
1052  * This is useful, if the value, e.g., the activity of a linear constraint or the pseudo objective value, gets a high
1053  * absolute value during the optimization process which is later reduced significantly. In this case, the last digits
1054  * were cancelled out when increasing the value and are random after decreasing it.
1055  * We dot not consider the cancellations which can occur during increasing the absolute value because they just cannot
1056  * be expressed using fixed precision floating point arithmetic, anymore.
1057  * The idea to get more reliable values is to always store the last reliable value, where increasing the absolute of
1058  * the value is viewed as preserving reliability. Then, after each update, the new absolute value can be compared
1059  * against the last reliable one with this method, checking whether it was decreased by a factor of at least
1060  * "lp/recompfac" and should be recomputed.
1061  */
1063  SCIP_SET* set, /**< global SCIP settings */
1064  SCIP_Real newvalue, /**< new value after update */
1065  SCIP_Real oldvalue /**< old value, i.e., last reliable value */
1066  );
1067 
1068 /** modifies an initial seed value with the global shift of random seeds */
1069 unsigned int SCIPsetInitializeRandomSeed(
1070  SCIP_SET* set, /**< global SCIP settings */
1071  unsigned int initialseedvalue /**< initial seed value to be modified */
1072  );
1073 
1074 /** returns value treated as infinity */
1076  SCIP_SET* set /**< global SCIP settings */
1077  );
1078 
1079 /** returns the minimum value that is regarded as huge and should be handled separately (e.g., in activity
1080  * computation)
1081  */
1083  SCIP_SET* set /**< global SCIP settings */
1084  );
1085 
1086 /** returns value treated as zero */
1088  SCIP_SET* set /**< global SCIP settings */
1089  );
1090 
1091 /** returns value treated as zero for sums of floating point values */
1093  SCIP_SET* set /**< global SCIP settings */
1094  );
1095 
1096 /** returns feasibility tolerance for constraints */
1097 #ifdef __GNUC__
1098 __attribute__ ((pure))
1099 #endif
1101  SCIP_SET* set /**< global SCIP settings */
1102  );
1103 
1104 /** returns factor w.r.t. primal feasibility tolerance that determines default (and maximal) feasibility tolerance */
1106  SCIP_SET* set /**< global SCIP settings */
1107  );
1108 
1109 /** returns feasibility tolerance for reduced costs */
1110 #ifdef __GNUC__
1111 __attribute__ ((pure))
1112 #endif
1114  SCIP_SET* set /**< global SCIP settings */
1115  );
1116 
1117 /** returns convergence tolerance used in barrier algorithm */
1119  SCIP_SET* set /**< global SCIP settings */
1120  );
1121 
1122 /** returns minimal variable distance value to use for pseudo cost updates */
1124  SCIP_SET* set /**< global SCIP settings */
1125  );
1126 
1127 /** returns minimal minimal objective distance value to use for pseudo cost updates */
1129  SCIP_SET* set /**< global SCIP settings */
1130  );
1131 
1132 /** return the delta to use for computing the cutoff bound for integral objectives */
1134  SCIP_SET* set /**< global SCIP settings */
1135  );
1136 
1137 /** return the primal feasibility tolerance for relaxations */
1139  SCIP_SET* set /**< global SCIP settings */
1140  );
1141 
1142 /** returns minimal decrease factor that causes the recomputation of a value
1143  * (e.g., pseudo objective) instead of an update */
1145  SCIP_SET* set /**< global SCIP settings */
1146  );
1147 
1148 /** checks, if values are in range of epsilon */
1150  SCIP_SET* set, /**< global SCIP settings */
1151  SCIP_Real val1, /**< first value to be compared */
1152  SCIP_Real val2 /**< second value to be compared */
1153  );
1154 
1155 /** checks, if val1 is (more than epsilon) lower than val2 */
1157  SCIP_SET* set, /**< global SCIP settings */
1158  SCIP_Real val1, /**< first value to be compared */
1159  SCIP_Real val2 /**< second value to be compared */
1160  );
1161 
1162 /** checks, if val1 is not (more than epsilon) greater than val2 */
1164  SCIP_SET* set, /**< global SCIP settings */
1165  SCIP_Real val1, /**< first value to be compared */
1166  SCIP_Real val2 /**< second value to be compared */
1167  );
1168 
1169 /** checks, if val1 is (more than epsilon) greater than val2 */
1171  SCIP_SET* set, /**< global SCIP settings */
1172  SCIP_Real val1, /**< first value to be compared */
1173  SCIP_Real val2 /**< second value to be compared */
1174  );
1175 
1176 /** checks, if val1 is not (more than epsilon) lower than val2 */
1178  SCIP_SET* set, /**< global SCIP settings */
1179  SCIP_Real val1, /**< first value to be compared */
1180  SCIP_Real val2 /**< second value to be compared */
1181  );
1182 
1183 /** checks, if value is (positive) infinite */
1185  SCIP_SET* set, /**< global SCIP settings */
1186  SCIP_Real val /**< value to be compared against infinity */
1187  );
1188 
1189 /** checks, if value is huge and should be handled separately (e.g., in activity computation) */
1191  SCIP_SET* set, /**< global SCIP settings */
1192  SCIP_Real val /**< value to be checked whether it is huge */
1193  );
1194 
1195 /** checks, if value is in range epsilon of 0.0 */
1197  SCIP_SET* set, /**< global SCIP settings */
1198  SCIP_Real val /**< value to be compared against zero */
1199  );
1200 
1201 /** checks, if value is greater than epsilon */
1203  SCIP_SET* set, /**< global SCIP settings */
1204  SCIP_Real val /**< value to be compared against zero */
1205  );
1206 
1207 /** checks, if value is lower than -epsilon */
1209  SCIP_SET* set, /**< global SCIP settings */
1210  SCIP_Real val /**< value to be compared against zero */
1211  );
1212 
1213 /** checks, if value is integral within epsilon */
1215  SCIP_SET* set, /**< global SCIP settings */
1216  SCIP_Real val /**< value to be compared against zero */
1217  );
1218 
1219 /** checks whether the product val * scalar is integral in epsilon scaled by scalar */
1221  SCIP_SET* set, /**< global SCIP settings */
1222  SCIP_Real val, /**< unscaled value to check for scaled integrality */
1223  SCIP_Real scalar /**< value to scale val with for checking for integrality */
1224  );
1225 
1226 /** checks, if given fractional part is smaller than epsilon */
1228  SCIP_SET* set, /**< global SCIP settings */
1229  SCIP_Real val /**< value to be compared against zero */
1230  );
1231 
1232 /** rounds value + feasibility tolerance down to the next integer in epsilon tolerance */
1234  SCIP_SET* set, /**< global SCIP settings */
1235  SCIP_Real val /**< value to be compared against zero */
1236  );
1237 
1238 /** rounds value - feasibility tolerance up to the next integer in epsilon tolerance */
1240  SCIP_SET* set, /**< global SCIP settings */
1241  SCIP_Real val /**< value to be compared against zero */
1242  );
1243 
1244 /** rounds value to the nearest integer in epsilon tolerance */
1246  SCIP_SET* set, /**< global SCIP settings */
1247  SCIP_Real val /**< value to be compared against zero */
1248  );
1249 
1250 /** returns fractional part of value, i.e. x - floor(x) in epsilon tolerance */
1252  SCIP_SET* set, /**< global SCIP settings */
1253  SCIP_Real val /**< value to return fractional part for */
1254  );
1255 
1256 /** checks, if values are in range of sumepsilon */
1258  SCIP_SET* set, /**< global SCIP settings */
1259  SCIP_Real val1, /**< first value to be compared */
1260  SCIP_Real val2 /**< second value to be compared */
1261  );
1262 
1263 /** checks, if val1 is (more than sumepsilon) lower than val2 */
1265  SCIP_SET* set, /**< global SCIP settings */
1266  SCIP_Real val1, /**< first value to be compared */
1267  SCIP_Real val2 /**< second value to be compared */
1268  );
1269 
1270 /** checks, if val1 is not (more than sumepsilon) greater than val2 */
1272  SCIP_SET* set, /**< global SCIP settings */
1273  SCIP_Real val1, /**< first value to be compared */
1274  SCIP_Real val2 /**< second value to be compared */
1275  );
1276 
1277 /** checks, if val1 is (more than sumepsilon) greater than val2 */
1279  SCIP_SET* set, /**< global SCIP settings */
1280  SCIP_Real val1, /**< first value to be compared */
1281  SCIP_Real val2 /**< second value to be compared */
1282  );
1283 
1284 /** checks, if val1 is not (more than sumepsilon) lower than val2 */
1286  SCIP_SET* set, /**< global SCIP settings */
1287  SCIP_Real val1, /**< first value to be compared */
1288  SCIP_Real val2 /**< second value to be compared */
1289  );
1290 
1291 /** checks, if value is in range sumepsilon of 0.0 */
1293  SCIP_SET* set, /**< global SCIP settings */
1294  SCIP_Real val /**< value to be compared against zero */
1295  );
1296 
1297 /** checks, if value is greater than sumepsilon */
1299  SCIP_SET* set, /**< global SCIP settings */
1300  SCIP_Real val /**< value to be compared against zero */
1301  );
1302 
1303 /** checks, if value is lower than -sumepsilon */
1305  SCIP_SET* set, /**< global SCIP settings */
1306  SCIP_Real val /**< value to be compared against zero */
1307  );
1308 
1309 /** rounds value + sumepsilon tolerance down to the next integer */
1311  SCIP_SET* set, /**< global SCIP settings */
1312  SCIP_Real val /**< value to process */
1313  );
1314 
1315 /** rounds value - sumepsilon tolerance up to the next integer */
1317  SCIP_SET* set, /**< global SCIP settings */
1318  SCIP_Real val /**< value to process */
1319  );
1320 
1321 /** rounds value to the nearest integer in sumepsilon tolerance */
1323  SCIP_SET* set, /**< global SCIP settings */
1324  SCIP_Real val /**< value to process */
1325  );
1326 
1327 /** returns fractional part of value, i.e. x - floor(x) in sumepsilon tolerance */
1329  SCIP_SET* set, /**< global SCIP settings */
1330  SCIP_Real val /**< value to process */
1331  );
1332 
1333 /** checks, if relative difference of values is in range of feastol */
1335  SCIP_SET* set, /**< global SCIP settings */
1336  SCIP_Real val1, /**< first value to be compared */
1337  SCIP_Real val2 /**< second value to be compared */
1338  );
1339 
1340 /** checks, if relative difference of val1 and val2 is lower than feastol */
1342  SCIP_SET* set, /**< global SCIP settings */
1343  SCIP_Real val1, /**< first value to be compared */
1344  SCIP_Real val2 /**< second value to be compared */
1345  );
1346 
1347 /** checks, if relative difference of val1 and val2 is not greater than feastol */
1349  SCIP_SET* set, /**< global SCIP settings */
1350  SCIP_Real val1, /**< first value to be compared */
1351  SCIP_Real val2 /**< second value to be compared */
1352  );
1353 
1354 /** checks, if relative difference of val1 and val2 is greater than feastol */
1356  SCIP_SET* set, /**< global SCIP settings */
1357  SCIP_Real val1, /**< first value to be compared */
1358  SCIP_Real val2 /**< second value to be compared */
1359  );
1360 
1361 /** checks, if relative difference of val1 and val2 is not lower than -feastol */
1363  SCIP_SET* set, /**< global SCIP settings */
1364  SCIP_Real val1, /**< first value to be compared */
1365  SCIP_Real val2 /**< second value to be compared */
1366  );
1367 
1368 /** checks, if value is in range feasibility tolerance of 0.0 */
1370  SCIP_SET* set, /**< global SCIP settings */
1371  SCIP_Real val /**< value to be compared against zero */
1372  );
1373 
1374 /** checks, if value is greater than feasibility tolerance */
1376  SCIP_SET* set, /**< global SCIP settings */
1377  SCIP_Real val /**< value to be compared against zero */
1378  );
1379 
1380 /** checks, if value is lower than -feasibility tolerance */
1382  SCIP_SET* set, /**< global SCIP settings */
1383  SCIP_Real val /**< value to be compared against zero */
1384  );
1385 
1386 /** checks, if value is integral within the feasibility bounds */
1388  SCIP_SET* set, /**< global SCIP settings */
1389  SCIP_Real val /**< value to be compared against zero */
1390  );
1391 
1392 /** checks, if given fractional part is smaller than feastol */
1394  SCIP_SET* set, /**< global SCIP settings */
1395  SCIP_Real val /**< value to be compared against zero */
1396  );
1397 
1398 /** rounds value + feasibility tolerance down to the next integer */
1400  SCIP_SET* set, /**< global SCIP settings */
1401  SCIP_Real val /**< value to be compared against zero */
1402  );
1403 
1404 /** rounds value - feasibility tolerance up to the next integer */
1406  SCIP_SET* set, /**< global SCIP settings */
1407  SCIP_Real val /**< value to be compared against zero */
1408  );
1409 
1410 /** rounds value to the nearest integer in feasibility tolerance */
1412  SCIP_SET* set, /**< global SCIP settings */
1413  SCIP_Real val /**< value to be compared against zero */
1414  );
1415 
1416 /** returns fractional part of value, i.e. x - floor(x) in feasibility tolerance */
1418  SCIP_SET* set, /**< global SCIP settings */
1419  SCIP_Real val /**< value to return fractional part for */
1420  );
1421 
1422 /** checks, if relative difference of values is in range of dual feasibility tolerance */
1424  SCIP_SET* set, /**< global SCIP settings */
1425  SCIP_Real val1, /**< first value to be compared */
1426  SCIP_Real val2 /**< second value to be compared */
1427  );
1428 
1429 /** checks, if relative difference of val1 and val2 is lower than dual feasibility tolerance */
1431  SCIP_SET* set, /**< global SCIP settings */
1432  SCIP_Real val1, /**< first value to be compared */
1433  SCIP_Real val2 /**< second value to be compared */
1434  );
1435 
1436 /** checks, if relative difference of val1 and val2 is not greater than dual feasibility tolerance */
1438  SCIP_SET* set, /**< global SCIP settings */
1439  SCIP_Real val1, /**< first value to be compared */
1440  SCIP_Real val2 /**< second value to be compared */
1441  );
1442 
1443 /** checks, if relative difference of val1 and val2 is greater than dual feasibility tolerance */
1445  SCIP_SET* set, /**< global SCIP settings */
1446  SCIP_Real val1, /**< first value to be compared */
1447  SCIP_Real val2 /**< second value to be compared */
1448  );
1449 
1450 /** checks, if relative difference of val1 and val2 is not lower than -dual feasibility tolerance */
1452  SCIP_SET* set, /**< global SCIP settings */
1453  SCIP_Real val1, /**< first value to be compared */
1454  SCIP_Real val2 /**< second value to be compared */
1455  );
1456 
1457 /** checks, if value is in range dual feasibility tolerance of 0.0 */
1459  SCIP_SET* set, /**< global SCIP settings */
1460  SCIP_Real val /**< value to be compared against zero */
1461  );
1462 
1463 /** checks, if value is greater than dual feasibility tolerance */
1465  SCIP_SET* set, /**< global SCIP settings */
1466  SCIP_Real val /**< value to be compared against zero */
1467  );
1468 
1469 /** checks, if value is lower than -dual feasibility tolerance */
1471  SCIP_SET* set, /**< global SCIP settings */
1472  SCIP_Real val /**< value to be compared against zero */
1473  );
1474 
1475 /** checks, if value is integral within the dual feasibility bounds */
1477  SCIP_SET* set, /**< global SCIP settings */
1478  SCIP_Real val /**< value to be compared against zero */
1479  );
1480 
1481 /** checks, if given fractional part is smaller than dual feasibility tolerance */
1483  SCIP_SET* set, /**< global SCIP settings */
1484  SCIP_Real val /**< value to be compared against zero */
1485  );
1486 
1487 /** rounds value + dual feasibility tolerance down to the next integer */
1489  SCIP_SET* set, /**< global SCIP settings */
1490  SCIP_Real val /**< value to be compared against zero */
1491  );
1492 
1493 /** rounds value - dual feasibility tolerance up to the next integer */
1495  SCIP_SET* set, /**< global SCIP settings */
1496  SCIP_Real val /**< value to be compared against zero */
1497  );
1498 
1499 /** rounds value to the nearest integer in dual feasibility tolerance */
1501  SCIP_SET* set, /**< global SCIP settings */
1502  SCIP_Real val /**< value to be compared against zero */
1503  );
1504 
1505 /** returns fractional part of value, i.e. x - floor(x) in dual feasibility tolerance */
1507  SCIP_SET* set, /**< global SCIP settings */
1508  SCIP_Real val /**< value to return fractional part for */
1509  );
1510 
1511 /** checks, if the given new lower bound is at least min(oldub - oldlb, |oldlb|) times the bound
1512  * strengthening epsilon better than the old one or the change in the lower bound would fix the
1513  * sign of the variable
1514  */
1516  SCIP_SET* set, /**< global SCIP settings */
1517  SCIP_Real newlb, /**< new lower bound */
1518  SCIP_Real oldlb, /**< old lower bound */
1519  SCIP_Real oldub /**< old upper bound */
1520  );
1521 
1522 /** checks, if the given new upper bound is at least min(oldub - oldlb, |oldub|) times the bound
1523  * strengthening epsilon better than the old one or the change in the upper bound would fix the
1524  * sign of the variable
1525  */
1527  SCIP_SET* set, /**< global SCIP settings */
1528  SCIP_Real newub, /**< new upper bound */
1529  SCIP_Real oldlb, /**< old lower bound */
1530  SCIP_Real oldub /**< old upper bound */
1531  );
1532 
1533 /** checks, if the given cut's efficacy is larger than the minimal cut efficacy */
1535  SCIP_SET* set, /**< global SCIP settings */
1536  SCIP_Bool root, /**< should the root's minimal cut efficacy be used? */
1537  SCIP_Real efficacy /**< efficacy of the cut */
1538  );
1539 
1540 /** checks, if relative difference of values is in range of epsilon */
1542  SCIP_SET* set, /**< global SCIP settings */
1543  SCIP_Real val1, /**< first value to be compared */
1544  SCIP_Real val2 /**< second value to be compared */
1545  );
1546 
1547 /** checks, if relative difference of val1 and val2 is lower than epsilon */
1549  SCIP_SET* set, /**< global SCIP settings */
1550  SCIP_Real val1, /**< first value to be compared */
1551  SCIP_Real val2 /**< second value to be compared */
1552  );
1553 
1554 /** checks, if relative difference of val1 and val2 is not greater than epsilon */
1556  SCIP_SET* set, /**< global SCIP settings */
1557  SCIP_Real val1, /**< first value to be compared */
1558  SCIP_Real val2 /**< second value to be compared */
1559  );
1560 
1561 /** checks, if relative difference of val1 and val2 is greater than epsilon */
1563  SCIP_SET* set, /**< global SCIP settings */
1564  SCIP_Real val1, /**< first value to be compared */
1565  SCIP_Real val2 /**< second value to be compared */
1566  );
1567 
1568 /** checks, if relative difference of val1 and val2 is not lower than -epsilon */
1570  SCIP_SET* set, /**< global SCIP settings */
1571  SCIP_Real val1, /**< first value to be compared */
1572  SCIP_Real val2 /**< second value to be compared */
1573  );
1574 
1575 /** checks, if relative difference of values is in range of sumepsilon */
1577  SCIP_SET* set, /**< global SCIP settings */
1578  SCIP_Real val1, /**< first value to be compared */
1579  SCIP_Real val2 /**< second value to be compared */
1580  );
1581 
1582 /** checks, if relative difference of val1 and val2 is lower than sumepsilon */
1584  SCIP_SET* set, /**< global SCIP settings */
1585  SCIP_Real val1, /**< first value to be compared */
1586  SCIP_Real val2 /**< second value to be compared */
1587  );
1588 
1589 /** checks, if relative difference of val1 and val2 is not greater than sumepsilon */
1591  SCIP_SET* set, /**< global SCIP settings */
1592  SCIP_Real val1, /**< first value to be compared */
1593  SCIP_Real val2 /**< second value to be compared */
1594  );
1595 
1596 /** checks, if relative difference of val1 and val2 is greater than sumepsilon */
1598  SCIP_SET* set, /**< global SCIP settings */
1599  SCIP_Real val1, /**< first value to be compared */
1600  SCIP_Real val2 /**< second value to be compared */
1601  );
1602 
1603 /** checks, if relative difference of val1 and val2 is not lower than -sumepsilon */
1605  SCIP_SET* set, /**< global SCIP settings */
1606  SCIP_Real val1, /**< first value to be compared */
1607  SCIP_Real val2 /**< second value to be compared */
1608  );
1609 
1610 /** returns the flag indicating whether sub-SCIPs that could cause recursion have been deactivated */
1612  SCIP_SET* set /**< global SCIP settings */
1613  );
1614 
1615 
1616 #ifdef NDEBUG
1617 
1618 /* In optimized mode, the function calls are overwritten by defines to reduce the number of function calls and
1619  * speed up the algorithms.
1620  */
1621 
1622 #define SCIPsetInfinity(set) ( (set)->num_infinity )
1623 #define SCIPsetGetHugeValue(set) ( (set)->num_hugeval )
1624 #define SCIPsetEpsilon(set) ( (set)->num_epsilon )
1625 #define SCIPsetSumepsilon(set) ( (set)->num_sumepsilon )
1626 #define SCIPsetFeastol(set) ( (set)->num_feastol )
1627 #define SCIPsetLPFeastolFactor(set) ( (set)->num_lpfeastolfactor )
1628 #define SCIPsetDualfeastol(set) ( (set)->num_dualfeastol )
1629 #define SCIPsetBarrierconvtol(set) ( (set)->num_barrierconvtol )
1630 #define SCIPsetPseudocosteps(set) ( (set)->num_pseudocosteps )
1631 #define SCIPsetPseudocostdelta(set) ( (set)->num_pseudocostdelta )
1632 #define SCIPsetRelaxfeastol(set) ( (set)->num_relaxfeastol )
1633 #define SCIPsetCutoffbounddelta(set) ( MIN(100.0 * SCIPsetFeastol(set), 0.0001) )
1634 #define SCIPsetRecompfac(set) ( (set)->num_recompfac )
1635 #define SCIPsetIsEQ(set, val1, val2) ( EPSEQ(val1, val2, (set)->num_epsilon) )
1636 #define SCIPsetIsLT(set, val1, val2) ( EPSLT(val1, val2, (set)->num_epsilon) )
1637 #define SCIPsetIsLE(set, val1, val2) ( EPSLE(val1, val2, (set)->num_epsilon) )
1638 #define SCIPsetIsGT(set, val1, val2) ( EPSGT(val1, val2, (set)->num_epsilon) )
1639 #define SCIPsetIsGE(set, val1, val2) ( EPSGE(val1, val2, (set)->num_epsilon) )
1640 #define SCIPsetIsInfinity(set, val) ( (val) >= (set)->num_infinity )
1641 #define SCIPsetIsHugeValue(set, val) ( (val) >= (set)->num_hugeval )
1642 #define SCIPsetIsZero(set, val) ( EPSZ(val, (set)->num_epsilon) )
1643 #define SCIPsetIsPositive(set, val) ( EPSP(val, (set)->num_epsilon) )
1644 #define SCIPsetIsNegative(set, val) ( EPSN(val, (set)->num_epsilon) )
1645 #define SCIPsetIsIntegral(set, val) ( EPSISINT(val, (set)->num_epsilon) )
1646 #define SCIPsetIsScalingIntegral(set, val, scalar) \
1647  ( EPSISINT((scalar)*(val), MAX(REALABS(scalar), 1.0)*(set)->num_epsilon) )
1648 #define SCIPsetIsFracIntegral(set, val) ( !EPSP(val, (set)->num_epsilon) )
1649 #define SCIPsetFloor(set, val) ( EPSFLOOR(val, (set)->num_epsilon) )
1650 #define SCIPsetCeil(set, val) ( EPSCEIL(val, (set)->num_epsilon) )
1651 #define SCIPsetRound(set, val) ( EPSROUND(val, (set)->num_epsilon) )
1652 #define SCIPsetFrac(set, val) ( EPSFRAC(val, (set)->num_epsilon) )
1653 
1654 #define SCIPsetIsSumEQ(set, val1, val2) ( EPSEQ(val1, val2, (set)->num_sumepsilon) )
1655 #define SCIPsetIsSumLT(set, val1, val2) ( EPSLT(val1, val2, (set)->num_sumepsilon) )
1656 #define SCIPsetIsSumLE(set, val1, val2) ( EPSLE(val1, val2, (set)->num_sumepsilon) )
1657 #define SCIPsetIsSumGT(set, val1, val2) ( EPSGT(val1, val2, (set)->num_sumepsilon) )
1658 #define SCIPsetIsSumGE(set, val1, val2) ( EPSGE(val1, val2, (set)->num_sumepsilon) )
1659 #define SCIPsetIsSumZero(set, val) ( EPSZ(val, (set)->num_sumepsilon) )
1660 #define SCIPsetIsSumPositive(set, val) ( EPSP(val, (set)->num_sumepsilon) )
1661 #define SCIPsetIsSumNegative(set, val) ( EPSN(val, (set)->num_sumepsilon) )
1662 #define SCIPsetSumFloor(set, val) ( EPSFLOOR(val, (set)->num_sumepsilon) )
1663 #define SCIPsetSumCeil(set, val) ( EPSCEIL(val, (set)->num_sumepsilon) )
1664 #define SCIPsetSumRound(set, val) ( EPSROUND(val, (set)->num_sumepsilon) )
1665 #define SCIPsetSumFrac(set, val) ( EPSFRAC(val, (set)->num_sumepsilon) )
1666 
1667 #define SCIPsetIsFeasEQ(set, val1, val2) ( EPSZ(SCIPrelDiff(val1, val2), (set)->num_feastol) )
1668 #define SCIPsetIsFeasLT(set, val1, val2) ( EPSN(SCIPrelDiff(val1, val2), (set)->num_feastol) )
1669 #define SCIPsetIsFeasLE(set, val1, val2) ( !EPSP(SCIPrelDiff(val1, val2), (set)->num_feastol) )
1670 #define SCIPsetIsFeasGT(set, val1, val2) ( EPSP(SCIPrelDiff(val1, val2), (set)->num_feastol) )
1671 #define SCIPsetIsFeasGE(set, val1, val2) ( !EPSN(SCIPrelDiff(val1, val2), (set)->num_feastol) )
1672 #define SCIPsetIsFeasZero(set, val) ( EPSZ(val, (set)->num_feastol) )
1673 #define SCIPsetIsFeasPositive(set, val) ( EPSP(val, (set)->num_feastol) )
1674 #define SCIPsetIsFeasNegative(set, val) ( EPSN(val, (set)->num_feastol) )
1675 #define SCIPsetIsFeasIntegral(set, val) ( EPSISINT(val, (set)->num_feastol) )
1676 #define SCIPsetIsFeasFracIntegral(set, val) ( !EPSP(val, (set)->num_feastol) )
1677 #define SCIPsetFeasFloor(set, val) ( EPSFLOOR(val, (set)->num_feastol) )
1678 #define SCIPsetFeasCeil(set, val) ( EPSCEIL(val, (set)->num_feastol) )
1679 #define SCIPsetFeasRound(set, val) ( EPSROUND(val, (set)->num_feastol) )
1680 #define SCIPsetFeasFrac(set, val) ( EPSFRAC(val, (set)->num_feastol) )
1681 
1682 #define SCIPsetIsDualfeasEQ(set, val1, val2) ( EPSZ(SCIPrelDiff(val1, val2), (set)->num_dualfeastol) )
1683 #define SCIPsetIsDualfeasLT(set, val1, val2) ( EPSN(SCIPrelDiff(val1, val2), (set)->num_dualfeastol) )
1684 #define SCIPsetIsDualfeasLE(set, val1, val2) ( !EPSP(SCIPrelDiff(val1, val2), (set)->num_dualfeastol) )
1685 #define SCIPsetIsDualfeasGT(set, val1, val2) ( EPSP(SCIPrelDiff(val1, val2), (set)->num_dualfeastol) )
1686 #define SCIPsetIsDualfeasGE(set, val1, val2) ( !EPSN(SCIPrelDiff(val1, val2), (set)->num_dualfeastol) )
1687 #define SCIPsetIsDualfeasZero(set, val) ( EPSZ(val, (set)->num_dualfeastol) )
1688 #define SCIPsetIsDualfeasPositive(set, val) ( EPSP(val, (set)->num_dualfeastol) )
1689 #define SCIPsetIsDualfeasNegative(set, val) ( EPSN(val, (set)->num_dualfeastol) )
1690 #define SCIPsetIsDualfeasIntegral(set, val) ( EPSISINT(val, (set)->num_dualfeastol) )
1691 #define SCIPsetIsDualfeasFracIntegral(set, val) ( !EPSP(val, (set)->num_dualfeastol) )
1692 #define SCIPsetDualfeasFloor(set, val) ( EPSFLOOR(val, (set)->num_dualfeastol) )
1693 #define SCIPsetDualfeasCeil(set, val) ( EPSCEIL(val, (set)->num_dualfeastol) )
1694 #define SCIPsetDualfeasRound(set, val) ( EPSROUND(val, (set)->num_dualfeastol) )
1695 #define SCIPsetDualfeasFrac(set, val) ( EPSFRAC(val, (set)->num_dualfeastol) )
1696 
1697 #define SCIPsetIsLbBetter(set, newlb, oldlb, oldub) ( ((oldlb) < 0.0 && (newlb) >= 0.0) || EPSGT(newlb, oldlb, \
1698  set->num_boundstreps * MAX(MIN((oldub) - (oldlb), REALABS(oldlb)), 1e-3)) )
1699 #define SCIPsetIsUbBetter(set, newub, oldlb, oldub) ( ((oldub) > 0.0 && (newub) <= 0.0) || EPSLT(newub, oldub, \
1700  set->num_boundstreps * MAX(MIN((oldub) - (oldlb), REALABS(oldub)), 1e-3)) )
1701 #define SCIPsetIsEfficacious(set, root, efficacy) \
1702  ( root ? EPSP(efficacy, (set)->sepa_minefficacyroot) : EPSP(efficacy, (set)->sepa_minefficacy) )
1703 
1704 #define SCIPsetIsRelEQ(set, val1, val2) ( EPSZ(SCIPrelDiff(val1, val2), (set)->num_epsilon) )
1705 #define SCIPsetIsRelLT(set, val1, val2) ( EPSN(SCIPrelDiff(val1, val2), (set)->num_epsilon) )
1706 #define SCIPsetIsRelLE(set, val1, val2) ( !EPSP(SCIPrelDiff(val1, val2), (set)->num_epsilon) )
1707 #define SCIPsetIsRelGT(set, val1, val2) ( EPSP(SCIPrelDiff(val1, val2), (set)->num_epsilon) )
1708 #define SCIPsetIsRelGE(set, val1, val2) ( !EPSN(SCIPrelDiff(val1, val2), (set)->num_epsilon) )
1709 
1710 #define SCIPsetIsSumRelEQ(set, val1, val2) ( EPSZ(SCIPrelDiff(val1, val2), (set)->num_sumepsilon) )
1711 #define SCIPsetIsSumRelLT(set, val1, val2) ( EPSN(SCIPrelDiff(val1, val2), (set)->num_sumepsilon) )
1712 #define SCIPsetIsSumRelLE(set, val1, val2) ( !EPSP(SCIPrelDiff(val1, val2), (set)->num_sumepsilon) )
1713 #define SCIPsetIsSumRelGT(set, val1, val2) ( EPSP(SCIPrelDiff(val1, val2), (set)->num_sumepsilon) )
1714 #define SCIPsetIsSumRelGE(set, val1, val2) ( !EPSN(SCIPrelDiff(val1, val2), (set)->num_sumepsilon) )
1715 #define SCIPsetIsUpdateUnreliable(set, newvalue, oldvalue) \
1716  ( (ABS(oldvalue) / MAX(ABS(newvalue), set->num_epsilon)) >= set->num_recompfac )
1717 #define SCIPsetInitializeRandomSeed(set, val) ( (val + (set)->random_randomseedshift) )
1718 
1719 #define SCIPsetGetSubscipsOff(set) ( (set)->subscipsoff )
1720 
1721 #endif
1722 
1723 #define SCIPsetAllocBuffer(set,ptr) ( (BMSallocBufferMemory((set)->buffer, (ptr)) == NULL) ? SCIP_NOMEMORY : SCIP_OKAY )
1724 #define SCIPsetAllocBufferSize(set,ptr,size) ( (BMSallocBufferMemorySize((set)->buffer, (ptr), (size)) == NULL) ? SCIP_NOMEMORY : SCIP_OKAY )
1725 #define SCIPsetAllocBufferArray(set,ptr,num) ( (BMSallocBufferMemoryArray((set)->buffer, (ptr), (num)) == NULL) ? SCIP_NOMEMORY : SCIP_OKAY )
1726 #define SCIPsetDuplicateBufferSize(set,ptr,source,size) ( (BMSduplicateBufferMemory((set)->buffer, (ptr), (source), (size)) == NULL) ? SCIP_NOMEMORY : SCIP_OKAY )
1727 #define SCIPsetDuplicateBufferArray(set,ptr,source,num) ( (BMSduplicateBufferMemoryArray((set)->buffer, (ptr), (source), (num)) == NULL) ? SCIP_NOMEMORY : SCIP_OKAY )
1728 #define SCIPsetReallocBufferSize(set,ptr,size) ( (BMSreallocBufferMemorySize((set)->buffer, (ptr), (size)) == NULL) ? SCIP_NOMEMORY : SCIP_OKAY )
1729 #define SCIPsetReallocBufferArray(set,ptr,num) ( (BMSreallocBufferMemoryArray((set)->buffer, (ptr), (num)) == NULL) ? SCIP_NOMEMORY : SCIP_OKAY )
1730 #define SCIPsetFreeBuffer(set,ptr) BMSfreeBufferMemory((set)->buffer, (ptr))
1731 #define SCIPsetFreeBufferSize(set,ptr) BMSfreeBufferMemorySize((set)->buffer, (ptr))
1732 #define SCIPsetFreeBufferArray(set,ptr) BMSfreeBufferMemoryArray((set)->buffer, (ptr))
1733 
1734 #define SCIPsetAllocCleanBuffer(set,ptr) ( (BMSallocBufferMemory((set)->cleanbuffer, (ptr)) == NULL) ? SCIP_NOMEMORY : SCIP_OKAY )
1735 #define SCIPsetAllocCleanBufferSize(set,ptr,size) ( (BMSallocBufferMemorySize((set)->cleanbuffer, (ptr), (size)) == NULL) ? SCIP_NOMEMORY : SCIP_OKAY )
1736 #define SCIPsetAllocCleanBufferArray(set,ptr,num) ( (BMSallocBufferMemoryArray((set)->cleanbuffer, (ptr), (num)) == NULL) ? SCIP_NOMEMORY : SCIP_OKAY )
1737 #define SCIPsetFreeCleanBuffer(set,ptr) BMSfreeBufferMemory((set)->cleanbuffer, (ptr))
1738 #define SCIPsetFreeCleanBufferSize(set,ptr) BMSfreeBufferMemorySize((set)->cleanbuffer, (ptr))
1739 #define SCIPsetFreeCleanBufferArray(set,ptr) BMSfreeBufferMemoryArray((set)->cleanbuffer, (ptr))
1740 
1741 /* if we have a C99 compiler */
1742 #ifdef SCIP_HAVE_VARIADIC_MACROS
1743 
1744 /** prints a debugging message if SCIP_DEBUG flag is set */
1745 #ifdef SCIP_DEBUG
1746 #define SCIPsetDebugMsg(set, ...) SCIPsetPrintDebugMessage(set, __FILE__, __LINE__, __VA_ARGS__)
1747 #define SCIPsetDebugMsgPrint(set, ...) SCIPsetDebugMessagePrint(set, __VA_ARGS__)
1748 #else
1749 #define SCIPsetDebugMsg(set, ...) while ( FALSE ) SCIPsetPrintDebugMessage(set, __FILE__, __LINE__, __VA_ARGS__)
1750 #define SCIPsetDebugMsgPrint(set, ...) while ( FALSE ) SCIPsetDebugMessagePrint(set, __VA_ARGS__)
1751 #endif
1752 
1753 #else
1754 /* if we do not have a C99 compiler, use a workaround that prints a message, but not the file and linenumber */
1755 
1756 /** prints a debugging message if SCIP_DEBUG flag is set */
1757 #ifdef SCIP_DEBUG
1758 #define SCIPsetDebugMsg printf("debug: "), SCIPsetDebugMessagePrint
1759 #define SCIPsetDebugMsgPrint printf("debug: "), SCIPsetDebugMessagePrint
1760 #else
1761 #define SCIPsetDebugMsg while ( FALSE ) SCIPsetDebugMsgPrint
1762 #define SCIPsetDebugMsgPrint while ( FALSE ) SCIPsetDebugMessagePrint
1763 #endif
1764 
1765 #endif
1766 
1767 
1768 /** prints a debug message */
1769 #ifdef __GNUC__
1770 __attribute__((format(printf, 4, 5)))
1771 #endif
1772 SCIP_EXPORT
1774  SCIP_SET* set, /**< global SCIP settings */
1775  const char* sourcefile, /**< name of the source file that called the function */
1776  int sourceline, /**< line in the source file where the function was called */
1777  const char* formatstr, /**< format string like in printf() function */
1778  ... /**< format arguments line in printf() function */
1779  );
1780 
1781 /** prints a debug message without precode */
1782 #ifdef __GNUC__
1783 __attribute__((format(printf, 2, 3)))
1784 #endif
1785 SCIP_EXPORT
1787  SCIP_SET* set, /**< global SCIP settings */
1788  const char* formatstr, /**< format string like in printf() function */
1789  ... /**< format arguments line in printf() function */
1790  );
1791 
1792 
1793 #ifdef __cplusplus
1794 }
1795 #endif
1796 
1797 #endif
int SCIPsetCalcTreeGrowSize(SCIP_SET *set, int num)
Definition: set.c:5794
SCIP_Real SCIPsetBarrierconvtol(SCIP_SET *set)
Definition: set.c:6141
SCIP_Bool SCIPsetIsSumEQ(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6437
SCIP_NODESEL * SCIPsetFindNodesel(SCIP_SET *set, const char *name)
Definition: set.c:4824
SCIP_Bool SCIPsetGetSubscipsOff(SCIP_SET *set)
Definition: set.c:7303
SCIP_RETCODE SCIPsetIncludeCompr(SCIP_SET *set, SCIP_COMPR *compr)
Definition: set.c:4676
SCIP_RETCODE SCIPsetWriteParams(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *filename, SCIP_Bool comments, SCIP_Bool onlychanged)
Definition: set.c:3527
SCIP_EXPRHDLR * SCIPsetFindExprhdlr(SCIP_SET *set, const char *name)
Definition: set.c:5131
void SCIPsetSortRelaxs(SCIP_SET *set)
Definition: set.c:4217
SCIP_RETCODE SCIPsetIncludeDialog(SCIP_SET *set, SCIP_DIALOG *dialog)
Definition: set.c:5053
int SCIPsetGetSepaMaxcuts(SCIP_SET *set, SCIP_Bool root)
Definition: set.c:5924
SCIP_RETCODE SCIPsetGetBoolParam(SCIP_SET *set, const char *name, SCIP_Bool *value)
Definition: set.c:3159
SCIP_RETCODE SCIPsetIncludeReader(SCIP_SET *set, SCIP_READER *reader)
Definition: set.c:3679
SCIP_Real SCIPsetGetSepaMaxCoefRatioRowprep(SCIP_SET *set)
Definition: set.c:5938
SCIP_Bool SCIPsetIsLbBetter(SCIP_SET *set, SCIP_Real newlb, SCIP_Real oldlb, SCIP_Real oldub)
Definition: set.c:7029
SCIP_Bool SCIPsetIsFeasFracIntegral(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6758
SCIP_Real SCIPsetSumFrac(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6593
SCIP_Bool SCIPsetIsSumRelLE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:7237
SCIP_Real SCIPsetFeasFloor(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6771
void SCIPsetSortComprs(SCIP_SET *set)
Definition: set.c:4720
SCIP_Real SCIPsetSumFloor(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6560
SCIP_Bool SCIPsetIsSumRelGE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:7281
int SCIPsetGetPriceMaxvars(SCIP_SET *set, SCIP_Bool root)
Definition: set.c:5910
SCIP_Real SCIPsetCeil(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6404
SCIP_Bool SCIPsetIsUpdateUnreliable(SCIP_SET *set, SCIP_Real newvalue, SCIP_Real oldvalue)
Definition: set.c:7323
struct SCIP_ParamData SCIP_PARAMDATA
Definition: type_paramset.h:78
void SCIPsetSortRelaxsName(SCIP_SET *set)
Definition: set.c:4232
SCIP_RETCODE SCIPsetResetParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name)
Definition: set.c:3543
void SCIPsetSortPresolsName(SCIP_SET *set)
Definition: set.c:4158
SCIP_RETCODE SCIPsetSetLongintParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Longint value)
Definition: set.c:3384
SCIP_Bool SCIPsetIsFeasLT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6626
SCIP_RETCODE SCIPsetGetIntParam(SCIP_SET *set, const char *name, int *value)
Definition: set.c:3173
SCIP_Bool SCIPsetIsSumRelLT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:7215
SCIP_RETCODE SCIPsetSetPresolving(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
Definition: set.c:3628
SCIP_Bool SCIPsetIsEfficacious(SCIP_SET *set, SCIP_Bool root, SCIP_Real efficacy)
Definition: set.c:7068
SCIP_Bool SCIPsetIsUbBetter(SCIP_SET *set, SCIP_Real newub, SCIP_Real oldlb, SCIP_Real oldub)
Definition: set.c:7050
SCIP_Bool SCIPsetIsRelLE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:7127
SCIP_RETCODE SCIPsetInitprePlugins(SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat)
Definition: set.c:5499
SCIP_Bool SCIPsetIsHugeValue(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6217
SCIP_RETCODE SCIPsetCopyPlugins(SCIP_SET *sourceset, SCIP_SET *targetset, SCIP_Bool copyreaders, SCIP_Bool copypricers, SCIP_Bool copyconshdlrs, SCIP_Bool copyconflicthdlrs, SCIP_Bool copypresolvers, SCIP_Bool copyrelaxators, SCIP_Bool copyseparators, SCIP_Bool copycutselectors, SCIP_Bool copypropagators, SCIP_Bool copyheuristics, SCIP_Bool copyeventhdlrs, SCIP_Bool copynodeselectors, SCIP_Bool copybranchrules, SCIP_Bool copydisplays, SCIP_Bool copydialogs, SCIP_Bool copytables, SCIP_Bool copyexprhdlrs, SCIP_Bool copynlpis, SCIP_Bool *allvalid)
Definition: set.c:927
SCIP_STAGE SCIPsetGetStage(SCIP_SET *set)
Definition: set.c:2988
void SCIPsetSortBendersName(SCIP_SET *set)
Definition: set.c:3852
SCIP_READER * SCIPsetFindReader(SCIP_SET *set, const char *name)
Definition: set.c:3701
SCIP_Real SCIPsetSumCeil(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6571
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
SCIP_Bool SCIPsetIsDualfeasFracIntegral(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6969
SCIP_Bool SCIPsetIsSumNegative(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6549
SCIP_Bool SCIPsetIsGE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6300
SCIP_RETCODE SCIPsetSetSeparating(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
Definition: set.c:3646
SCIP_Bool SCIPsetIsRelGT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:7149
SCIP_DISP * SCIPsetFindDisp(SCIP_SET *set, const char *name)
Definition: set.c:4988
type definitions for global SCIP settings
SCIP_Bool SCIPsetIsEQ(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6228
enum SCIP_VerbLevel SCIP_VERBLEVEL
Definition: type_message.h:48
void SCIPsetSortProps(SCIP_SET *set)
Definition: set.c:4426
SCIP_RETCODE SCIPsetSetIntParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, int value)
Definition: set.c:3332
SCIP_Real SCIPsetGetReferencevalue(SCIP_SET *set)
Definition: set.c:5952
SCIP_RETCODE SCIPsetAddBoolParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
Definition: set.c:2998
void SCIPsetSetLimitChanged(SCIP_SET *set)
Definition: set.c:5900
SCIP_CUTSEL * SCIPsetFindCutsel(SCIP_SET *set, const char *name)
Definition: set.c:4345
void SCIPsetSortBenders(SCIP_SET *set)
Definition: set.c:3837
SCIP_RETCODE SCIPsetSetDefaultIntParam(SCIP_SET *set, const char *name, int defaultvalue)
Definition: set.c:3347
SCIP_Bool SCIPsetIsLE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6264
SCIP_RETCODE SCIPsetAddLongintParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Longint *valueptr, SCIP_Bool isadvanced, SCIP_Longint defaultvalue, SCIP_Longint minvalue, SCIP_Longint maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
Definition: set.c:3044
type definitions for presolvers
SCIP_RETCODE SCIPsetSetVerbLevel(SCIP_SET *set, SCIP_VERBLEVEL verblevel)
Definition: set.c:5812
SCIP_RETCODE SCIPsetExitsolPlugins(SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat, SCIP_Bool restart)
Definition: set.c:5684
SCIP_Real SCIPsetInfinity(SCIP_SET *set)
Definition: set.c:6071
SCIP_RETCODE SCIPsetSetEmphasis(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMEMPHASIS paramemphasis, SCIP_Bool quiet)
Definition: set.c:3578
SCIP_RETCODE SCIPsetIncludeTable(SCIP_SET *set, SCIP_TABLE *table)
Definition: set.c:5008
SCIP_RETCODE SCIPsetSetBarrierconvtol(SCIP_SET *set, SCIP_Real barrierconvtol)
Definition: set.c:5865
SCIP_Real SCIPsetDualfeastol(SCIP_SET *set)
Definition: set.c:6123
void SCIPsetEnableOrDisablePluginClocks(SCIP_SET *set, SCIP_Bool enabled)
Definition: set.c:864
SCIP_Bool SCIPsetIsDualfeasEQ(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6815
void SCIPsetSortPresols(SCIP_SET *set)
Definition: set.c:4143
type definitions for branching rules
type definitions for problem statistics
SCIP_PROP * SCIPsetFindProp(SCIP_SET *set, const char *name)
Definition: set.c:4406
SCIP_RETCODE SCIPsetExitPlugins(SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat)
Definition: set.c:5387
enum SCIP_ParamSetting SCIP_PARAMSETTING
Definition: type_paramset.h:56
SCIP_RETCODE SCIPsetResetParams(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
Definition: set.c:3555
SCIP_Bool SCIPsetIsRelLT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:7105
void SCIPsetSortBranchrulesName(SCIP_SET *set)
Definition: set.c:4941
SCIP_Bool SCIPsetIsDualfeasPositive(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6936
SCIP_RETCODE SCIPsetSetDefaultBoolParam(SCIP_SET *set, const char *name, SCIP_Bool defaultvalue)
Definition: set.c:3294
SCIP_DEBUGSOLDATA * SCIPsetGetDebugSolData(SCIP_SET *set)
Definition: set.c:5963
struct SCIP_DebugSolData SCIP_DEBUGSOLDATA
Definition: debug.h:50
SCIP_SEPA * SCIPsetFindSepa(SCIP_SET *set, const char *name)
Definition: set.c:4271
SCIP_Bool SCIPsetIsFeasLE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6648
SCIP_Bool SCIPsetIsZero(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6318
SCIP_Bool SCIPsetIsFeasZero(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6714
void SCIPsetSortSepas(SCIP_SET *set)
Definition: set.c:4291
SCIP_BENDERS * SCIPsetFindBenders(SCIP_SET *set, const char *name)
Definition: set.c:3817
SCIP_Bool SCIPsetIsNegative(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6340
SCIP_Bool SCIPsetIsFracIntegral(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6380
SCIP_RETCODE SCIPsetCopyParams(SCIP_SET *sourceset, SCIP_SET *targetset, SCIP_MESSAGEHDLR *messagehdlr)
Definition: set.c:1153
SCIP_RETCODE SCIPsetIncludePresol(SCIP_SET *set, SCIP_PRESOL *presol)
Definition: set.c:4100
type definitions for variable pricers
SCIP_RETCODE SCIPsetGetRealParam(SCIP_SET *set, const char *name, SCIP_Real *value)
Definition: set.c:3201
SCIP_Bool SCIPsetIsFeasPositive(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6725
type definitions for primal heuristics
SCIP_Real SCIPsetFeastol(SCIP_SET *set)
Definition: set.c:6113
SCIP_RETCODE SCIPsetIncludeRelax(SCIP_SET *set, SCIP_RELAX *relax)
Definition: set.c:4173
SCIP_RETCODE SCIPsetIncludeExprhdlr(SCIP_SET *set, SCIP_EXPRHDLR *exprhdlr)
Definition: set.c:5097
SCIP_Real SCIPsetGetHugeValue(SCIP_SET *set)
Definition: set.c:6083
type definitions for SCIP&#39;s main datastructure
SCIP_Bool SCIPsetIsSumPositive(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6538
SCIP_Real SCIPsetPseudocosteps(SCIP_SET *set)
Definition: set.c:6151
SCIP_RETCODE SCIPsetIncludeBenders(SCIP_SET *set, SCIP_BENDERS *benders)
Definition: set.c:3794
SCIP_RETCODE SCIPsetSetHeuristics(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
Definition: set.c:3610
SCIP_Real SCIPsetDualfeasFrac(SCIP_SET *set, SCIP_Real val)
Definition: set.c:7015
SCIP_BRANCHRULE * SCIPsetFindBranchrule(SCIP_SET *set, const char *name)
Definition: set.c:4906
SCIP_Real SCIPsetRound(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6415
void SCIPsetSortExprhdlrs(SCIP_SET *set)
Definition: set.c:5149
SCIP_Bool SCIPsetIsDualfeasLT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6837
void SCIPsetPrintDebugMessage(SCIP_SET *set, const char *sourcefile, int sourceline, const char *formatstr,...)
Definition: set.c:7339
void SCIPsetSortConflicthdlrsName(SCIP_SET *set)
Definition: set.c:4085
#define SCIP_DECL_PARAMCHGD(x)
Definition: type_paramset.h:93
SCIP_EVENTHDLR * SCIPsetFindEventhdlr(SCIP_SET *set, const char *name)
Definition: set.c:4773
SCIP_PRICER * SCIPsetFindPricer(SCIP_SET *set, const char *name)
Definition: set.c:3744
SCIP_RETCODE SCIPsetChgParamFixed(SCIP_SET *set, const char *name, SCIP_Bool fixed)
Definition: set.c:3243
type definitions for bandit selection algorithms
void SCIPsetSortConflicthdlrs(SCIP_SET *set)
Definition: set.c:4070
SCIP_RETCODE SCIPsetAddStringParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, char **valueptr, SCIP_Bool isadvanced, const char *defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
Definition: set.c:3115
void SCIPsetSortHeurs(SCIP_SET *set)
Definition: set.c:4646
SCIP_RETCODE SCIPsetIncludeDisp(SCIP_SET *set, SCIP_DISP *disp)
Definition: set.c:4956
SCIP_PRESOL * SCIPsetFindPresol(SCIP_SET *set, const char *name)
Definition: set.c:4123
SCIP_Real SCIPsetLPFeastolFactor(SCIP_SET *set)
Definition: set.c:6133
SCIP_RETCODE SCIPsetChgStringParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, const char *value)
Definition: set.c:3475
SCIP_RETCODE SCIPsetGetCharParam(SCIP_SET *set, const char *name, char *value)
Definition: set.c:3215
SCIP_RETCODE SCIPsetSetBoolParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Bool value)
Definition: set.c:3279
type definitions for relaxators
SCIP_Real SCIPsetFeasFrac(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6804
void SCIPsetSortHeursName(SCIP_SET *set)
Definition: set.c:4661
SCIP_RETCODE SCIPsetFree(SCIP_SET **set, BMS_BLKMEM *blkmem)
Definition: set.c:2793
int SCIPsetCalcMemGrowSize(SCIP_SET *set, int num)
Definition: set.c:5785
type definitions for conflict analysis
SCIP_Bool SCIPsetIsLT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6246
SCIP_Real SCIPsetSetRelaxfeastol(SCIP_SET *set, SCIP_Real relaxfeastol)
Definition: set.c:5883
type definitions for managing events
SCIP_Bool SCIPsetIsFeasIntegral(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6747
SCIP_Bool SCIPsetIsDualfeasLE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6859
SCIP_Real SCIPsetEpsilon(SCIP_SET *set)
Definition: set.c:6093
SCIP_Bool SCIPsetIsDualfeasIntegral(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6958
SCIP_Bool SCIPsetIsGT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6282
SCIP_RETCODE SCIPsetIncludeConflicthdlr(SCIP_SET *set, SCIP_CONFLICTHDLR *conflicthdlr)
Definition: set.c:4026
void SCIPsetSetPriorityNlpi(SCIP_SET *set, SCIP_NLPI *nlpi, int priority)
Definition: set.c:5220
public data structures and miscellaneous methods
#define SCIP_Bool
Definition: def.h:84
SCIP_RETCODE SCIPsetInitsolPlugins(SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat)
Definition: set.c:5575
void SCIPsetSortPropsName(SCIP_SET *set)
Definition: set.c:4456
SCIP_RETCODE SCIPsetChgCharParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, char value)
Definition: set.c:3437
SCIP_BANDITVTABLE * SCIPsetFindBanditvtable(SCIP_SET *set, const char *name)
Definition: set.c:4493
int SCIPsetGetNParams(SCIP_SET *set)
Definition: set.c:3669
SCIP_RETCODE SCIPsetChgRealParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, SCIP_Real value)
Definition: set.c:3399
SCIP_RETCODE SCIPsetIncludeBranchrule(SCIP_SET *set, SCIP_BRANCHRULE *branchrule)
Definition: set.c:4882
SCIP_RETCODE SCIPsetIncludeSepa(SCIP_SET *set, SCIP_SEPA *sepa)
Definition: set.c:4247
type definitions for input file readers
SCIP_RETCODE SCIPsetIncludeEventhdlr(SCIP_SET *set, SCIP_EVENTHDLR *eventhdlr)
Definition: set.c:4750
SCIP_CONSHDLR * SCIPsetFindConshdlr(SCIP_SET *set, const char *name)
Definition: set.c:4006
SCIP_Real SCIPsetSumRound(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6582
SCIP_TABLE * SCIPsetFindTable(SCIP_SET *set, const char *name)
Definition: set.c:5033
void SCIPsetSortBranchrules(SCIP_SET *set)
Definition: set.c:4926
SCIP_Real SCIPsetRelaxfeastol(SCIP_SET *set)
Definition: set.c:6185
SCIP_RETCODE SCIPsetSetSubscipsOff(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
Definition: set.c:3593
SCIP_RETCODE SCIPsetIncludeCutsel(SCIP_SET *set, SCIP_CUTSEL *cutsel)
Definition: set.c:4321
SCIP_RETCODE SCIPsetSetReoptimizationParams(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
Definition: set.c:806
SCIP_RELAX * SCIPsetFindRelax(SCIP_SET *set, const char *name)
Definition: set.c:4197
SCIP_CONCSOLVERTYPE * SCIPsetFindConcsolverType(SCIP_SET *set, const char *name)
Definition: set.c:4536
SCIP_Real SCIPsetDualfeasFloor(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6982
SCIP_Bool SCIPsetIsSumRelEQ(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:7193
SCIP_RETCODE SCIPsetInitPlugins(SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat)
Definition: set.c:5266
SCIP_Bool SCIPsetIsDualfeasZero(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6925
SCIP_RETCODE SCIPsetReadParams(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *filename)
Definition: set.c:3513
SCIP_RETCODE SCIPsetSetRealParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Real value)
Definition: set.c:3422
SCIP_RETCODE SCIPsetAddRealParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Real *valueptr, SCIP_Bool isadvanced, SCIP_Real defaultvalue, SCIP_Real minvalue, SCIP_Real maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
Definition: set.c:3068
SCIP_Bool SCIPsetIsSumLE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6473
type definitions for Benders&#39; decomposition methods
type definitions for clocks and timing issues
SCIP_Bool SCIPsetIsFeasNegative(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6736
SCIP_RETCODE SCIPsetIncludeConcsolver(SCIP_SET *set, SCIP_CONCSOLVER *concsolver)
Definition: set.c:4556
SCIP_Bool SCIPsetIsSumLT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6455
SCIP_RETCODE SCIPsetIncludeProp(SCIP_SET *set, SCIP_PROP *prop)
Definition: set.c:4379
SCIP_RETCODE SCIPsetAddCharParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, char *valueptr, SCIP_Bool isadvanced, char defaultvalue, const char *allowedvalues, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
Definition: set.c:3092
SCIP_PARAM ** SCIPsetGetParams(SCIP_SET *set)
Definition: set.c:3659
SCIP_Bool SCIPsetIsSumZero(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6527
SCIP_Bool SCIPsetExistsDialog(SCIP_SET *set, SCIP_DIALOG *dialog)
Definition: set.c:5075
void SCIPsetReinsertConshdlrSepaPrio(SCIP_SET *set, SCIP_CONSHDLR *conshdlr, int oldpriority)
Definition: set.c:3923
SCIP_Bool SCIPsetIsSumGE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6509
enum SCIP_ParamEmphasis SCIP_PARAMEMPHASIS
Definition: type_paramset.h:75
SCIP_Bool SCIPsetIsDualfeasNegative(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6947
void SCIPsetSortSepasName(SCIP_SET *set)
Definition: set.c:4306
SCIP_Bool SCIPsetIsDualfeasGT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6881
SCIP_RETCODE SCIPsetSetDualfeastol(SCIP_SET *set, SCIP_Real dualfeastol)
Definition: set.c:5852
SCIP_Real SCIPsetFrac(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6426
SCIP_RETCODE SCIPsetIncludePricer(SCIP_SET *set, SCIP_PRICER *pricer)
Definition: set.c:3721
int SCIPsetCalcPathGrowSize(SCIP_SET *set, int num)
Definition: set.c:5803
type definitions for propagators
SCIP_Bool SCIPsetIsFeasGT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6670
SCIP_RETCODE SCIPsetGetLongintParam(SCIP_SET *set, const char *name, SCIP_Longint *value)
Definition: set.c:3187
SCIP_Real SCIPsetRecompfac(SCIP_SET *set)
Definition: set.c:6196
SCIP_Real SCIPsetFeasCeil(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6782
unsigned int SCIPsetInitializeRandomSeed(SCIP_SET *set, unsigned int initialseedvalue)
Definition: set.c:7400
type definitions for tree compression
void SCIPsetDebugMessagePrint(SCIP_SET *set, const char *formatstr,...)
Definition: set.c:7383
SCIP_CONFLICTHDLR * SCIPsetFindConflicthdlr(SCIP_SET *set, const char *name)
Definition: set.c:4050
SCIP_RETCODE SCIPsetSetFeastol(SCIP_SET *set, SCIP_LP *lp, SCIP_Real feastol)
Definition: set.c:5831
type definitions for separators
SCIP_RETCODE SCIPsetSetStringParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, const char *value)
Definition: set.c:3498
SCIP_RETCODE SCIPsetIncludeNlpi(SCIP_SET *set, SCIP_NLPI *nlpi)
Definition: set.c:5163
SCIP_RETCODE SCIPsetIncludeBanditvtable(SCIP_SET *set, SCIP_BANDITVTABLE *banditvtable)
Definition: set.c:4471
SCIP_Bool SCIPsetIsParamFixed(SCIP_SET *set, const char *name)
Definition: set.c:3137
SCIP_RETCODE SCIPsetExitprePlugins(SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat)
Definition: set.c:5537
SCIP_Bool SCIPsetIsFeasGE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6692
SCIP_Bool SCIPsetIsRelGE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:7171
SCIP_HEUR * SCIPsetFindHeur(SCIP_SET *set, const char *name)
Definition: set.c:4626
SCIP_Bool SCIPsetIsSumGT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6491
type definitions for handling parameter settings
void SCIPsetSortNlpis(SCIP_SET *set)
Definition: set.c:5206
#define SCIP_Real
Definition: def.h:177
SCIP_Real SCIPsetFeasRound(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6793
SCIP_RETCODE SCIPsetChgBoolParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, SCIP_Bool value)
Definition: set.c:3257
enum SCIP_Stage SCIP_STAGE
Definition: type_set.h:50
SCIP_Bool SCIPsetIsDualfeasGE(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6903
SCIP_RETCODE SCIPsetGetStringParam(SCIP_SET *set, const char *name, char **value)
Definition: set.c:3229
SCIP_RETCODE SCIPsetIncludeHeur(SCIP_SET *set, SCIP_HEUR *heur)
Definition: set.c:4602
SCIP_RETCODE SCIPsetChgLongintParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, SCIP_Longint value)
Definition: set.c:3361
SCIP_Bool SCIPsetIsRelEQ(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:7083
SCIP_Real SCIPsetDualfeasCeil(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6993
#define SCIP_Longint
Definition: def.h:162
SCIP_RETCODE SCIPsetIncludeConshdlr(SCIP_SET *set, SCIP_CONSHDLR *conshdlr)
Definition: set.c:3867
void SCIPsetSortPricersName(SCIP_SET *set)
Definition: set.c:3779
SCIP_Bool SCIPsetIsFeasEQ(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:6604
SCIP_Bool SCIPsetIsScalingIntegral(SCIP_SET *set, SCIP_Real val, SCIP_Real scalar)
Definition: set.c:6362
SCIP_Bool SCIPsetIsIntegral(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6351
SCIP_RETCODE SCIPsetCreate(SCIP_SET **set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, SCIP *scip)
Definition: set.c:1170
SCIP_Bool SCIPsetIsInfinity(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6206
void SCIPsetSortComprsName(SCIP_SET *set)
Definition: set.c:4735
SCIP_Bool SCIPsetIsSumRelGT(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
Definition: set.c:7259
common defines and data types used in all packages of SCIP
struct BMS_BlkMem BMS_BLKMEM
Definition: memory.h:430
SCIP_NODESEL * SCIPsetGetNodesel(SCIP_SET *set, SCIP_STAT *stat)
Definition: set.c:4844
SCIP_RETCODE SCIPsetIncludeNodesel(SCIP_SET *set, SCIP_NODESEL *nodesel)
Definition: set.c:4793
SCIP_RETCODE SCIPsetChgIntParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, int value)
Definition: set.c:3309
SCIP_Real SCIPsetCutoffbounddelta(SCIP_SET *set)
Definition: set.c:6171
type definitions for node selectors
void SCIPsetSortCutsels(SCIP_SET *set)
Definition: set.c:4365
SCIP_PARAM * SCIPsetGetParam(SCIP_SET *set, const char *name)
Definition: set.c:3148
SCIP_NLPI * SCIPsetFindNlpi(SCIP_SET *set, const char *name)
Definition: set.c:5186
SCIP_RETCODE SCIPsetIncludeExternalCode(SCIP_SET *set, const char *name, const char *description)
Definition: set.c:5234
SCIP_RETCODE SCIPsetAddIntParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
Definition: set.c:3020
datastructures for global SCIP settings
SCIP_Real SCIPsetSumepsilon(SCIP_SET *set)
Definition: set.c:6103
void SCIPsetSortPricers(SCIP_SET *set)
Definition: set.c:3764
SCIP_Real SCIPsetDualfeasRound(SCIP_SET *set, SCIP_Real val)
Definition: set.c:7004
void SCIPsetSortPropsPresol(SCIP_SET *set)
Definition: set.c:4441
SCIP_Real SCIPsetFloor(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6393
SCIP_RETCODE SCIPsetFreeConcsolvers(SCIP_SET *set)
Definition: set.c:4580
SCIP_RETCODE SCIPsetIncludeConcsolverType(SCIP_SET *set, SCIP_CONCSOLVERTYPE *concsolvertype)
Definition: set.c:4514
type definitions for displaying statistics tables
type definitions for constraints and constraint handlers
SCIP_Real SCIPsetPseudocostdelta(SCIP_SET *set)
Definition: set.c:6161
SCIP_COMPR * SCIPsetFindCompr(SCIP_SET *set, const char *name)
Definition: set.c:4700
SCIP_RETCODE SCIPsetSetCharParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, char value)
Definition: set.c:3460
type definitions for displaying runtime statistics
memory allocation routines
SCIP_Bool SCIPsetIsPositive(SCIP_SET *set, SCIP_Real val)
Definition: set.c:6329