ChuanyuXue / tsnkit

A scheduling and benchmark toolkit for Time-Sensitive Networking in Python
https://tsnkit.readthedocs.io
Other
37 stars 9 forks source link

It doesn't seem to be a problem with the solver with my own file. #4

Closed dkmahao closed 6 months ago

dkmahao commented 6 months ago

I encountered an issue using a file I created myself. It doesn't seem to be a problem with the solver. The attached image shows the issue I'm facing, and the attached file is the one I constructed.

2 3

0_task.csv 0_topo.csv dataset_logs.csv

ChuanyuXue commented 6 months ago

Thank you for noticing this.

Problem has been confirmed and supposed to be solved. Please reopen this if issue still exists.

➜  src git:(main) python3.9 -m tsnkit.models.cp_wa ../0_task.csv ../0_topo.csv 
| time          | name          | flag   | solve_time | total_time | total_mem 
| 21~23:56:17   | -             | succ   | 0          | 0.659      | 73.879    

➜  src git:(main) cat ../0_task.csv 
id,src,dst,size,period,deadline,jitter
0,9,[4],50,2000000,2000000,2000000
1,0,[4],50,2000000,2000000,2000000
2,0,[4],50,2000000,2000000,2000000
3,5,[9],50,2000000,2000000,2000000
4,5,[9],50,2000000,2000000,2000000
5,0,[9],50,2000000,2000000,2000000