clark and wright algorithm

Completed Posted Mar 4, 2009 Paid on delivery
Completed Paid on delivery

I need a C++ code for Clark and Wright algorithm. Its an algorithm developed at sixtees and many info can be found about it in the net. I attached adiscribtion to the algorithm

## Deliverables

**Clark****>Wright Savings Algorithm (Algorithm 6.7)**

| STEP | 1: | Calculate the savings s(i, j) = d(D, i) + d(D, j) - d(i, j) for every pair (i, j) of demand points. |

| STEP | 2: | Rank the savings s(i, j) and list them in descending order of magnitude. This creates the "savings list." Process the savings list beginning with the topmost entry in the list (the largest s(i, j)). |

| STEP | 3: | For the savings s(i, j) under consideration, include link (i, j) in a route if no route constraints will be violated through the inclusion of (i, j) in a route, *and* if:

a. *Either*, neither i nor j have already been assigned to a route, in which case a new route is initiated including both i and j.

b. *Or*, exactly *one* of the two points (i or j) has already been included in an existing route and that point is not interior to that route (a point is interior to a route if it is not adjacent to the depot D in the order of traversal of points), in which case the link (i, j) is added to that same route.

c. *Or, both* i and j have already been included in two different existing routes and neither point is interior to its route, in which case the two routes are merged. |

| STEP | 4: | If the savings list s(i, j) has not been exhausted, return to Step 3, processing the next entry in the list; otherwise, *stop*: the solution to the VRP consists of the routes created during Step 3. (Any points that have not been assigned to a route during Step 3 must each be served by a vehicle route that begins at the depot D visits the unassigned point and returns to D.) |

C Programming Engineering Microsoft MySQL PHP Project Management Software Architecture Software Testing Windows Desktop

Project ID: #3693119

About the project

25 proposals Remote project Active Mar 4, 2009

Awarded to:

ETASoft

See private message.

$148.75 USD in 8 days
(42 Reviews)
5.6

25 freelancers are bidding on average $158 for this job

MuktoSoftware

See private message.

$85 USD in 8 days
(441 Reviews)
7.4
yazwas

See private message.

$255 USD in 8 days
(113 Reviews)
6.7
RobotMarvin

See private message.

$212.5 USD in 8 days
(23 Reviews)
6.6
stephen85

See private message.

$212.5 USD in 8 days
(159 Reviews)
6.0
gopisoft

See private message.

$85 USD in 8 days
(63 Reviews)
5.8
alexpast

See private message.

$110.5 USD in 8 days
(33 Reviews)
5.5
LGLSoftware

See private message.

$170 USD in 8 days
(91 Reviews)
5.3
liumy1985

See private message.

$170 USD in 8 days
(150 Reviews)
5.7
anurag7vw

See private message.

$127.5 USD in 8 days
(70 Reviews)
5.0
spx2vw

See private message.

$102 USD in 8 days
(41 Reviews)
4.8
MMK

See private message.

$187 USD in 8 days
(8 Reviews)
4.5
xiaoran2009

See private message.

$212.5 USD in 8 days
(40 Reviews)
4.2
bucktracker

See private message.

$203.15 USD in 8 days
(26 Reviews)
4.2
rajivk2k

See private message.

$128.35 USD in 8 days
(19 Reviews)
4.2
chelvaci

See private message.

$165.75 USD in 8 days
(12 Reviews)
3.5
ArmanHunanyan

See private message.

$85 USD in 8 days
(8 Reviews)
3.3
kodiaksoftware

See private message.

$85 USD in 8 days
(13 Reviews)
3.4
vw7173104vw

See private message.

$85 USD in 8 days
(3 Reviews)
1.5
spapvw

See private message.

$221 USD in 8 days
(5 Reviews)
2.2
learner1234

See private message.

$101.15 USD in 8 days
(0 Reviews)
0.0