
Running route generation for: 2020-07-02
totals results in db %s 6
Client_id=24,order_ids=826 has available techs ['76', '64', '61'] - 
It is allocated to tech_ids=61 at distance=40361 who now has 1 orders 

###############################################

Client_id=65,order_ids=370,371,372,373,374,375,376,377,378,379,380,381 has available techs ['76', '64', '61'] - 
It is allocated to tech_ids=76 at distance=16932 who now has 12 orders 

###############################################

Client_id=20,order_ids=776,780,781,782,783,784,785,786,787,788,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,827,828,829,830,831,832,833,834,835,836,837,838,839,840,842,843,844,845,846,847,848 has available techs ['76', '64', '61'] - 
It is allocated to tech_ids=76 at distance=26590 who now has 77 orders 

###############################################

Client_id=251,order_ids=841 has available techs ['76', '64', '61'] - 
It is allocated to tech_ids=64 at distance=20118 who now has 1 orders 

###############################################

Client_id=417,order_ids=777,778,779,789,790,791 has available techs ['76', '64', '61'] - 
It is allocated to tech_ids=64 at distance=24972 who now has 7 orders 

###############################################

Client_id=163,order_ids=346,347,348,349,351,352 has available techs ['76', '64', '61'] - 
It is allocated to tech_ids=64 at distance=11595 who now has 13 orders 

###############################################

0
['44.8631658', '-93.0404815', 0, '370,371,372,373,374,375,376,377,378,379,380,381']

*********
1
['44.7367169', '-93.20971039999999', 0, '776,780,781,782,783,784,785,786,787,788,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,827,828,829,830,831,832,833,834,835,836,837,838,839,840,842,843,844,845,846,847,848']

*********
************** CURRENT STOPS ******************

[['44.8631658', '-93.0404815', 0, '370,371,372,373,374,375,376,377,378,379,380,381'], ['44.7367169', '-93.20971039999999', 0, '776,780,781,782,783,784,785,786,787,788,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,827,828,829,830,831,832,833,834,835,836,837,838,839,840,842,843,844,845,846,847,848']]
*************** PREFERRED WAYPOINTS ***************

[0]
*************** URL ***************

https://maps.googleapis.com/maps/api/directions/json?origin=44.8631658,-93.0404815&destination=44.9537029,-93.0899578&waypoints=optimize:true|44.7367169,-93.20971039999999|
putting 1 to 1
************** CURRENT STOPS FILLED ******************

[['44.8631658', '-93.0404815', 0, '370,371,372,373,374,375,376,377,378,379,380,381'], ['44.7367169', '-93.20971039999999', 1, '776,780,781,782,783,784,785,786,787,788,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,827,828,829,830,831,832,833,834,835,836,837,838,839,840,842,843,844,845,846,847,848']]
0
['44.9549605', '-93.1792716', 0, '841']

*********
1
['44.868729', '-93.322069', 0, '777,778,779,789,790,791']

*********
2
['44.9364489', '-93.3369241', 0, '346,347,348,349,351,352']

*********
************** CURRENT STOPS ******************

[['44.9549605', '-93.1792716', 0, '841'], ['44.868729', '-93.322069', 0, '777,778,779,789,790,791'], ['44.9364489', '-93.3369241', 0, '346,347,348,349,351,352']]
*************** PREFERRED WAYPOINTS ***************

[0, 1]
*************** URL ***************

https://maps.googleapis.com/maps/api/directions/json?origin=44.9549605,-93.1792716&destination=45.029122,-93.0341816&waypoints=optimize:true|44.868729,-93.322069|44.9364489,-93.3369241|
putting 1 to 1
putting 2 to 2
************** CURRENT STOPS FILLED ******************

[['44.9549605', '-93.1792716', 0, '841'], ['44.868729', '-93.322069', 1, '777,778,779,789,790,791'], ['44.9364489', '-93.3369241', 2, '346,347,348,349,351,352']]
0
['45.3061089', '-93.5583266', 0, '826']

*********
************** CURRENT STOPS ******************

[['45.3061089', '-93.5583266', 0, '826']]
*************** PREFERRED WAYPOINTS ***************

[]
*************** URL ***************

https://maps.googleapis.com/maps/api/directions/json?origin=45.3061089,-93.5583266&destination=45.09205,-93.31622399999999&waypoints=optimize:true|
************** CURRENT STOPS FILLED ******************

[['45.3061089', '-93.5583266', 0, '826']]
   client_id    latitude    longitude order_ids  tech_ids allocated_tech_id  tech_stop_order
1  24         45.3061089  -93.5583266  826       76,64,61  61                0              
   client_id    latitude    longitude                                        order_ids  tech_ids allocated_tech_id  tech_stop_order
1  65         44.8631658  -93.0404815  370,371,372,373,374,375,376,377,378,379,380,381  76,64,61  76                0              
   client_id    latitude           longitude                                                                                                                                                                                                                                                            order_ids  tech_ids allocated_tech_id  tech_stop_order
1  20         44.7367169  -93.20971039999999  776,780,781,782,783,784,785,786,787,788,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,827,828,829,830,831,832,833,834,835,836,837,838,839,840,842,843,844,845,846,847,848  76,64,61  76                0              
   client_id    latitude    longitude order_ids  tech_ids allocated_tech_id  tech_stop_order
1  251        44.9549605  -93.1792716  841       76,64,61  64                0              
   client_id   latitude   longitude                order_ids  tech_ids allocated_tech_id  tech_stop_order
1  417        44.868729  -93.322069  777,778,779,789,790,791  76,64,61  64                0              
   client_id    latitude    longitude                order_ids  tech_ids allocated_tech_id  tech_stop_order
1  163        44.9364489  -93.3369241  346,347,348,349,351,352  76,64,61  64                0              
