Closed chongshuang2021 closed 2 days ago
Thank you.
I fixed that, and added a test for it in the json_schemas.ipynb.
From: chongshuang2021 @.> Sent: Monday, September 16, 2024 8:39 PM To: MarcMeketonVillanova/2024_RAS_PSC @.> Cc: Subscribed @.***> Subject: [EXTERNAL] [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Please check the input file, example_108_wagons_5_tracks.json. According to JSON syntax, there is a small mistake on line 19. At the end of the wagon occupancies on track 3, there should not be a comma, as the other tracks have no wagons.
mistake.png (view on web)https://github.com/user-attachments/assets/413852be-90f6-4be7-87f5-a1d2bb1ae816
— Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZYJJYX6GMTRZUIWSFTZW5225AVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDSNZSG44DOOA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
Dear Sir, We also discovered a minor issue with a parameter in our algorithm. Initially, we did not consider that the number of tracks might exceed 10. In the new version, we have adjusted its value to accommodate wide datasets. Please see the attachment. Before running our code, please rename the input file using the format as, example_xx_inputs, where xx represents the name of the dataset. I'm sorry to trouble you.
-----原始邮件----- 发件人: "Marc Meketon" @.> 发送时间: 2024-09-17 11:53:03 (星期二) 收件人: MarcMeketonVillanova/2024_RAS_PSC @.> 抄送: chongshuang2021 @.>, Author @.> 主题: Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
Thank you.
I fixed that, and added a test for it in the json_schemas.ipynb.
From: chongshuang2021 @.> Sent: Monday, September 16, 2024 8:39 PM To: MarcMeketonVillanova/2024_RAS_PSC @.> Cc: Subscribed @.***> Subject: [EXTERNAL] [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Please check the input file, example_108_wagons_5_tracks.json. According to JSON syntax, there is a small mistake on line 19. At the end of the wagon occupancies on track 3, there should not be a comma, as the other tracks have no wagons.
mistake.png (view on web)https://github.com/user-attachments/assets/413852be-90f6-4be7-87f5-a1d2bb1ae816
— Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZYJJYX6GMTRZUIWSFTZW5225AVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDSNZSG44DOOA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Bestregards, Yours CHEN. School of Mathematics, Southwest Jiaotong University, Chengdu, Sichuan, PRC
OK. Will pass that along to the competition chairs.
From: chongshuang2021 @.> Sent: Tuesday, September 17, 2024 12:02 AM To: MarcMeketonVillanova/2024_RAS_PSC @.> Cc: Marc Meketon @.>; Comment @.> Subject: [EXTERNAL] Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification Dear Sir, We also discovered a minor issue with a parameter in our algorithm. Initially, we did not consider that the number of tracks might exceed 10. In the new version, we have adjusted its value to accommodate wide datasets. Please see the attachment. Before running our code, please rename the input file using the format as, example_xx_inputs, where xx represents the name of the dataset. I'm sorry to trouble you.
-----原始邮件----- 发件人: "Marc Meketon" @.<mailto:@.>> 发送时间: 2024-09-17 11:53:03 (星期二) 收件人: MarcMeketonVillanova/2024_RAS_PSC @.<mailto:@.>> 抄送: chongshuang2021 @.<mailto:@.>>, Author @.<mailto:@.>> 主题: Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
Thank you.
I fixed that, and added a test for it in the json_schemas.ipynb.
From: chongshuang2021 @.<mailto:@.>> Sent: Monday, September 16, 2024 8:39 PM To: MarcMeketonVillanova/2024_RAS_PSC @.<mailto:@.>> Cc: Subscribed @.<mailto:@.>> Subject: [EXTERNAL] [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.mailto:***@***.******@***.***>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Please check the input file, example_108_wagons_5_tracks.json. According to JSON syntax, there is a small mistake on line 19. At the end of the wagon occupancies on track 3, there should not be a comma, as the other tracks have no wagons.
mistake.png (view on web)https://github.com/user-attachments/assets/413852be-90f6-4be7-87f5-a1d2bb1ae816
― Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZYJJYX6GMTRZUIWSFTZW5225AVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDSNZSG44DOOA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.mailto:***@***.******@***.***>> ― Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.<mailto:@.>>
Bestregards, Yours CHEN. School of Mathematics, Southwest Jiaotong University, Chengdu, Sichuan, PRC
― Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1#issuecomment-2354457944, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZ7W3BFLNMID7DCNHWDZW6STLAVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJUGQ2TOOJUGQ. You are receiving this because you commented.Message ID: @.**@.>>
I do not have access to MATLAB (unlike Python, Java, C#, etc., you need a license for MATLAB).
Can you run these two examples for us and report the CPU time?
From: chongshuang2021 @.> Sent: Tuesday, September 17, 2024 12:02 AM To: MarcMeketonVillanova/2024_RAS_PSC @.> Cc: Marc Meketon @.>; Comment @.> Subject: [EXTERNAL] Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification Dear Sir, We also discovered a minor issue with a parameter in our algorithm. Initially, we did not consider that the number of tracks might exceed 10. In the new version, we have adjusted its value to accommodate wide datasets. Please see the attachment. Before running our code, please rename the input file using the format as, example_xx_inputs, where xx represents the name of the dataset. I'm sorry to trouble you.
-----原始邮件----- 发件人: "Marc Meketon" @.<mailto:@.>> 发送时间: 2024-09-17 11:53:03 (星期二) 收件人: MarcMeketonVillanova/2024_RAS_PSC @.<mailto:@.>> 抄送: chongshuang2021 @.<mailto:@.>>, Author @.<mailto:@.>> 主题: Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
Thank you.
I fixed that, and added a test for it in the json_schemas.ipynb.
From: chongshuang2021 @.<mailto:@.>> Sent: Monday, September 16, 2024 8:39 PM To: MarcMeketonVillanova/2024_RAS_PSC @.<mailto:@.>> Cc: Subscribed @.<mailto:@.>> Subject: [EXTERNAL] [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.mailto:***@***.******@***.***>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Please check the input file, example_108_wagons_5_tracks.json. According to JSON syntax, there is a small mistake on line 19. At the end of the wagon occupancies on track 3, there should not be a comma, as the other tracks have no wagons.
mistake.png (view on web)https://github.com/user-attachments/assets/413852be-90f6-4be7-87f5-a1d2bb1ae816
― Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZYJJYX6GMTRZUIWSFTZW5225AVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDSNZSG44DOOA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.mailto:***@***.******@***.***>> ― Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.<mailto:@.>>
Bestregards, Yours CHEN. School of Mathematics, Southwest Jiaotong University, Chengdu, Sichuan, PRC
― Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1#issuecomment-2354457944, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZ7W3BFLNMID7DCNHWDZW6STLAVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJUGQ2TOOJUGQ. You are receiving this because you commented.Message ID: @.**@.>>
Dear Meketon, We have processed three datasets, and the output results in the required format are included in the attachment. We set a runtime of 3 minutes and obtained feasible, high-quality solutions. Below is a summary of the results:
Please let us know if you need any further details.
-----原始邮件----- 发件人: "Marc Meketon" @.> 发送时间: 2024-09-17 18:11:04 (星期二) 收件人: MarcMeketonVillanova/2024_RAS_PSC @.> 抄送: chongshuang2021 @.>, Author @.> 主题: Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
I do not have access to MATLAB (unlike Python, Java, C#, etc., you need a license for MATLAB).
Can you run these two examples for us and report the CPU time?
From: chongshuang2021 @.> Sent: Tuesday, September 17, 2024 12:02 AM To: MarcMeketonVillanova/2024_RAS_PSC @.> Cc: Marc Meketon @.>; Comment @.> Subject: [EXTERNAL] Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification Dear Sir, We also discovered a minor issue with a parameter in our algorithm. Initially, we did not consider that the number of tracks might exceed 10. In the new version, we have adjusted its value to accommodate wide datasets. Please see the attachment. Before running our code, please rename the input file using the format as, example_xx_inputs, where xx represents the name of the dataset. I'm sorry to trouble you.
-----原始邮件----- 发件人: "Marc Meketon" @.<mailto:@.>> 发送时间: 2024-09-17 11:53:03 (星期二) 收件人: MarcMeketonVillanova/2024_RAS_PSC @.<mailto:@.>> 抄送: chongshuang2021 @.<mailto:@.>>, Author @.<mailto:@.>> 主题: Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
Thank you.
I fixed that, and added a test for it in the json_schemas.ipynb.
From: chongshuang2021 @.<mailto:@.>> Sent: Monday, September 16, 2024 8:39 PM To: MarcMeketonVillanova/2024_RAS_PSC @.<mailto:@.>> Cc: Subscribed @.<mailto:@.>> Subject: [EXTERNAL] [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.mailto:***@***.******@***.***>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Please check the input file, example_108_wagons_5_tracks.json. According to JSON syntax, there is a small mistake on line 19. At the end of the wagon occupancies on track 3, there should not be a comma, as the other tracks have no wagons.
mistake.png (view on web)https://github.com/user-attachments/assets/413852be-90f6-4be7-87f5-a1d2bb1ae816
― Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZYJJYX6GMTRZUIWSFTZW5225AVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDSNZSG44DOOA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.mailto:***@***.******@***.***>> ― Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.<mailto:@.>>
Bestregards, Yours CHEN. School of Mathematics, Southwest Jiaotong University, Chengdu, Sichuan, PRC
― Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1#issuecomment-2354457944, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZ7W3BFLNMID7DCNHWDZW6STLAVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJUGQ2TOOJUGQ. You are receiving this because you commented.Message ID: @.**@.>> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Bestregards, Yours CHEN. School of Mathematics, Southwest Jiaotong University, Chengdu, Sichuan, PRC
Two items:
(1): There was no attachment of the solution. When you send out the solutions, please also send it to my official “Villanova” email: @.**@.> ?
(2): While I never used matlab, I believe you had the same costing error as I discovered this morning in my Example_1.xlsx code. In the official writeup, Section 5, had the first term as D/2/sm where D is the track length (in kilometers). I believe in your code below, you used D/sm because that was used in the Excel Example 1 file. However, the D/2/sm is correct. (the 1000, 3600 terms in your writeup are correct: track length was in meters, so track length / 1000 is in kilometers, and the 3600 translates KPH to KPS (kilometers per second).
Please change those two lines and re-run, and please send the solutions.
function move_cost=Move_cost(data,ladder_distance,move_info)
% INPUT is move_info, stands for one move step, origin, destination, and number of wagons % OUTPUT is time cost
move_num=size(move_info,1); move_step_cost=zeros(move_num,1);
for i=1:move_num if move_info(i,1)==0 track_time1=data.track_lengths_m(move_info(i,2)) /data.parameters.track_speed_kph/10003600; ad_const_time1=data.parameters.track_speed_kphdata.parameters.alpha_a/3600; track_time2=0; ad_const_time2=0; elseif move_info(i,2)==0 track_time1=0; ad_const_time1=0; track_time2=data.track_lengths_m(move_info(i,1))/data.parameters.track_speed_kph/10003600; ad_const_time2=data.parameters.track_speed_kphdata.parameters.alpha_d/3600; else track_time1=data.track_lengths_m(move_info(i,1))/data.parameters.track_speed_kph/10003600; ad_const_time1=data.parameters.track_speed_kphdata.parameters.alpha_a/3600; track_time2=data.track_lengths_m(move_info(i,2))/data.parameters.track_speed_kph/10003600; ad_const_time2=data.parameters.track_speed_kphdata.parameters.alpha_d/3600; end ad_var_time1=move_info(i,3)data.parameters.track_speed_kphdata.parameters.beta_a/3600; ad_var_time2=move_info(i,3)data.parameters.track_speed_kphdata.parameters.beta_d/3600; ladder_time=abs(move_info(i,1)-move_info(i,2))ladder_distance/data.parameters.ladder_speed_kph/10003600; move_step_cost(i)=ladder_time+(track_time1+ad_const_time1+ad_var_time1)+(track_time2+ad_const_time2+ad_var_time2); end
move_cost=sum(move_step_cost);
From: chongshuang2021 @.> Sent: Tuesday, September 17, 2024 12:27 PM To: MarcMeketonVillanova/2024_RAS_PSC @.> Cc: Marc Meketon @.>; Comment @.> Subject: [EXTERNAL] Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification Dear Meketon, We have processed three datasets, and the output results in the required format are included in the attachment. We set a runtime of 3 minutes and obtained feasible, high-quality solutions. Below is a summary of the results:
Please let us know if you need any further details.
-----原始邮件----- 发件人: "Marc Meketon" @.<mailto:@.>> 发送时间: 2024-09-17 18:11:04 (星期二) 收件人: MarcMeketonVillanova/2024_RAS_PSC @.<mailto:@.>> 抄送: chongshuang2021 @.<mailto:@.>>, Author @.<mailto:@.>> 主题: Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
I do not have access to MATLAB (unlike Python, Java, C#, etc., you need a license for MATLAB).
Can you run these two examples for us and report the CPU time?
From: chongshuang2021 @.<mailto:@.>> Sent: Tuesday, September 17, 2024 12:02 AM To: MarcMeketonVillanova/2024_RAS_PSC @.<mailto:@.>> Cc: Marc Meketon @.<mailto:@.>>; Comment @.<mailto:@.>> Subject: [EXTERNAL] Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.mailto:***@***.******@***.***>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification Dear Sir, We also discovered a minor issue with a parameter in our algorithm. Initially, we did not consider that the number of tracks might exceed 10. In the new version, we have adjusted its value to accommodate wide datasets. Please see the attachment. Before running our code, please rename the input file using the format as, example_xx_inputs, where xx represents the name of the dataset. I'm sorry to trouble you.
-----原始邮件----- 发件人: "Marc Meketon" @.<mailto:@.mailto:***@***.***%3cmailto:***@***.***>> 发送时间: 2024-09-17 11:53:03 (星期二) 收件人: MarcMeketonVillanova/2024_RAS_PSC @.<mailto:@.mailto:***@***.***%3cmailto:***@***.***>> 抄送: chongshuang2021 @.<mailto:@.mailto:***@***.***%3cmailto:***@***.***>>, Author @.<mailto:@.mailto:***@***.***%3cmailto:***@***.***>> 主题: Re: [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
Thank you.
I fixed that, and added a test for it in the json_schemas.ipynb.
From: chongshuang2021 @.<mailto:@.mailto:***@***.***%3cmailto:***@***.***>> Sent: Monday, September 16, 2024 8:39 PM To: MarcMeketonVillanova/2024_RAS_PSC @.<mailto:@.mailto:***@***.***%3cmailto:***@***.***>> Cc: Subscribed @.<mailto:@.mailto:***@***.***%3cmailto:***@***.***>> Subject: [EXTERNAL] [MarcMeketonVillanova/2024_RAS_PSC] input data (Issue #1)
You don't often get email from @.**@.mailto:***@***.******@***.***<mailto:***@***.******@***.***%3cmailto:***@***.******@***.***>>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Please check the input file, example_108_wagons_5_tracks.json. According to JSON syntax, there is a small mistake on line 19. At the end of the wagon occupancies on track 3, there should not be a comma, as the other tracks have no wagons.
mistake.png (view on web)https://github.com/user-attachments/assets/413852be-90f6-4be7-87f5-a1d2bb1ae816
D Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZYJJYX6GMTRZUIWSFTZW5225AVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDSNZSG44DOOA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.mailto:***@***.******@***.***<mailto:***@***.******@***.***%3cmailto:***@***.******@***.***>>> D Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.<mailto:@.mailto:***@***.***%3cmailto:***@***.***>>
Bestregards, Yours CHEN. School of Mathematics, Southwest Jiaotong University, Chengdu, Sichuan, PRC
D Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1#issuecomment-2354457944, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZ7W3BFLNMID7DCNHWDZW6STLAVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJUGQ2TOOJUGQ. You are receiving this because you commented.Message ID: @.**@.mailto:***@***.******@***.***>> ― Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.<mailto:@.>>
Bestregards, Yours CHEN. School of Mathematics, Southwest Jiaotong University, Chengdu, Sichuan, PRC
― Reply to this email directly, view it on GitHubhttps://github.com/MarcMeketonVillanova/2024_RAS_PSC/issues/1#issuecomment-2356392005, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJT7JZYFQT3WSJTN2DW62PTZXBJ45AVCNFSM6AAAAABOKLWRDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJWGM4TEMBQGU. You are receiving this because you commented.Message ID: @.**@.>>
Please check the input file, example_108_wagons_5_tracks.json. According to JSON syntax, there is a small mistake on line 19. At the end of the wagon occupancies on track 3, there should not be a comma, as the other tracks have no wagons.