Closed lingyun888 closed 5 months ago
Hello @lingyun888,
what do you mean with Model 3? Could you give me the command you are running and the output you receive?
command:python main.py .\testcases\TC3.2_medium.flex_network_description --mode 3 --visualize --no_security output error: I debugged the code and found that the member variables in solution_object.tc.schedule are all empty.
Hello @lingyun888,
I can't quite manage to replicate your error on my setup. Could you share your codebase? What optimization are you trying to run? I assume SA optimization, where routing & scheduling is combined?
Thank you for your reply. I forgot a little bit, there were many small issues when running SA optimization (-- model 3) in this code before, and it is possible that the current error is related to the previous error.
Hello, may I have your email
Hello @lingyun888,
you were running into these issues because the main branch was using an outdated version of the tool, which did not have the SA heuristic properly implemented yet. I have now updated the main branch to the newest version and I can run the testcase with
python main.py testcases/TC3.2_medium.flex_network_description --mode 13 --visualize --no_security --timeout_scheduling 60
Be aware that there are a lot of changes now. You can reach me via mail at nikre@dtu.dk.
Greetings Niklas
Thank you very much for your help.
When I set up Model 3, I found that the printed Found Schedule was 0. May I ask what the reason is?