source: stable/2.7/Cbc/src/CbcMessage.hpp @ 1995

Last change on this file since 1995 was 1790, checked in by stefan, 7 years ago

add message for saying that one stops due to an iteration limit (was printing solution limit reached before)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
RevLine 
[1271]1/* $Id: CbcMessage.hpp 1790 2012-06-08 14:59:51Z tkr $ */
[2]2// Copyright (C) 2002, International Business Machines
3// Corporation and others.  All Rights Reserved.
[1573]4// This code is licensed under the terms of the Eclipse Public License (EPL).
5
[2]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"
[1286]24enum CBC_Message {
25    CBC_END_GOOD,
26    CBC_MAXNODES,
27    CBC_MAXTIME,
28    CBC_MAXSOLS,
29    CBC_EVENT,
[1790]30    CBC_MAXITERS,
[1286]31    CBC_SOLUTION,
32    CBC_END_SOLUTION,
33    CBC_SOLUTION2,
34    CBC_END,
35    CBC_INFEAS,
36    CBC_STRONG,
37    CBC_SOLINDIVIDUAL,
38    CBC_INTEGERINCREMENT,
39    CBC_STATUS,
40    CBC_GAP,
41    CBC_ROUNDING,
42    CBC_TREE_SOL,
43    CBC_ROOT,
44    CBC_GENERATOR,
45    CBC_BRANCH,
46    CBC_STRONGSOL,
47    CBC_NOINT,
48    CBC_VUB_PASS,
49    CBC_VUB_END,
50    CBC_NOTFEAS1,
51    CBC_NOTFEAS2,
52    CBC_NOTFEAS3,
53    CBC_CUTOFF_WARNING1,
54    CBC_ITERATE_STRONG,
55    CBC_PRIORITY,
56    CBC_WARNING_STRONG,
57    CBC_START_SUB,
58    CBC_END_SUB,
59    CBC_THREAD_STATS,
60    CBC_CUTS_STATS,
61    CBC_STRONG_STATS,
62    CBC_UNBOUNDED,
63    CBC_OTHER_STATS,
64    CBC_HEURISTICS_OFF,
65    CBC_STATUS2,
66    CBC_FPUMP1,
67    CBC_FPUMP2,
68    CBC_STATUS3,
69    CBC_OTHER_STATS2,
70    CBC_RELAXED1,
71    CBC_RELAXED2,
72    CBC_RESTART,
73    CBC_GENERAL,
74    CBC_ROOT_DETAIL,
[1675]75#ifndef NO_FATHOM_PRINT
76    CBC_FATHOM_CHANGE,
77#endif
[1286]78    CBC_DUMMY_END
[2]79};
80
81class CbcMessage : public CoinMessages {
82
83public:
84
[1286]85    /**@name Constructors etc */
86    //@{
87    /** Constructor */
88    CbcMessage(Language language = us_en);
89    //@}
[2]90
91};
92
93#endif
[1432]94
Note: See TracBrowser for help on using the repository browser.