source: branches/gh-pages/messages.md @ 2521

Last change on this file since 2521 was 2521, checked in by stefan, 2 months ago

migrate Cbc documentation to gh-pages

  • converted docbook to markdown
  • source now in gh-pages branch, so remove Cbc/doc
  • some cleanup
  • update link in README.md
  • Property svn:eol-style set to native
File size: 4.4 KB
Line 
1# Messages
2
3Messages and codes passed by CBC are listed in the tables below. For a
4complete list, see `Cbc/src/CbcMessages.cpp`. The notation used is the
5same as for the `printf` in the C programming language.
6
7  - `%s` is a string
8  - `%d` is an integer
9  - `%g` or `%f` is a floating point value
10
11There are several log levels. Setting the log level to be `i` produces
12the log messages for level `i` and all levels less than `i`.
13
14  - Logging Level 0: Switches off all CBC messages, but one.
15  - Logging Level 1: The default.
16  - Logging Level 2: Substantial amount of information, e.g., message 15
17    is generated once per node. Can be useful when the evaluation at
18    each node is slow.
19  - Logging Level 3: Tremendous amount of information, e.g., multiple
20    messages per node.
21
22CBC Messages Passed At Logging Level 0:
23
24| Code |  | Text and notes                         |
25| ---- |  | -------------------------------------- |
26| 3007 |  | `No integer variables - nothing to do` |
27
28CBC Messages Passed At or Above Logging Level 1:
29
30| Code |  | Text and notes                                                                                           |
31| ---- |  | ---------------------------------------------------------------------------------------------------------|
32| 1    |  | `Search completed - best objective %g, took %d iterations and %d nodes`                                  |
33| 3    |  | `Exiting on maximum nodes`                                                                               |
34| 4    |  | `Integer solution of %g found after %d iterations and %d nodes`                                          |
35| 5    |  | `Partial search - best objective %g (best possible %g), took %d iterations and %d nodes`                 |
36| 6    |  | `The LP relaxation is infeasible or too expensive`                                                       |
37| 9    |  | `Objective coefficients multiple of %g`                                                                  |
38| 10   |  | `After %d nodes, %d on tree, %g best solution, best possible %g`                                         |
39| 11   |  | `Exiting as integer gap of %g less than %g or %g%%`                                                      |
40| 12   |  | `Integer solution of %g found by heuristic after %d iterations and %d nodes`                             |
41| 13   |  | `At root node, %d cuts changed objective from %g to %g in %d passes`                                     |
42| 14   |  | `Cut generator %d (%s) - %d row cuts (%d active), %d column cuts %? in %g seconds - new frequency is %d` |
43| 16   |  | `Integer solution of %g found by strong branching after %d iterations and %d nodes`                      |
44| 17   |  | `%d solved, %d variables fixed, %d tightened`                                                            |
45| 18   |  | `After tightenVubs, %d variables fixed, %d tightened`                                                    |
46| 19   |  | `Exiting on maximum solutions`                                                                           |
47| 20   |  | `Exiting on maximum time`                                                                                |
48| 23   |  | `Cutoff set to %g - equivalent to best solution of %g`                                                   |
49| 24   |  | `Integer solution of %g found by subtree after %d iterations and %d nodes`                               |
50| 26   |  | `Setting priorities for objects %d to %d inclusive (out of %d)`                                          |
51| 3008 |  | `Strong branching is fixing too many variables, too expensively!`                                        |
52
53CBC Messages Passed At or Above Logging Level 2:
54
55| Code |  | Text and notes                                                   |
56| ---- |  | -----------------------------------------------------------------|
57| 15   |  | `Node %d Obj %g Unsat %d depth %d`                               |
58| 21   |  | `On closer inspection node is infeasible`                        |
59| 22   |  | `On closer inspection objective value of %g above cutoff of %g`  |
60| 23   |  | `Allowing solution, even though largest row infeasibility is %g` |
61
62CBC Messages Passed At or Above Logging Level 3:
63
64| Code |  | Text and notes                                                  |
65| ---- |  | ----------------------------------------------------------------|
66| 7    |  | `Strong branching on %d (%d), down %g (%d) up %g (%d) value %g` |
67| 25   |  | `%d cleanup iterations before strong branching`                 |
Note: See TracBrowser for help on using the repository browser.