00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _VRP_CONST_H
00017 #define _VRP_CONST_H
00018
00019 #define LENGTH 255
00020 #define KEY_NUM 43
00021 #define DEAD 2
00022 #define NEAR_INS -1
00023 #define FAR_INS -2
00024 #define DEPOT_PENALTY 20
00025 #define RRR 6378.388
00026 #define MY_PI 3.141592
00027 #define LINE_LEN 80
00028
00029
00030 #define _EXPLICIT 0
00031 #define _EUC_2D 1
00032 #define _EUC_3D 2
00033 #define _MAX_2D 3
00034 #define _MAX_3D 4
00035 #define _MAN_2D 5
00036 #define _MAN_3D 6
00037 #define _CEIL_2D 7
00038 #define _GEO 8
00039 #define _ATT 9
00040
00041
00042 #define VRP_LB_DATA 1
00043 #define VRP_LB_DATA2 2
00044 #define VRP_BROADCAST_DATA 3
00045 #define EXCHANGE_HEUR_TOUR 4
00046 #define ROUTE_FINS_START_RULE 5
00047 #define ROUTE_NINS_START_RULE 6
00048 #define ROUTE_FNINS_START_RULE 7
00049 #define FINI_RATIO 8
00050 #define TSP_FINI_RATIO 9
00051 #define ROUTE_FINS_VRP_DATA 10
00052 #define ROUTE_NINS_VRP_DATA 11
00053 #define ROUTE_FNINS_VRP_DATA 12
00054 #define SWEEP_TRIALS 13
00055 #define TSP_NI_TRIALS 14
00056 #define TSP_FI_TRIALS 15
00057 #define TSP_FINI_TRIALS 16
00058 #define S3_NUMROUTES 17
00059 #define NC_NUMROUTES 18
00060 #define TSP_START_POINT 19
00061 #define SAVINGS_DATA 20
00062 #define SAVINGS2_DATA 21
00063 #define SAVINGS3_DATA 22
00064 #define DISPLAY_DATA 23
00065 #define STOP 24
00066
00067
00068
00069 #define SUBTOUR_ELIM_SIDE 0
00070 #define SUBTOUR_ELIM_ACROSS 1
00071 #define SUBTOUR_ELIM 2
00072 #define CLIQUE 3
00073
00074
00075
00076 #define NO_TSP_CUTS 0
00077 #define SUBTOUR 1
00078 #define BLOSSOM 2
00079 #define COMB 4
00080 #define ALL_TSP_CUTS 7
00081
00082 #define NUM_RANDS 6
00083
00084 #define ACTIVE_NODE_LIST_BLOCK_SIZE 100
00085 #define DELETE_POWER 3
00086 #define DELETE_AND 0x07
00087
00088
00089 #define EVERYTHING_IS_EXTRA 0
00090 #define SOME_ARE_BASE 1
00091 #define EVERYTHING_IS_BASE 2
00092
00093
00094 #define CHEAP_EDGES 0
00095 #define REMAINING_EDGES 1
00096
00097
00098 #define SAVE_SMALL_GRAPH 1
00099 #define LOAD_SMALL_GRAPH 2
00100
00101
00102 #define FIRST_SET 1
00103 #define SECOND_SET 2
00104
00105 #endif