Changeset 14


Ignore:
Timestamp:
Aug 22, 2010 11:04:32 PM (11 years ago)
Author:
cgroer
Message:

Fixing bug related to service times. Service times were not used for some one day problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • releases/1.0.0/src/VRPIO.cpp

    r5 r14  
    688688        case 18:
    689689            // SVC_TIME_SECTION
    690            
    691             has_service_times=true;
    692 
    693             if(this->num_days==0)// Standard problem
     690                        has_service_times=true;
     691
     692            if(this->num_days<=1)// 8/15/2010 - used to be ==0 !
    694693            {
    695694                i=0;
     
    699698                    fscanf(infile,"%d %lf\n",&x,&s);
    700699                    nodes[i].id=x;
    701                     nodes[i].service_time=s;               
     700                    nodes[i].service_time=s;
    702701                    total_service_time+=nodes[i].service_time;
    703702
Note: See TracChangeset for help on using the changeset viewer.