PC*MILER|Connect can be used to build complex trips with multiple stops and various options. For example, you could generate two trips from New York to San Diego using different route options and then compare them.

To generate a trip with options:

  • First ask PC*MILER|Connect for a new trip with PCMSNewTrip.

  • When finished with the trip, you must call PCMSDeleteTrip to clean up the trip’s memory. (To optimize the performance of your application, you can also call PCMSClearStops to reuse a single trip created in the beginning of the program throughout its execution.) 

Note: Running more than about 300 trips (more or less, depending on how much memory each trip uses) simultaneously is not recommended.