/home/coin/SVN-release/CoinAll-1.1.0/SYMPHONY/Applications/CNRP/include/compute_cost.h

Go to the documentation of this file.
00001 /*===========================================================================*/
00002 /*                                                                           */
00003 /* This file is part of a demonstration application for use with the         */
00004 /* SYMPHONY Branch, Cut, and Price Library. This application is a solver for */
00005 /* Capacitated Network Routing Problems.                                     */
00006 /*                                                                           */
00007 /* (c) Copyright 2000-2008 Ted Ralphs. All Rights Reserved.                  */
00008 /*                                                                           */
00009 /* This application was developed by Ted Ralphs (tkralphs@lehigh.edu)        */
00010 /*                                                                           */
00011 /* This software is licensed under the Common Public License. Please see     */
00012 /* accompanying file for terms.                                              */
00013 /*                                                                           */
00014 /*===========================================================================*/
00015 
00016 #ifndef _COMPUTE_COST_H
00017 #define _COMPUTE_COST_H
00018 
00019 /* SYMPHONY include files */
00020 #include "sym_proto.h"
00021 
00022 /* CNRP include files */
00023 #include "cnrp_common_types.h"
00024 
00025 int compute_icost PROTO((distances *dist, int v0, int v1));
00026 void canonical_tour PROTO((distances *dist, best_tours *cur_tour,
00027                            int vertnum, double capacity, double *demand));
00028 int route_calc PROTO((distances *dist, _node *tour, int numroutes, 
00029                       route_data *route_info, double *demand));
00030 int compute_tour_cost PROTO((distances *dist, _node *tour));
00031 double ECOST PROTO((double *cost, int v0, int v1, int vertnum));
00032 int ICOST PROTO((distances *dist, int v0, int v1));
00033 int MCOST PROTO((distances *dist, int v0, int v1, int *lamda));
00034 int TCOST PROTO((distances *dist, int v0, int v1, int *lamda, int mu));
00035 
00036 #endif

Generated on Sun Nov 14 14:06:41 2010 for Coin-All by  doxygen 1.4.7