/home/coin/svn-release/OptimizationSuite-1.1.0/SYMPHONY/Applications/VRP/include/vrp_macros.h File Reference
#include "sym_proto.h"
Go to the source code of this file.
Defines |
#define | CHECK_DEBUG_PAR(x, y) |
#define | READ_FLOAT_PAR(par) |
Functions |
void BOTH_ENDS | PROTO ((int index, int *vh, int *vl)) |
int NEAREST_INT | PROTO ((double num)) |
int INDEX | PROTO ((int v0, int v1)) |
int BINS | PROTO ((int weight, int capacity)) |
int RHS | PROTO ((int cust_num, int weight, int capacity)) |
Define Documentation
#define CHECK_DEBUG_PAR |
( |
x, |
|
|
y |
|
) |
|
Value:if (x != 0 && x != 4) { \
(void) fprintf(stderr, "\nio: illegal debug parameter %s\n\n", y); \
exit(1); \
}
Definition at line 22 of file vrp_macros.h.
#define READ_FLOAT_PAR |
( |
par |
|
) |
|
Value:if (sscanf(value, "%f", &(par)) != 1){ \
(void) fprintf(stderr, "\nio: error reading parameter %s\n\n", key); \
exit(1); \
}
Definition at line 28 of file vrp_macros.h.
Function Documentation
void BOTH_ENDS PROTO |
( |
(int index, int *vh, int *vl) |
|
) |
|
int NEAREST_INT PROTO |
( |
(double num) |
|
) |
|
int INDEX PROTO |
( |
(int v0, int v1) |
|
) |
|
int BINS PROTO |
( |
(int weight, int capacity) |
|
) |
|
int RHS PROTO |
( |
(int cust_num, int weight, int capacity) |
|
) |
|