Last change
on this file since 84 was
84,
checked in by forrest, 16 years ago
|
new message
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.3 KB
|
Line | |
---|
1 | // Copyright (C) 2002, International Business Machines |
---|
2 | // Corporation and others. All Rights Reserved. |
---|
3 | #ifndef CbcMessage_H |
---|
4 | #define CbcMessage_H |
---|
5 | |
---|
6 | #if defined(_MSC_VER) |
---|
7 | // Turn off compiler warning about long names |
---|
8 | # pragma warning(disable:4786) |
---|
9 | #endif |
---|
10 | |
---|
11 | /** This deals with Cbc messages (as against Clp messages etc). |
---|
12 | CoinMessageHandler.hpp is the general part of message handling. |
---|
13 | All it has are enum's for the various messages. |
---|
14 | CbcMessage.cpp has text in various languages. |
---|
15 | |
---|
16 | It is trivial to use the .hpp and .cpp file as a basis for |
---|
17 | messages for other components. |
---|
18 | */ |
---|
19 | |
---|
20 | #include "CoinMessageHandler.hpp" |
---|
21 | enum CBC_Message |
---|
22 | { |
---|
23 | CBC_END_GOOD, |
---|
24 | CBC_MAXNODES, |
---|
25 | CBC_MAXTIME, |
---|
26 | CBC_MAXSOLS, |
---|
27 | CBC_SOLUTION, |
---|
28 | CBC_END, |
---|
29 | CBC_INFEAS, |
---|
30 | CBC_STRONG, |
---|
31 | CBC_SOLINDIVIDUAL, |
---|
32 | CBC_INTEGERINCREMENT, |
---|
33 | CBC_STATUS, |
---|
34 | CBC_GAP, |
---|
35 | CBC_ROUNDING, |
---|
36 | CBC_TREE_SOL, |
---|
37 | CBC_ROOT, |
---|
38 | CBC_GENERATOR, |
---|
39 | CBC_BRANCH, |
---|
40 | CBC_STRONGSOL, |
---|
41 | CBC_NOINT, |
---|
42 | CBC_VUB_PASS, |
---|
43 | CBC_VUB_END, |
---|
44 | CBC_NOTFEAS1, |
---|
45 | CBC_NOTFEAS2, |
---|
46 | CBC_NOTFEAS3, |
---|
47 | CBC_CUTOFF_WARNING1, |
---|
48 | CBC_ITERATE_STRONG, |
---|
49 | CBC_PRIORITY, |
---|
50 | CBC_WARNING_STRONG, |
---|
51 | CBC_DUMMY_END |
---|
52 | }; |
---|
53 | |
---|
54 | class CbcMessage : public CoinMessages { |
---|
55 | |
---|
56 | public: |
---|
57 | |
---|
58 | /**@name Constructors etc */ |
---|
59 | //@{ |
---|
60 | /** Constructor */ |
---|
61 | CbcMessage(Language language=us_en); |
---|
62 | //@} |
---|
63 | |
---|
64 | }; |
---|
65 | |
---|
66 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.