Dip
0.92.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
tmp
Dip-0.92.4
SYMPHONY
Applications
VRP
include
heurs
lb_types.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
/* This application was developed by Ted Ralphs (ted@lehigh.edu) */
8
/* This file was modified by Ali Pilatin January, 2005 (alp8@lehigh.edu) */
9
/* */
10
/* (c) Copyright 2000-2005 Ted Ralphs. All Rights Reserved. */
11
/* */
12
/* This software is licensed under the Eclipse Public License. Please see */
13
/* accompanying file for terms. */
14
/* */
15
/*===========================================================================*/
16
17
#ifndef _LB_TYPES_H
18
#define _LB_TYPES_H
19
20
#include "
vrp_common_types.h
"
21
#include "
lb_params.h
"
22
23
/*---------------------------------------------------------------------------*\
24
| Contains the problem data needed by the lower bounding procedures |
25
\*---------------------------------------------------------------------------*/
26
27
typedef
struct
LB_PROB
{
28
lb_params
par
;
/*problem parameters*/
29
int
vertnum
;
/*the number of nodes in the problem,*\
30
\*including the depot */
31
int
edgenum
;
32
int
numroutes
;
/*contains the number of routes that the*\
33
| problem is to be solved with. can be |
34
\*prespecified. */
35
int
depot
;
/*the index of the depot, usually 1*/
36
int
capacity
;
/*the capacity of a truck*/
37
int
*
demand
;
/*an array containing the demands for *\
38
| each node. node i's demand is |
39
\*p->demand[i-1] */
40
distances
dist
;
/*contains the information for computing the costs*/
41
int
window
;
/*contains the tid of the graphics window*/
42
43
}
lb_prob
;
44
45
#endif
LB_PROB::dist
distances dist
Definition:
lb_types.h:40
LB_PROB::capacity
int capacity
Definition:
lb_types.h:36
LB_PROB::par
lb_params par
Definition:
lb_types.h:28
LB_PROB::edgenum
int edgenum
Definition:
lb_types.h:31
DISTANCES
Definition:
cnrp_common_types.h:72
LB_PROB::numroutes
int numroutes
Definition:
lb_types.h:32
LB_PROB
Definition:
lb_types.h:27
LB_PROB::window
int window
Definition:
lb_types.h:41
lb_params.h
LB_PROB::demand
int * demand
Definition:
lb_types.h:37
LB_PROB::vertnum
int vertnum
Definition:
lb_types.h:29
lb_prob
struct LB_PROB lb_prob
vrp_common_types.h
LB_PROB::depot
int depot
Definition:
lb_types.h:35
LB_PARAMS
Definition:
lb_params.h:20
Generated by
1.8.5