/home/coin/svn-release/OptimizationSuite-1.1.0/SYMPHONY/Applications/CNRP/include/cnrp_macros.h File Reference

#include "sym_proto.h"
Include dependency graph for cnrp_macros.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 ((double weight, double capacity))
int RHS PROTO ((int cust_num, double weight, double capacity))

Define Documentation

#define CHECK_DEBUG_PAR ( x,
 ) 
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 cnrp_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 cnrp_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 ( (double weight, double capacity)   ) 
int RHS PROTO ( (int cust_num, double weight, double capacity)   ) 

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1