summaryrefslogtreecommitdiff
path: root/build/Bonmin/include/coin/CbcMessage.hpp
blob: 50690cfab56cac847bdb9fd8c82d858af4832584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/* $Id: CbcMessage.hpp 1791 2012-06-08 15:15:10Z stefan $ */
// Copyright (C) 2002, International Business Machines
// Corporation and others.  All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).

#ifndef CbcMessage_H
#define CbcMessage_H

#if defined(_MSC_VER)
// Turn off compiler warning about long names
#  pragma warning(disable:4786)
#endif

/** This deals with Cbc messages (as against Clp messages etc).
    CoinMessageHandler.hpp is the general part of message handling.
    All it has are enum's for the various messages.
    CbcMessage.cpp has text in various languages.

    It is trivial to use the .hpp and .cpp file as a basis for
    messages for other components.
 */

#include "CoinMessageHandler.hpp"
enum CBC_Message {
    CBC_END_GOOD,
    CBC_MAXNODES,
    CBC_MAXTIME,
    CBC_MAXSOLS,
    CBC_EVENT,
    CBC_MAXITERS,
    CBC_SOLUTION,
    CBC_END_SOLUTION,
    CBC_SOLUTION2,
    CBC_END,
    CBC_INFEAS,
    CBC_STRONG,
    CBC_SOLINDIVIDUAL,
    CBC_INTEGERINCREMENT,
    CBC_STATUS,
    CBC_GAP,
    CBC_ROUNDING,
    CBC_TREE_SOL,
    CBC_ROOT,
    CBC_GENERATOR,
    CBC_BRANCH,
    CBC_STRONGSOL,
    CBC_NOINT,
    CBC_VUB_PASS,
    CBC_VUB_END,
    CBC_NOTFEAS1,
    CBC_NOTFEAS2,
    CBC_NOTFEAS3,
    CBC_CUTOFF_WARNING1,
    CBC_ITERATE_STRONG,
    CBC_PRIORITY,
    CBC_WARNING_STRONG,
    CBC_START_SUB,
    CBC_END_SUB,
    CBC_THREAD_STATS,
    CBC_CUTS_STATS,
    CBC_STRONG_STATS,
    CBC_UNBOUNDED,
    CBC_OTHER_STATS,
    CBC_HEURISTICS_OFF,
    CBC_STATUS2,
    CBC_FPUMP1,
    CBC_FPUMP2,
    CBC_STATUS3,
    CBC_OTHER_STATS2,
    CBC_RELAXED1,
    CBC_RELAXED2,
    CBC_RESTART,
    CBC_GENERAL,
    CBC_ROOT_DETAIL,
#ifndef NO_FATHOM_PRINT
    CBC_FATHOM_CHANGE,
#endif
    CBC_DUMMY_END
};

class CbcMessage : public CoinMessages {

public:

    /**@name Constructors etc */
    //@{
    /** Constructor */
    CbcMessage(Language language = us_en);
    //@}

};

#endif