VRPcustomer
Previous  Top  Next

Function VRPcustomer(index: integer; demand1,demand2,servicecost,serviceextra: double): integer;

Use this function to enter the demand for all places to visit. The total demand for a route = load.

Servicecost or serviceextra can be time spent at the customer. If cost has been setup as time and you need 5 minutes to stop every place, use servicecost=5.

Index >0.

It returns 0 if no errors occured.

Possible error codes: -30 -57
Versions: Pro
ActiveX / VCL / CLX component: RWcalc