Reputation: 41
The problem I want to solve is to evaluate whether the input plan is reasonable, so when I input an ordered data set, I hope Optaplanner can directly score the plan based on the constraints I configured, and let me know which constraints the current plan violates.
The current situation is that I have completed the modeling part by referring to the tsp example through Optaplanner, but when I input the data set, the result is a new solution (plan ordering), and the scores shown are also for this new solution.
Can I just score my input data instead of solving it again? I only need to know the constraint satisfaction of the input data. Looking forward to your answer, thank you very much!
Upvotes: 0
Views: 160
Reputation: 5702
Yes, you can. See OptaPlanner documentation for ScoreManager.
Upvotes: 1