Last change
on this file since 1573 was
1573,
checked in by lou, 10 years ago
|
Change to EPL license notice.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.8 KB
|
Line | |
---|
1 | /* $Id: CbcMessage.hpp 1573 2011-01-05 01:12:36Z lou $ */ |
---|
2 | // Copyright (C) 2002, International Business Machines |
---|
3 | // Corporation and others. All Rights Reserved. |
---|
4 | // This code is licensed under the terms of the Eclipse Public License (EPL). |
---|
5 | |
---|
6 | #ifndef CbcMessage_H |
---|
7 | #define CbcMessage_H |
---|
8 | |
---|
9 | #if defined(_MSC_VER) |
---|
10 | // Turn off compiler warning about long names |
---|
11 | # pragma warning(disable:4786) |
---|
12 | #endif |
---|
13 | |
---|
14 | /** This deals with Cbc messages (as against Clp messages etc). |
---|
15 | CoinMessageHandler.hpp is the general part of message handling. |
---|
16 | All it has are enum's for the various messages. |
---|
17 | CbcMessage.cpp has text in various languages. |
---|
18 | |
---|
19 | It is trivial to use the .hpp and .cpp file as a basis for |
---|
20 | messages for other components. |
---|
21 | */ |
---|
22 | |
---|
23 | #include "CoinMessageHandler.hpp" |
---|
24 | enum CBC_Message { |
---|
25 | CBC_END_GOOD, |
---|
26 | CBC_MAXNODES, |
---|
27 | CBC_MAXTIME, |
---|
28 | CBC_MAXSOLS, |
---|
29 | CBC_EVENT, |
---|
30 | CBC_SOLUTION, |
---|
31 | CBC_END_SOLUTION, |
---|
32 | CBC_SOLUTION2, |
---|
33 | CBC_END, |
---|
34 | CBC_INFEAS, |
---|
35 | CBC_STRONG, |
---|
36 | CBC_SOLINDIVIDUAL, |
---|
37 | CBC_INTEGERINCREMENT, |
---|
38 | CBC_STATUS, |
---|
39 | CBC_GAP, |
---|
40 | CBC_ROUNDING, |
---|
41 | CBC_TREE_SOL, |
---|
42 | CBC_ROOT, |
---|
43 | CBC_GENERATOR, |
---|
44 | CBC_BRANCH, |
---|
45 | CBC_STRONGSOL, |
---|
46 | CBC_NOINT, |
---|
47 | CBC_VUB_PASS, |
---|
48 | CBC_VUB_END, |
---|
49 | CBC_NOTFEAS1, |
---|
50 | CBC_NOTFEAS2, |
---|
51 | CBC_NOTFEAS3, |
---|
52 | CBC_CUTOFF_WARNING1, |
---|
53 | CBC_ITERATE_STRONG, |
---|
54 | CBC_PRIORITY, |
---|
55 | CBC_WARNING_STRONG, |
---|
56 | CBC_START_SUB, |
---|
57 | CBC_END_SUB, |
---|
58 | CBC_THREAD_STATS, |
---|
59 | CBC_CUTS_STATS, |
---|
60 | CBC_STRONG_STATS, |
---|
61 | CBC_UNBOUNDED, |
---|
62 | CBC_OTHER_STATS, |
---|
63 | CBC_HEURISTICS_OFF, |
---|
64 | CBC_STATUS2, |
---|
65 | CBC_FPUMP1, |
---|
66 | CBC_FPUMP2, |
---|
67 | CBC_STATUS3, |
---|
68 | CBC_OTHER_STATS2, |
---|
69 | CBC_RELAXED1, |
---|
70 | CBC_RELAXED2, |
---|
71 | CBC_RESTART, |
---|
72 | CBC_GENERAL, |
---|
73 | CBC_ROOT_DETAIL, |
---|
74 | CBC_DUMMY_END |
---|
75 | }; |
---|
76 | |
---|
77 | class CbcMessage : public CoinMessages { |
---|
78 | |
---|
79 | public: |
---|
80 | |
---|
81 | /**@name Constructors etc */ |
---|
82 | //@{ |
---|
83 | /** Constructor */ |
---|
84 | CbcMessage(Language language = us_en); |
---|
85 | //@} |
---|
86 | |
---|
87 | }; |
---|
88 | |
---|
89 | #endif |
---|
90 | |
---|
Note: See
TracBrowser
for help on using the repository browser.