Bonmin 1.8.9
Loading...
Searching...
No Matches
BonMsgUtils.hpp
Go to the documentation of this file.
1#ifndef BonMsgUtils_H
2#define BonMsgUtils_H
3
4#ifdef ADD_MSG
5#error "Macro ADD_MSG already defined"
6#endif
7#define ADD_MSG(Id,Type,Level,MSG) addMessage(Id, CoinOneMessage( Type(Id), Level, MSG))
8
9namespace Bonmin{
10 inline int std_m(int n){return 1 + n;}
11 inline int warn_m(int n) {return 3000 + n;}
12 inline int err_m(int n) {return n + 6000;}
13}
14#endif
15
(C) Copyright International Business Machines Corporation 2007
int err_m(int n)
int std_m(int n)
int warn_m(int n)