You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do I need shadow variable? Or Predecessors task and Variable Listeners? I read the document and the projects but it was hard. I could not even write the simpliest implementation as the title mentioned.
ALso if I have Task class (id, deadline) and @PlanningEntity TaskSchedule class (where there is Task task, Date startTime, Date endTime), and @PlanningSolution will have only 2 fields: List tasks, List taskSchedules
when send post request (JSON), can I send an emty list of taskSchedules ?
{"tasks": [{"id":1, "deadline:"2024-08-08T01:30:00"},{"id":2, "deadline:"2024-08-08T05:00:00"}], "taskSchedules ":[]}
When trying testing with other projects, I do not know if I do something wrong, but I have to put values in taskSchedules, even if it only contains @PlanningVariable or else the result will be empty.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Do I need shadow variable? Or Predecessors task and Variable Listeners? I read the document and the projects but it was hard. I could not even write the simpliest implementation as the title mentioned.
ALso if I have Task class (id, deadline) and @PlanningEntity TaskSchedule class (where there is Task task, Date startTime, Date endTime), and @PlanningSolution will have only 2 fields: List tasks, List taskSchedules
when send post request (JSON), can I send an emty list of taskSchedules ?
{"tasks": [{"id":1, "deadline:"2024-08-08T01:30:00"},{"id":2, "deadline:"2024-08-08T05:00:00"}], "taskSchedules ":[]}
When trying testing with other projects, I do not know if I do something wrong, but I have to put values in taskSchedules, even if it only contains @PlanningVariable or else the result will be empty.
Beta Was this translation helpful? Give feedback.
All reactions