'Optimisation algorithm, constraints and score calculation configurations with Optapy

I am using the Optapy library in python, and I am using the school timetabling instance on GitHub as a base. I have few questions regarding the library configurations:

  • How do I choose the optimisation algorithm (e.g. tabu search or simulated annealing)?
  • How do Optapy calculate the score of a solution? Do I have the option to change the score calculation type in python?
  • How can I decide the weights for each constraint, except hard or soft constraint?

I was looking at OptaPlanner User Guide, but I am not sure how to implement it on python.

Guidance appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source