source: trunk/Alps/examples/Abc/AbcMessage.h @ 277

Last change on this file since 277 was 277, checked in by andreasw, 13 years ago

first working version with autotools

File size: 2.6 KB
Line 
1/*===========================================================================*
2 * This file is part of the Abstract Library for Parallel Search (ALPS).     *
3 *                                                                           *
4 * ALPS is distributed under the Common Public License as part of the        *
5 * COIN-OR repository (http://www.coin-or.org).                              *
6 *                                                                           *
7 * Authors: Yan Xu, SAS Institute Inc.                                       *
8 *          Ted Ralphs, Lehigh University                                    *
9 *          Laszlo Ladanyi, IBM T.J. Watson Research Center                  *
10 *          Matthew Saltzman, Clemson University                             *
11 *                                                                           *
12 *                                                                           *
13 * Copyright (C) 2001-2004, International Business Machines                  *
14 * Corporation, Lehigh University, Yan Xu, Ted Ralphs, Matthew Salzman and   *
15 * others. All Rights Reserved.                                              *
16 *===========================================================================*/
17
18#ifndef AbcMessage_H_
19#define AbcMessage_H_
20
21//#############################################################################
22// This file is modified from SbbMessage.hpp
23//#############################################################################
24
25#if defined(_MSC_VER)
26// Turn off compiler warning about long names
27#  pragma warning(disable:4786)
28#endif
29
30/** This deals with Abc messages (as against Clp messages etc).
31    CoinMessageHandler.hpp is the general part of message handling.
32    All it has are enum's for the various messages.
33    AbcMessage.cpp has text in various languages.
34   
35    It is trivial to use the .hpp and .cpp file as a basis for
36    messages for other components.
37 */
38
39#include "CoinMessageHandler.hpp"
40
41enum ABC_Message
42{
43  ABC_END_GOOD,
44  ABC_MAXNODES,
45  ABC_MAXTIME,
46  ABC_MAXSOLS,
47  ABC_SOLUTION,
48  ABC_END,
49  ABC_INFEAS,
50  ABC_STRONG,
51  ABC_SOLINDIVIDUAL,
52  ABC_INTEGERINCREMENT,
53  ABC_STATUS,
54  ABC_GAP,
55  ABC_ROUNDING,
56  ABC_ROOT,
57  ABC_GENERATOR,
58  ABC_BRANCH,
59  ABC_STRONGSOL,
60  ABC_NOINT,
61  ABC_VUB_PASS,
62  ABC_VUB_END,
63  ABC_NOTFEAS1,
64  ABC_NOTFEAS2,
65  ABC_NOTFEAS3,
66  ABC_CUTOFF_WARNING1,
67  ABC_CUTS,
68  ABC_BRANCHSOL,
69  ABC_DUMMY_END
70};
71
72class AbcMessage : public CoinMessages {
73
74public:
75
76  /**@name Constructors etc */
77  //@{
78  /** Constructor */
79  AbcMessage(Language language=us_en);
80  //@}
81
82};
83
84#endif
Note: See TracBrowser for help on using the repository browser.