1/* $Id: ClpMessage.hpp 1753 2011-06-19 16:27:26Z stefan $ */
2// Copyright (C) 2002, International Business Machines
3// Corporation and others. All Rights Reserved.
4// This code is licensed under the terms of the Eclipse Public License (EPL).
5
6#ifndef ClpMessage_H
7#define ClpMessage_H
8
9
10#include "CoinPragma.hpp"
11#include <cstring>
12
13// This deals with Clp messages (as against Osi messages etc)
14
15#include "CoinMessageHandler.hpp"
16enum CLP_Message {
17 CLP_SIMPLEX_FINISHED,
18 CLP_SIMPLEX_INFEASIBLE,
19 CLP_SIMPLEX_UNBOUNDED,
20 CLP_SIMPLEX_STOPPED,
21 CLP_SIMPLEX_ERROR,
22 CLP_SIMPLEX_INTERRUPT,
23 CLP_SIMPLEX_STATUS,
24 CLP_DUAL_BOUNDS,
25 CLP_SIMPLEX_ACCURACY,
26 CLP_SIMPLEX_BADFACTOR,
27 CLP_SIMPLEX_BOUNDTIGHTEN,
28 CLP_SIMPLEX_INFEASIBILITIES,
29 CLP_SIMPLEX_FLAG,
30 CLP_SIMPLEX_GIVINGUP,
31 CLP_DUAL_CHECKB,
32 CLP_DUAL_ORIGINAL,
33 CLP_SIMPLEX_PERTURB,
34 CLP_PRIMAL_ORIGINAL,
35 CLP_PRIMAL_WEIGHT,
36 CLP_PRIMAL_OPTIMAL,
37 CLP_SINGULARITIES,
38 CLP_MODIFIEDBOUNDS,
39 CLP_RIMSTATISTICS1,
40 CLP_RIMSTATISTICS2,
41 CLP_RIMSTATISTICS3,
42 CLP_POSSIBLELOOP,
43 CLP_SMALLELEMENTS,
44 CLP_DUPLICATEELEMENTS,
45 CLP_SIMPLEX_HOUSE1,
46 CLP_SIMPLEX_HOUSE2,
47 CLP_SIMPLEX_NONLINEAR,
48 CLP_SIMPLEX_FREEIN,
49 CLP_SIMPLEX_PIVOTROW,
50 CLP_DUAL_CHECK,
51 CLP_PRIMAL_DJ,
52 CLP_PACKEDSCALE_INITIAL,
53 CLP_PACKEDSCALE_WHILE,
54 CLP_PACKEDSCALE_FINAL,
55 CLP_PACKEDSCALE_FORGET,
56 CLP_INITIALIZE_STEEP,
57 CLP_UNABLE_OPEN,
58 CLP_BAD_BOUNDS,
59 CLP_BAD_MATRIX,
60 CLP_LOOP,
61 CLP_IMPORT_RESULT,
62 CLP_IMPORT_ERRORS,
63 CLP_EMPTY_PROBLEM,
64 CLP_CRASH,
65 CLP_END_VALUES_PASS,
66 CLP_QUADRATIC_BOTH,
67 CLP_QUADRATIC_PRIMAL_DETAILS,
68 CLP_IDIOT_ITERATION,
69 CLP_INFEASIBLE,
70 CLP_MATRIX_CHANGE,
71 CLP_TIMING,
72 CLP_INTERVAL_TIMING,
73 CLP_SPRINT,
74 CLP_BARRIER_ITERATION,
75 CLP_BARRIER_OBJECTIVE_GAP,
76 CLP_BARRIER_GONE_INFEASIBLE,
77 CLP_BARRIER_CLOSE_TO_OPTIMAL,
78 CLP_BARRIER_COMPLEMENTARITY,
79 CLP_BARRIER_EXIT2,
80 CLP_BARRIER_STOPPING,
81 CLP_BARRIER_EXIT,
82 CLP_BARRIER_SCALING,
83 CLP_BARRIER_MU,
84 CLP_BARRIER_INFO,
85 CLP_BARRIER_END,
86 CLP_BARRIER_ACCURACY,
87 CLP_BARRIER_SAFE,
88 CLP_BARRIER_NEGATIVE_GAPS,
89 CLP_BARRIER_REDUCING,
90 CLP_BARRIER_DIAGONAL,
91 CLP_BARRIER_SLACKS,
92 CLP_BARRIER_DUALINF,
93 CLP_BARRIER_KILLED,
94 CLP_BARRIER_ABS_DROPPED,
95 CLP_BARRIER_ABS_ERROR,
96 CLP_BARRIER_FEASIBLE,
97 CLP_BARRIER_STEP,
98 CLP_BARRIER_KKT,
99 CLP_RIM_SCALE,
100 CLP_SLP_ITER,
101 CLP_COMPLICATED_MODEL,
102 CLP_BAD_STRING_VALUES,
103 CLP_CRUNCH_STATS,
104 CLP_PARAMETRICS_STATS,
105 CLP_PARAMETRICS_STATS2,
106 CLP_GENERAL,
107 CLP_GENERAL2,
108#ifndef NO_FATHOM_PRINT
109 CLP_FATHOM_STATUS,
110 CLP_FATHOM_SOLUTION,
111 CLP_FATHOM_FINISH,
112#endif
113 CLP_DUMMY_END
114};
115
116/** This deals with Clp messages (as against Osi messages etc)
117 */
118class ClpMessage : public CoinMessages {
119
120public:
121
122 /**@name Constructors etc */
123 //@{
124 /** Constructor */
125 ClpMessage(Language language = us_en);
126 //@}
127
128};
129
130#endif
131