- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

AlpsMessage.h
Go to the documentation of this file.
1 /*===========================================================================*
2 * This file is part of the Abstract Library for Parallel Search (ALPS). *
3 * *
4 * ALPS is distributed under the Eclipse Public License as part of the *
5 * COIN-OR repository (http://www.coin-or.org). *
6 * *
7 * Authors: *
8 * *
9 * Yan Xu, Lehigh University *
10 * Ted Ralphs, Lehigh University *
11 * *
12 * Conceptual Design: *
13 * *
14 * Yan Xu, Lehigh University *
15 * Ted Ralphs, Lehigh University *
16 * Laszlo Ladanyi, IBM T.J. Watson Research Center *
17 * Matthew Saltzman, Clemson University *
18 * *
19 * *
20 * Copyright (C) 2001-2013, Lehigh University, Yan Xu, and Ted Ralphs. *
21 *===========================================================================*/
22
23 #ifndef AlpsMessage_h_
24 #define AlpsMessage_h_
25
26 #include "CoinMessageHandler.hpp"
27
28 //#############################################################################
31 enum ALPS_Message
32 {
33 ALPS_DONATE_AFTER,
34 ALPS_DONATE_BEFORE,
35 ALPS_DONATE_FAIL,
36 ALPS_DONATE_SPLIT,
37 ALPS_DONATE_WHOLE,
38 ALPS_DATAFILE,
39 ALPS_KNOWLEDGE_GEN,
40 ALPS_HUB_NUM,
41 ALPS_LAUNCH,
42 ALPS_LOADBAL_HUB,
43 ALPS_LOADBAL_HUB_FAIL,
44 ALPS_LOADBAL_HUB_NO,
45 ALPS_LOADBAL_HUB_PERIOD,
46 ALPS_LOADBAL_MASTER,
47 ALPS_LOADBAL_MASTER_NO,
48 ALPS_LOADBAL_MASTER_PERIOD,
49 ALPS_LOADBAL_WORKER_ASK,
50 ALPS_LOADREPORT_MASTER,
51 ALPS_LOADREPORT_MASTER_F,
52 ALPS_LOADREPORT_MASTER_N,
53 ALPS_LOADREPORT_MASTER_F_N,
54 ALPS_MSG_HOW,
55 ALPS_NODE_COUNT,
56 ALPS_NODE_MEM_SIZE,
57 ALPS_PARAMFILE,
58 ALPS_PEAK_MEMORY,
59 ALPS_RAMPUP_HUB,
60 ALPS_RAMPUP_HUB_FAIL,
61 ALPS_RAMPUP_HUB_NODES,
62 ALPS_RAMPUP_HUB_NODES_AUTO,
63 ALPS_RAMPUP_HUB_RECV,
64 ALPS_RAMPUP_HUB_SOL,
65 ALPS_RAMPUP_HUB_START,
66 ALPS_RAMPUP_MASTER,
67 ALPS_RAMPUP_MASTER_FAIL,
68 ALPS_RAMPUP_MASTER_NODES,
69 ALPS_RAMPUP_MASTER_NODES_AUTO,
70 ALPS_RAMPUP_MASTER_SOL,
71 ALPS_RAMPUP_MASTER_START,
72 ALPS_RAMPUP_WORKER_RECV,
73 ALPS_RAMPUP_WORKER_SOL,
74 ALPS_SEARCH_WORKER_START,
75 ALPS_SOLUTION_COUNT,
76 ALPS_SOLUTION_SEARCH,
77 ALPS_STATIC_BALANCE_BEG,
78 ALPS_STATIC_BALANCE_END,
79 ALPS_TERM_FORCE_NODE,
80 ALPS_TERM_FORCE_SOL,
81 ALPS_TERM_FORCE_TIME,
82 ALPS_TERM_HUB_INFORM,
83 ALPS_TERM_MASTER_START,
84 ALPS_TERM_MASTER_INFORM,
85 ALPS_TERM_WORKER_INFORM,
86 ALPS_T_FAILED,
87 ALPS_T_FEASIBLE,
88 ALPS_T_INFEASIBLE,
89 ALPS_T_NODE_LIMIT,
90 ALPS_T_NO_MEMORY,
91 ALPS_T_COMPLETE,
92 ALPS_T_SOL_LIMIT,
93 ALPS_T_TIME_LIMIT,
94 // Following are for serial only
95 ALPS_S_NODE_COUNT,
96 ALPS_S_SEARCH_START,
97 ALPS_S_SEARCH_SOL,
98 ALPS_S_FINAL_SOL,
99 ALPS_S_FINAL_SOL_WD,
100 ALPS_S_FINAL_NO_SOL,
101 ALPS_S_FINAL_NODE_PROCESSED,
102 ALPS_S_FINAL_NODE_FULL,
103 ALPS_S_FINAL_NODE_PARTIAL,
104 ALPS_S_FINAL_NODE_BRANCHED,
105 ALPS_S_FINAL_NODE_DISCARDED,
106 ALPS_S_FINAL_NODE_LEFT,
107 ALPS_S_FINAL_DEPTH,
108 ALPS_S_FINAL_CPU,
109 ALPS_S_FINAL_WALLCLOCK,
110 ALPS_WORK_UNIT,
111 ALPS_DUMMY_END
112 };
113
114 //#############################################################################
115
116 class AlpsMessage : public CoinMessages {
117
118 public:
121 AlpsMessage(Language language=us_en);
123 };
124
125 #endif
ALPS_DATAFILE
Definition: AlpsMessage.h:38
ALPS_S_FINAL_NODE_LEFT
Definition: AlpsMessage.h:106
ALPS_S_FINAL_NODE_DISCARDED
Definition: AlpsMessage.h:105
ALPS_LOADBAL_MASTER_PERIOD
Definition: AlpsMessage.h:48
ALPS_S_FINAL_NO_SOL
Definition: AlpsMessage.h:100
ALPS_DONATE_BEFORE
Definition: AlpsMessage.h:34
ALPS_RAMPUP_HUB_START
Definition: AlpsMessage.h:65
ALPS_S_SEARCH_START
Definition: AlpsMessage.h:96
ALPS_WORK_UNIT
Definition: AlpsMessage.h:110
ALPS_RAMPUP_HUB_RECV
Definition: AlpsMessage.h:63
ALPS_S_NODE_COUNT
Definition: AlpsMessage.h:95
ALPS_S_FINAL_NODE_PARTIAL
Definition: AlpsMessage.h:103
ALPS_TERM_FORCE_SOL
Definition: AlpsMessage.h:80
ALPS_RAMPUP_MASTER_SOL
Definition: AlpsMessage.h:70
ALPS_TERM_WORKER_INFORM
Definition: AlpsMessage.h:85
ALPS_T_TIME_LIMIT
Definition: AlpsMessage.h:93
ALPS_T_SOL_LIMIT
Definition: AlpsMessage.h:92
ALPS_LOADREPORT_MASTER_N
Definition: AlpsMessage.h:52
ALPS_T_NODE_LIMIT
Definition: AlpsMessage.h:89
AlpsMessage::AlpsMessage
AlpsMessage(Language language=us_en)
ALPS_RAMPUP_MASTER_START
Definition: AlpsMessage.h:71
ALPS_LOADBAL_HUB_NO
Definition: AlpsMessage.h:44
ALPS_DONATE_FAIL
Definition: AlpsMessage.h:35
ALPS_RAMPUP_HUB_SOL
Definition: AlpsMessage.h:64
ALPS_S_FINAL_NODE_BRANCHED
Definition: AlpsMessage.h:104
ALPS_LOADBAL_HUB
Definition: AlpsMessage.h:42
ALPS_TERM_FORCE_TIME
Definition: AlpsMessage.h:81
ALPS_TERM_HUB_INFORM
Definition: AlpsMessage.h:82
ALPS_LOADBAL_HUB_FAIL
Definition: AlpsMessage.h:43
ALPS_STATIC_BALANCE_BEG
Definition: AlpsMessage.h:77
ALPS_KNOWLEDGE_GEN
Definition: AlpsMessage.h:39
ALPS_RAMPUP_HUB_FAIL
Definition: AlpsMessage.h:60
ALPS_LOADBAL_MASTER_NO
Definition: AlpsMessage.h:47
ALPS_RAMPUP_MASTER_NODES_AUTO
Definition: AlpsMessage.h:69
ALPS_RAMPUP_MASTER
Definition: AlpsMessage.h:66
ALPS_LOADBAL_MASTER
Definition: AlpsMessage.h:46
ALPS_S_FINAL_DEPTH
Definition: AlpsMessage.h:107
AlpsMessage
Definition: AlpsMessage.h:116
ALPS_DUMMY_END
Definition: AlpsMessage.h:111
ALPS_S_FINAL_SOL_WD
Definition: AlpsMessage.h:99
ALPS_T_FAILED
Definition: AlpsMessage.h:86
ALPS_DONATE_SPLIT
Definition: AlpsMessage.h:36
ALPS_DONATE_AFTER
Definition: AlpsMessage.h:33
ALPS_SEARCH_WORKER_START
Definition: AlpsMessage.h:74
CoinMessages::language
Language language() const
Language.
Definition: CoinMessageHandler.hpp:169
ALPS_LOADREPORT_MASTER_F
Definition: AlpsMessage.h:51
ALPS_T_FEASIBLE
Definition: AlpsMessage.h:87
ALPS_S_FINAL_NODE_PROCESSED
Definition: AlpsMessage.h:101
ALPS_RAMPUP_MASTER_NODES
Definition: AlpsMessage.h:68
ALPS_MSG_HOW
Definition: AlpsMessage.h:54
CoinMessageHandler.hpp
This is a first attempt at a message handler.
ALPS_LOADREPORT_MASTER_F_N
Definition: AlpsMessage.h:53
ALPS_STATIC_BALANCE_END
Definition: AlpsMessage.h:78
ALPS_T_NO_MEMORY
Definition: AlpsMessage.h:90
ALPS_LAUNCH
Definition: AlpsMessage.h:41
ALPS_NODE_MEM_SIZE
Definition: AlpsMessage.h:56
ALPS_RAMPUP_HUB_NODES_AUTO
Definition: AlpsMessage.h:62
ALPS_TERM_FORCE_NODE
Definition: AlpsMessage.h:79
ALPS_SOLUTION_SEARCH
Definition: AlpsMessage.h:76
CoinMessages
Class to hold and manipulate an array of massaged messages.
Definition: CoinMessageHandler.hpp:128
ALPS_T_INFEASIBLE
Definition: AlpsMessage.h:88
CoinMessages::us_en
Definition: CoinMessageHandler.hpp:137
ALPS_PEAK_MEMORY
Definition: AlpsMessage.h:58
ALPS_LOADREPORT_MASTER
Definition: AlpsMessage.h:50
ALPS_TERM_MASTER_START
Definition: AlpsMessage.h:83
ALPS_S_SEARCH_SOL
Definition: AlpsMessage.h:97
ALPS_RAMPUP_HUB_NODES
Definition: AlpsMessage.h:61
ALPS_DONATE_WHOLE
Definition: AlpsMessage.h:37
ALPS_PARAMFILE
Definition: AlpsMessage.h:57
ALPS_SOLUTION_COUNT
Definition: AlpsMessage.h:75
ALPS_RAMPUP_HUB
Definition: AlpsMessage.h:59
ALPS_S_FINAL_CPU
Definition: AlpsMessage.h:108
ALPS_S_FINAL_NODE_FULL
Definition: AlpsMessage.h:102
ALPS_T_COMPLETE
Definition: AlpsMessage.h:91
ALPS_TERM_MASTER_INFORM
Definition: AlpsMessage.h:84
ALPS_S_FINAL_WALLCLOCK
Definition: AlpsMessage.h:109
ALPS_RAMPUP_WORKER_SOL
Definition: AlpsMessage.h:73
ALPS_NODE_COUNT
Definition: AlpsMessage.h:55
CoinMessages::Language
Language
Supported languages.
Definition: CoinMessageHandler.hpp:136
ALPS_LOADBAL_WORKER_ASK
Definition: AlpsMessage.h:49
ALPS_RAMPUP_MASTER_FAIL
Definition: AlpsMessage.h:67
ALPS_Message
ALPS_Message
A list of Alps print out messages.
Definition: AlpsMessage.h:31
ALPS_S_FINAL_SOL
Definition: AlpsMessage.h:98
ALPS_LOADBAL_HUB_PERIOD
Definition: AlpsMessage.h:45
ALPS_RAMPUP_WORKER_RECV
Definition: AlpsMessage.h:72
ALPS_HUB_NUM
Definition: AlpsMessage.h:40