Dip  0.92.4
compute_cost.h
Go to the documentation of this file.
1 /*===========================================================================*/
2 /* */
3 /* This file is part of a demonstration application for use with the */
4 /* SYMPHONY Branch, Cut, and Price Library. This application is a solver for */
5 /* the Vehicle Routing Problem and the Traveling Salesman Problem. */
6 /* */
7 /* (c) Copyright 2000-2013 Ted Ralphs. All Rights Reserved. */
8 /* */
9 /* This application was developed by Ted Ralphs (ted@lehigh.edu) */
10 /* */
11 /* This software is licensed under the Eclipse Public License. Please see */
12 /* accompanying file for terms. */
13 /* */
14 /*===========================================================================*/
15 
16 #ifndef _COMPUTE_COST_H
17 #define _COMPUTE_COST_H
18 
19 #include "sym_proto.h"
20 #include "vrp_common_types.h"
21 
22 int compute_icost PROTO((distances *dist, int v0, int v1));
23 void canonical_tour PROTO((distances *dist, best_tours *cur_tour,
24  int vertnum, int capacity, int *demand));
25 int route_calc PROTO((distances *dist, _node *tour, int numroutes,
26  route_data *route_info, int *demand));
27 int compute_tour_cost PROTO((distances *dist, _node *tour));
28 double ECOST PROTO((double *cost, int v0, int v1, int vertnum));
29 int ICOST PROTO((distances *dist, int v0, int v1));
30 int MCOST PROTO((distances *dist, int v0, int v1, int *lamda));
31 int TCOST PROTO((distances *dist, int v0, int v1, int *lamda, int mu));
32 
33 #endif
#define PROTO(x)
Definition: sym_proto.h:27