Changeset 2a94d3 in git for IntegerProgramming/IP_algorithms.cc
- Timestamp:
- Jun 16, 2006, 7:31:49 PM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 543931e9b94b51dfcb076b90134259291fd4bde5
- Parents:
- db1fa735ecf3d44ab99e9d5ba0e77c249138d14e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
IntegerProgramming/IP_algorithms.cc
rdb1fa7 r2a94d3 3081 3081 } 3082 3082 3083 Integer right_hand[weighted_variables+elimination_variables];3083 Integer *right_hand=new Integer[weighted_variables+elimination_variables]; 3084 3084 3085 3085 for(short k=0;k<instances;k++) … … 3102 3102 "first input \nfile, " 3103 3103 "this and all following right hand vectors will be ignored"<<endl; 3104 delete[] right_hand; 3104 3105 return 0; 3105 3106 } … … 3170 3171 output<<"computation time"<<endl; 3171 3172 output<<setw(6)<<setprecision(2)<<elapsed<<" sec"<<endl<<endl; 3173 delete[] right_hand; 3172 3174 } 3173 3175 } … … 3187 3189 } 3188 3190 3189 Integer right_hand[weighted_variables+elimination_variables];3191 Integer *right_hand=new Integer[weighted_variables+elimination_variables]; 3190 3192 BOOLEAN error=FALSE; // to test legality of right hand vectors 3191 3193 … … 3209 3211 "first input \nfile, this and all following right hand vectors " 3210 3212 "will be ignored"<<endl; 3213 delete[] right_hand; 3211 3214 return 0; 3212 3215 } … … 3277 3280 output<<"computation time"<<endl; 3278 3281 output<<setw(6)<<setprecision(2)<<elapsed<<" sec"<<endl<<endl; 3282 delete[] right_hand; 3279 3283 } 3280 3284 } … … 3309 3313 "first input \nfile, this and all following right hand vectors " 3310 3314 "will be ignored"<<endl; 3315 delete[] right_hand; 3311 3316 return 0; 3312 3317 } … … 3349 3354 } 3350 3355 3356 delete[] right_hand; 3351 3357 return 1; 3352 3358
Note: See TracChangeset
for help on using the changeset viewer.