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 /* Capacitated Network Routing Problems. */
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 /* SYMPHONY include files */
20 #include "sym_proto.h"
21 
22 /* CNRP include files */
23 #include "cnrp_common_types.h"
24 
25 int compute_icost PROTO((distances *dist, int v0, int v1));
26 void canonical_tour PROTO((distances *dist, best_tours *cur_tour,
27  int vertnum, double capacity, double *demand));
28 int route_calc PROTO((distances *dist, _node *tour, int numroutes,
29  route_data *route_info, double *demand));
30 int compute_tour_cost PROTO((distances *dist, _node *tour));
31 double ECOST PROTO((double *cost, int v0, int v1, int vertnum));
32 int ICOST PROTO((distances *dist, int v0, int v1));
33 int MCOST PROTO((distances *dist, int v0, int v1, int *lamda));
34 int TCOST PROTO((distances *dist, int v0, int v1, int *lamda, int mu));
35 
36 #endif
#define PROTO(x)
Definition: sym_proto.h:27