clark and wright algorithm

Fertiggestellt Veröffentlicht Mar 4, 2009 Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

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 Programmierung Ingenieurwesen Microsoft MySQL PHP Projektmanagement Softwarearchitektur Testen von Software Windows Desktop

Projekt-ID: #3693119

Über das Projekt

25 Vorschläge Remote Projekt Aktiv Mar 4, 2009

Vergeben an:

ETASoft

See private message.

$148.75 USD in 8 Tagen
(42 Bewertungen)
5.6

25 Freelancer bieten im Durchschnitt $158 für diesen Job

MuktoSoftware

See private message.

$85 USD in 8 Tagen
(441 Bewertungen)
7.4
yazwas

See private message.

$255 USD in 8 Tagen
(113 Bewertungen)
6.7
RobotMarvin

See private message.

$212.5 USD in 8 Tagen
(23 Bewertungen)
6.6
stephen85

See private message.

$212.5 USD in 8 Tagen
(159 Bewertungen)
6.0
gopisoft

See private message.

$85 USD in 8 Tagen
(63 Bewertungen)
5.8
alexpast

See private message.

$110.5 USD in 8 Tagen
(33 Bewertungen)
5.5
LGLSoftware

See private message.

$170 USD in 8 Tagen
(91 Bewertungen)
5.3
liumy1985

See private message.

$170 USD in 8 Tagen
(150 Bewertungen)
5.7
anurag7vw

See private message.

$127.5 USD in 8 Tagen
(70 Bewertungen)
5.0
spx2vw

See private message.

$102 USD in 8 Tagen
(41 Bewertungen)
4.8
MMK

See private message.

$187 USD in 8 Tagen
(8 Bewertungen)
4.5
xiaoran2009

See private message.

$212.5 USD in 8 Tagen
(40 Bewertungen)
4.2
bucktracker

See private message.

$203.15 USD in 8 Tagen
(26 Bewertungen)
4.2
rajivk2k

See private message.

$128.35 USD in 8 Tagen
(19 Bewertungen)
4.2
chelvaci

See private message.

$165.75 USD in 8 Tagen
(12 Bewertungen)
3.5
ArmanHunanyan

See private message.

$85 USD in 8 Tagen
(8 Bewertungen)
3.3
kodiaksoftware

See private message.

$85 USD in 8 Tagen
(13 Bewertungen)
3.4
vw7173104vw

See private message.

$85 USD in 8 Tagen
(3 Bewertungen)
1.5
spapvw

See private message.

$221 USD in 8 Tagen
(5 Bewertungen)
2.2
learner1234

See private message.

$101.15 USD in 8 Tagen
(0 Bewertungen)
0.0